neo::cca::ComponentID Class Reference

An opaque handle for a component. More...

#include <ComponentID.hh>

List of all members.

Public Member Functions

virtual ~ComponentID ()
 required destructor.
virtual ::std::string getInstanceName ()=0 throw (Exception )
 return the name.
virtual ::std::string getSerialization ()=0 throw (Exception )
 return a framework specific serialization.
virtual bool isSameAs (ComponentID_shared cid)=0
 ComponentID identity may not be testable as a pointer comparison.


Detailed Description

An opaque handle for a component.

Noone in component-land should ever directly mention ComponentID. Use ComponentID_shared instead. Memory lifecycle: All ComponentID_shared are created by the framework and then shared liberally. All should be declared as local stack variables or stored in STL containers. NOTE classic transition: There is no toString function. Use getInstanceName() or getInstanceName().c_str() instead.


Constructor & Destructor Documentation

virtual neo::cca::ComponentID::~ComponentID (  )  [inline, virtual]

required destructor.

00050 {}


Member Function Documentation

virtual ::std::string neo::cca::ComponentID::getInstanceName (  )  throw (Exception ) [pure virtual]

return the name.

virtual ::std::string neo::cca::ComponentID::getSerialization (  )  throw (Exception ) [pure virtual]

return a framework specific serialization.

virtual bool neo::cca::ComponentID::isSameAs ( ComponentID_shared  cid  )  [pure virtual]

ComponentID identity may not be testable as a pointer comparison.

All ids originate in the framework, however.


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

Generated on Thu Mar 17 04:13:29 2011 for NEOCCA bindings Specification by  doxygen 1.5.9