ZLayout EDA Library v1.0.0
Advanced Electronic Design Automation Layout Library with Bilingual Documentation
Loading...
Searching...
No Matches
zlayout::components::Pin Class Reference

Pin class representing component connection points. More...

#include <component.hpp>

Public Member Functions

 Pin (const std::string &name, PinType type, const geometry::Point &position)
const std::string & getName () const
PinType getType () const
const geometry::PointgetPosition () const
SignalState getSignalState () const
void setSignalState (SignalState state)
void setPosition (const geometry::Point &pos)
void connectToNet (std::shared_ptr< Net > net)
void disconnect ()
std::shared_ptr< NetgetNet () const
bool isConnected () const

Detailed Description

Pin class representing component connection points.

Definition at line 91 of file component.hpp.

Constructor & Destructor Documentation

◆ Pin()

zlayout::components::Pin::Pin ( const std::string & name,
PinType type,
const geometry::Point & position )

Member Function Documentation

◆ connectToNet()

void zlayout::components::Pin::connectToNet ( std::shared_ptr< Net > net)

◆ disconnect()

void zlayout::components::Pin::disconnect ( )

◆ getName()

const std::string & zlayout::components::Pin::getName ( ) const
inline

Definition at line 96 of file component.hpp.

◆ getNet()

std::shared_ptr< Net > zlayout::components::Pin::getNet ( ) const
inline

Definition at line 108 of file component.hpp.

◆ getPosition()

const geometry::Point & zlayout::components::Pin::getPosition ( ) const
inline

Definition at line 98 of file component.hpp.

◆ getSignalState()

SignalState zlayout::components::Pin::getSignalState ( ) const
inline

Definition at line 99 of file component.hpp.

◆ getType()

PinType zlayout::components::Pin::getType ( ) const
inline

Definition at line 97 of file component.hpp.

◆ isConnected()

bool zlayout::components::Pin::isConnected ( ) const
inline

Definition at line 109 of file component.hpp.

◆ setPosition()

void zlayout::components::Pin::setPosition ( const geometry::Point & pos)
inline

Definition at line 103 of file component.hpp.

◆ setSignalState()

void zlayout::components::Pin::setSignalState ( SignalState state)
inline

Definition at line 102 of file component.hpp.


The documentation for this class was generated from the following file: