CCAFFEINE  0.8.8
ComponentID.h
00001 #ifndef dc_fwk_ComponentID_h_seen
00002 #define dc_fwk_ComponentID_h_seen
00003 
00004 #include <boost/shared_ptr.hpp>
00005 #include <string>
00006 
00007 class ComponentID_impl : public virtual ccafeopq::ComponentID_Interface
00008 {
00009 private:
00010   ::std::string instanceName;
00011   ::std::string serialization;
00012   bool dead;
00013 
00014 public:
00015   ComponentID_impl(const ::std::string & instanceName, const ::std::string & serialized);
00016 
00018   virtual ~ComponentID_impl();
00019 
00025   virtual const ::std::string getInstanceName() throw ( ::ccafeopq::Exception) ;
00026 
00027 
00028   virtual const ::std::string getSerialization() throw ( ::ccafeopq::Exception) ;
00029 
00032   virtual bool isSameAs( ::ccafeopq::ComponentID_shared & cid) ;
00033 
00034 }; // end implementation of ComponentID_Interface
00035 
00036 typedef boost::shared_ptr<ComponentID_impl> ComponentID; // FIXME
00037 
00038 #endif // dc_fwk_ComponentID_h_seen