torc::generic::PortElement Class Reference

Represents port element like port or port reference. More...

#include <PortElement.hpp>

List of all members.

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)
PortElementoperator= (const PortElement &inRhs)

Private Attributes

ElementType mType
PortSharedPtr mPort
PortReferenceSharedPtr mPortReference


Detailed Description

Represents port element like port or port reference.

Definition at line 33 of file PortElement.hpp.


Member Enumeration Documentation

Port element type

Definition at line 39 of file PortElement.hpp.


Member Function Documentation

const PortElement::ElementType torc::generic::PortElement::getType ( void   )  const throw () [inline]

Get the port element type

Returns:
port element type

Definition at line 94 of file PortElement.hpp.

void torc::generic::PortElement::setType ( const ElementType inSource  )  throw ()

Set the port element type

Parameters:
[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

Returns:
Pointer to 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

Returns:
Pointer to port reference from the composition

Definition at line 104 of file PortElement.hpp.


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

Generated on Thu Oct 13 16:50:18 2011 for TORC by  doxygen 1.5.6