torc::architecture::PrimitiveElementPin Class Reference

Encapsulation of a primitive element pin's name, flags, and element pointer. Primitive element pins are sub-site inputs or outputs. More...

#include <PrimitiveElementPin.hpp>

Inheritance diagram for torc::architecture::PrimitiveElementPin:

Inheritance graph
[legend]
Collaboration diagram for torc::architecture::PrimitiveElementPin:

Collaboration graph
[legend]

List of all members.

Public Member Functions

const PrimitiveElementgetElementPtr (void) const
 Returns a pointer to the primitive element that owns this pin.
const stringgetName (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 PrimitiveElementmElementPtr
 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.


Detailed Description

Encapsulation of a primitive element pin's name, flags, and element pointer. Primitive element pins are sub-site inputs or outputs.

Definition at line 41 of file PrimitiveElementPin.hpp.


Member Typedef Documentation

Imported type name.

Definition at line 49 of file PrimitiveElementPin.hpp.

typedef std::string torc::architecture::PrimitiveElementPin::string [protected]

Imported type name.

Definition at line 50 of file PrimitiveElementPin.hpp.


Constructor & Destructor Documentation

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.


Member Function Documentation

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]

Returns the pin name.

Definition at line 73 of file PrimitiveElementPin.hpp.

PinFlags torc::architecture::PrimitiveElementPin::getFlags ( void   )  const [inline]

Returns the pin direction flags.

Definition at line 75 of file PrimitiveElementPin.hpp.

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.


Friends And Related Function Documentation

friend class Sites [friend]

The Sites class has access to our internals.

Definition at line 45 of file PrimitiveElementPin.hpp.

friend class torc::architecture::architecture::PrimitiveElementPinUnitTest [friend]

Our unit test class has access to our internals.

Definition at line 47 of file PrimitiveElementPin.hpp.


Member Data Documentation

The primitive element that owns this pin.

Definition at line 53 of file PrimitiveElementPin.hpp.

The pin name.

Definition at line 55 of file PrimitiveElementPin.hpp.

The pin direction flags.

See also:
PinDirection.

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.


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

Generated on Thu Oct 13 16:49:34 2011 for TORC by  doxygen 1.5.6