NEOCCA bindings Specification  0.2.8
ConnectionID.hh
Go to the documentation of this file.
1 #ifndef neo_ConnectionID_hh_seen
2 #define neo_ConnectionID_hh_seen
3 
4 /* A file of auxiliaries that mainly distract the new reader. */
5 
6 namespace neo {
7 namespace cca {
8 
9 
33 typedef boost::shared_ptr < ConnectionID > ConnectionID_shared;
34 
54 {
55 public:
56 
58  virtual ~ConnectionID(){}
59 
62  virtual ComponentID_shared getProvider() throw (Exception )= 0;
63 
67  virtual ComponentID_shared getUser() throw (Exception )= 0;
68 
69  virtual ::std::string getProviderPortName() throw (Exception )= 0;
70 
71  virtual ::std::string getUserPortName() throw (Exception )= 0;
72 
73 } ; // end interface ConnectionID
74 
75 
76 } // end namespace cca
77 } // end namespace neo
78 
79 #endif // neo_ConnectionID_hh_seen
virtual ~ConnectionID()
required destructor
Definition: ConnectionID.hh:58
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 getUserPortName()=0
This class extends the STL std::exception to allow the thrower to specify the message that the stl sa...
Definition: Exception.hh:48
virtual ::std::string getProviderPortName()=0
virtual ComponentID_shared getUser()=0
Recall that ComponentID_shared is also a shared_ptr type.
virtual ComponentID_shared getProvider()=0
Recall that ComponentID is also a shared_ptr type.
This interface describes a CCA connection between components.
Definition: ConnectionID.hh:53
boost::shared_ptr< ConnectionID > ConnectionID_shared
This typedef is the type everyone should use everywhere in the BuilderService and event related ports...
Definition: ConnectionID.hh:33
This is neoclassic – the ::classic::gov::cca headers updated to be similar to the official CCA speci...
Definition: neocca.hh:62