torc::physical::Element Class Reference

Element composed of connections and pins. More...

#include <Element.hpp>

Inheritance diagram for torc::physical::Element:

Inheritance graph
[legend]
Collaboration diagram for torc::physical::Element:

Collaboration graph
[legend]

List of all members.

Public Types

typedef
ConnectionSharedPtrVector::const_iterator 
ConnectionSharedPtrConstIterator
typedef
ConnectionSharedPtrVector::iterator 
ConnectionSharedPtrIterator
typedef
ConfigVector::const_iterator 
ConfigConstIterator
typedef ConfigVector::iterator ConfigIterator

Public Member Functions

bool addConnection (ConnectionSharedPtr &inConnectionPtr)
bool removeConnection (ConnectionSharedPtr &inConnectionPtr)
bool removeConnection (ConnectionSharedPtrIterator inConnectionIter)
ConnectionSharedPtrConstIterator connectionsBegin (void) const
ConnectionSharedPtrConstIterator connectionsEnd (void) const
ConnectionSharedPtrIterator connectionsBegin (void)
ConnectionSharedPtrIterator connectionsEnd (void)
size_t getConnectionCount (void) const
bool addConfig (string &inConfigPtr)
bool removeConfig (string &inConfigPtr)
ConfigConstIterator confsBegin (void) const
ConfigConstIterator confsEnd (void) const
ConfigIterator confsBegin (void)
ConfigIterator confsEnd (void)
size_t getConfigCount (void) const

Protected Member Functions

 Element (const string &inName)
 Constructor.

Protected Attributes

ConnectionSharedPtrVector mConnections
ConfigVector mConfigs

Friends

class RcFactory
 The Factory class has direct access to our internals.


Detailed Description

Element composed of connections and pins.

This class implements everything for XDLRC elements.

Definition at line 41 of file Element.hpp.


Constructor & Destructor Documentation

torc::physical::Element::Element ( const string inName  )  [inline, protected]

Constructor.

Definition at line 51 of file Element.hpp.


Member Function Documentation

bool torc::physical::Element::addConnection ( ConnectionSharedPtr inConnectionPtr  )  [inline]

Todo:
Acquire mutex.

Todo:
Release mutex.

Definition at line 61 of file Element.hpp.

bool torc::physical::Element::removeConnection ( ConnectionSharedPtr inConnectionPtr  )  [inline]

Todo:
Acquire mutex.

Todo:
Release mutex.

Definition at line 67 of file Element.hpp.

bool torc::physical::Element::removeConnection ( ConnectionSharedPtrIterator  inConnectionIter  )  [inline]

Todo:
Acquire mutex.

Todo:
Release mutex.

Definition at line 77 of file Element.hpp.

bool torc::physical::Element::addConfig ( string inConfigPtr  )  [inline]

Todo:
Acquire mutex.

Todo:
Release mutex.

Definition at line 92 of file Element.hpp.

bool torc::physical::Element::removeConfig ( string inConfigPtr  )  [inline]

Todo:
Acquire mutex.

Todo:
Release mutex.

Definition at line 101 of file Element.hpp.


Friends And Related Function Documentation

friend class RcFactory [friend]

The Factory class has direct access to our internals.

Definition at line 44 of file Element.hpp.


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

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