#include <PrimitiveElementPin.hpp>
Public Member Functions | |
const PrimitiveElement * | getElementPtr (void) const |
Returns a pointer to the primitive element that owns this pin. | |
const string & | getName (void) const |
Returns the pin name. | |
PinFlags | getFlags (void) const |
Returns the pin direction flags. | |
const PrimitiveConnSharedPtr | getPrimitiveConn (void) const |
Returns the primitive connection that includes this pin. | |
PrimitiveElementPin (void) | |
Null constructor. This constructor should only be used by containers. | |
bool | isInput (void) const |
Returns true if this pin is a primitive input. | |
bool | isOutput (void) const |
Returns true if this pin is a primitive output. | |
Protected Types | |
typedef xilinx::PinFlags | PinFlags |
Imported type name. | |
typedef std::string | string |
Imported type name. | |
Protected Member Functions | |
PrimitiveElementPin (const PrimitiveElement *inElementPtr, const std::string &inName, PinFlags inFlags) | |
Protected constructor. inElementPtr The primitive element that owns this pin. inName The pin name. inFlags The pin direction flags. | |
Protected Attributes | |
const PrimitiveElement * | mElementPtr |
The primitive element that owns this pin. | |
string | mName |
The pin name. | |
PinFlags | mFlags |
The pin direction flags. | |
const PrimitiveConnSharedPtr | mPrimitiveConn |
The primitive connection that includes this pin. | |
Friends | |
class | Sites |
The Sites class has access to our internals. | |
class | torc::architecture::architecture::PrimitiveElementPinUnitTest |
Our unit test class has access to our internals. |
Definition at line 41 of file PrimitiveElementPin.hpp.
typedef xilinx::PinFlags torc::architecture::PrimitiveElementPin::PinFlags [protected] |
typedef std::string torc::architecture::PrimitiveElementPin::string [protected] |
torc::architecture::PrimitiveElementPin::PrimitiveElementPin | ( | const PrimitiveElement * | inElementPtr, | |
const std::string & | inName, | |||
PinFlags | inFlags | |||
) | [inline, protected] |
Protected constructor. inElementPtr The primitive element that owns this pin. inName The pin name. inFlags The pin direction flags.
Definition at line 66 of file PrimitiveElementPin.hpp.
torc::architecture::PrimitiveElementPin::PrimitiveElementPin | ( | void | ) | [inline] |
Null constructor. This constructor should only be used by containers.
Definition at line 80 of file PrimitiveElementPin.hpp.
const PrimitiveElement* torc::architecture::PrimitiveElementPin::getElementPtr | ( | void | ) | const [inline] |
Returns a pointer to the primitive element that owns this pin.
Definition at line 71 of file PrimitiveElementPin.hpp.
const string& torc::architecture::PrimitiveElementPin::getName | ( | void | ) | const [inline] |
PinFlags torc::architecture::PrimitiveElementPin::getFlags | ( | void | ) | const [inline] |
const PrimitiveConnSharedPtr torc::architecture::PrimitiveElementPin::getPrimitiveConn | ( | void | ) | const [inline] |
Returns the primitive connection that includes this pin.
Definition at line 77 of file PrimitiveElementPin.hpp.
bool torc::architecture::PrimitiveElementPin::isInput | ( | void | ) | const [inline] |
Returns true if this pin is a primitive input.
Definition at line 82 of file PrimitiveElementPin.hpp.
bool torc::architecture::PrimitiveElementPin::isOutput | ( | void | ) | const [inline] |
Returns true if this pin is a primitive output.
Definition at line 84 of file PrimitiveElementPin.hpp.
friend class Sites [friend] |
friend class torc::architecture::architecture::PrimitiveElementPinUnitTest [friend] |
Our unit test class has access to our internals.
Definition at line 47 of file PrimitiveElementPin.hpp.
const PrimitiveElement* torc::architecture::PrimitiveElementPin::mElementPtr [protected] |
string torc::architecture::PrimitiveElementPin::mName [protected] |
The pin direction flags.
Definition at line 58 of file PrimitiveElementPin.hpp.
const PrimitiveConnSharedPtr torc::architecture::PrimitiveElementPin::mPrimitiveConn [protected] |
The primitive connection that includes this pin.
Definition at line 60 of file PrimitiveElementPin.hpp.