#include <PortElement.hpp>
Public Types | |
enum | ElementType { eElementTypePort, eElementTypePortReference } |
Public Member Functions | |
const ElementType | getType () const throw () |
void | setType (const ElementType &inSource) throw () |
const PortSharedPtr | getPort () const throw () |
const PortReferenceSharedPtr | getPortReference () const throw () |
PortElement (const PortSharedPtr &inPort) | |
PortElement (const PortReferenceSharedPtr &inPortRef) | |
PortElement (const PortElement &inRhs) | |
PortElement & | operator= (const PortElement &inRhs) |
Private Attributes | |
ElementType | mType |
PortSharedPtr | mPort |
PortReferenceSharedPtr | mPortReference |
Definition at line 33 of file PortElement.hpp.
Port element type
Definition at line 39 of file PortElement.hpp.
const PortElement::ElementType torc::generic::PortElement::getType | ( | void | ) | const throw () [inline] |
void torc::generic::PortElement::setType | ( | const ElementType & | inSource | ) | throw () |
Set the port element type
[in] | Pointer | to port element type |
Definition at line 32 of file PortElement.cpp.
const PortSharedPtr torc::generic::PortElement::getPort | ( | ) | const throw () [inline] |
Get the port from the composition
Definition at line 99 of file PortElement.hpp.
const PortReferenceSharedPtr torc::generic::PortElement::getPortReference | ( | ) | const throw () [inline] |
Get the port reference from the composition
Definition at line 104 of file PortElement.hpp.