#include <Port.hpp>
Public Member Functions | |
const InstanceWeakPtr & | getInstancePtr (void) const |
Returns a weak instance pointer. | |
const PinName & | getPinName (void) const |
Returns the pin name. | |
bool | operator== (const Port &rhs) const |
Equality operator. | |
Protected Types | |
typedef std::string | string |
Imported type name. | |
Protected Member Functions | |
Port (const string &inName, InstanceSharedPtr inInstancePtr, const string &inPinName) | |
Protected constructor. | |
Protected Attributes | |
InstanceWeakPtr | mInstancePtr |
The port instance pointer. | |
PinName | mPinName |
The port pin name. | |
Friends | |
class | Factory |
The Factory class has direct access to our internals. |
This class declares a named port for the enclosing module.
Definition at line 37 of file Port.hpp.
typedef std::string torc::physical::Port::string [protected] |
torc::physical::Port::Port | ( | const string & | inName, | |
InstanceSharedPtr | inInstancePtr, | |||
const string & | inPinName | |||
) | [inline, protected] |
const InstanceWeakPtr& torc::physical::Port::getInstancePtr | ( | void | ) | const [inline] |
const PinName& torc::physical::Port::getPinName | ( | void | ) | const [inline] |
bool torc::physical::Port::operator== | ( | const Port & | rhs | ) | const [inline] |
friend class Factory [friend] |
InstanceWeakPtr torc::physical::Port::mInstancePtr [protected] |
PinName torc::physical::Port::mPinName [protected] |