torc-master
|
Represents port element like port or port reference. More...
#include <PortElement.hpp>
Public Types | |
enum | ElementType { eElementTypePort, eElementTypePortReference } |
Public Member Functions | |
const ElementType | getType () const |
void | setType (const ElementType &inSource) |
const PortSharedPtr | getPort () const |
const PortReferenceSharedPtr | getPortReference () const |
PortElement () | |
PortElement (const PortSharedPtr &inPort) | |
PortElement (const PortReferenceSharedPtr &inPortRef) | |
PortElement (const PortElement &inRhs) | |
PortElement & | operator= (const PortElement &inRhs) |
~PortElement () throw () | |
Private Attributes | |
ElementType | mType |
PortSharedPtr | mPort |
PortReferenceSharedPtr | mPortReference |
Represents port element like port or port reference.
Definition at line 32 of file PortElement.hpp.
Port element type
Enumerator | |
---|---|
eElementTypePort | |
eElementTypePortReference |
Definition at line 38 of file PortElement.hpp.
torc::generic::PortElement::PortElement | ( | ) |
Definition at line 34 of file PortElement.cpp.
torc::generic::PortElement::PortElement | ( | const PortSharedPtr & | inPort | ) |
Definition at line 36 of file PortElement.cpp.
torc::generic::PortElement::PortElement | ( | const PortReferenceSharedPtr & | inPortRef | ) |
Definition at line 39 of file PortElement.cpp.
torc::generic::PortElement::PortElement | ( | const PortElement & | inRhs | ) |
Definition at line 42 of file PortElement.cpp.
torc::generic::PortElement::~PortElement | ( | ) | ||
throw | ( | |||
) |
Definition at line 54 of file PortElement.cpp.
|
inline |
Get the port from the composition
Definition at line 90 of file PortElement.hpp.
|
inline |
Get the port reference from the composition
Definition at line 94 of file PortElement.hpp.
|
inline |
PortElement & torc::generic::PortElement::operator= | ( | const PortElement & | inRhs | ) |
Definition at line 45 of file PortElement.cpp.
void torc::generic::PortElement::setType | ( | const ElementType & | inSource | ) |
Set the port element type
[in] | Pointer | to port element type |
Definition at line 30 of file PortElement.cpp.
|
private |
Definition at line 82 of file PortElement.hpp.
|
private |
Definition at line 83 of file PortElement.hpp.
|
private |
Definition at line 81 of file PortElement.hpp.