NEOCCA bindings Specification
0.2.8
|
An opaque handle for a component. More...
#include <ComponentID.hh>
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. |
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.
virtual neo::cca::ComponentID::~ComponentID | ( | ) | [inline, virtual] |
required destructor.
{}
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.