NEOCCA bindings Specification  0.2.8
ComponentID.hh
Go to the documentation of this file.
1 #ifndef neo_ComponentID_hh_seen
2 #define neo_ComponentID_hh_seen
3 
4 /* A file of auxiliaries that mainly distract the new reader. */
5 
6 namespace neo {
7 namespace cca {
8 
33 typedef boost::shared_ptr < ComponentID > ComponentID_shared;
34 
46 {
47 public:
48 
50  virtual ~ComponentID(){}
51 
53  virtual ::std::string getInstanceName() throw (Exception )= 0;
54 
56  virtual ::std::string getSerialization() throw (Exception )= 0;
57 
61  virtual bool isSameAs(ComponentID_shared cid)= 0;
62 
63 }; // end interface ComponentID
64 
65 //===================================================================
66 
67 } // end namespace cca
68 } // end namespace neo
69 
70 #endif // neo_ComponentID_hh_seen
boost::shared_ptr< ComponentID > ComponentID_shared
This typedef is the type everyone should use everywhere in the BuilderService and event related ports...
Definition: ComponentID.hh:33
virtual ::std::string getInstanceName()=0
return the name.
virtual ~ComponentID()
required destructor.
Definition: ComponentID.hh:50
An opaque handle for a component.
Definition: ComponentID.hh:45
This class extends the STL std::exception to allow the thrower to specify the message that the stl sa...
Definition: Exception.hh:48
virtual bool isSameAs(ComponentID_shared cid)=0
ComponentID identity may not be testable as a pointer comparison.
virtual ::std::string getSerialization()=0
return a framework specific serialization.
This is neoclassic – the ::classic::gov::cca headers updated to be similar to the official CCA speci...
Definition: neocca.hh:62