IPCObject< T, TP > Class Template Reference
Base class for the anonymous IPC objects. User should declare a class which inherits from this one. Objects of the user fedined class will be able to get external requests but they can not be registered with IPC partitions and are normally passed to other programs via application specific IDL interface calls. The most common usage of such objects is for implementating the subscribe/callback pattern. Template parameters:
- class T is a class which implements a certain interface which has been defined in IDL file. This class is generated by the IDL2C++ compiler.
- class TP (Threading Policy) - this class defines how the requests which are received by this object via the interface defined in the IDL file will be executed. The possibilities are:
More...
#include <object.h>
Inheritance diagram for IPCObject< T, TP >:
List of all members.
Detailed Description
template<class T, class TP = ipc::multi_thread>
class IPCObject< T, TP >
Base class for the anonymous IPC objects. User should declare a class which inherits from this one. Objects of the user fedined class will be able to get external requests but they can not be registered with IPC partitions and are normally passed to other programs via application specific IDL interface calls. The most common usage of such objects is for implementating the subscribe/callback pattern. Template parameters:
- class T is a class which implements a certain interface which has been defined in IDL file. This class is generated by the IDL2C++ compiler.
- class TP (Threading Policy) - this class defines how the requests which are received by this object via the interface defined in the IDL file will be executed. The possibilities are:
- Attention:
- Object of any class which inherits from this one must be allocated on heap using the new operator and must be destroyed via calling the _destroy() function. The delete operator must never be used for that purpose.
- See also:
- IPCNamedObject
The documentation for this class was generated from the following file:
- /afs/cern.ch/user/k/kolos/working/online/ipc/ipc/object.h
Generated on Tue Aug 8 17:08:23 2006 for IPC User API by
1.4.7