IPCNamedObject< T, TP > Class Template Reference

Base class for the named IPC objects. User should declare a class which inherits from this one. Objects of the user fedined class can be registered with IPC partition and accessed from any other program via the IPCPartition::lookup(name) method. Template parameters: More...

#include <object.h>

Inheritance diagram for IPCNamedObject< T, TP >:

IPCNamedObjectOperations< T > IPCObjectBase< T > List of all members.

Protected Member Functions

 IPCNamedObject (const std::string &name)
 IPCNamedObject (const IPCPartition &partition, const std::string &name)

Detailed Description

template<class T, class TP = ipc::multi_thread>
class IPCNamedObject< T, TP >

Base class for the named IPC objects. User should declare a class which inherits from this one. Objects of the user fedined class can be registered with IPC partition and accessed from any other program via the IPCPartition::lookup(name) method. Template parameters:

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:
IPCObject


Constructor & Destructor Documentation

template<class T, class TP = ipc::multi_thread>
IPCNamedObject< T, TP >::IPCNamedObject ( const std::string &  name  )  [inline, protected]

Constructs IPC object which will belong to the default partition. In order to register this object with the given purtition one must call the IPCNamedObjectOperations::publish() method.

Parameters:
name object's name

template<class T, class TP = ipc::multi_thread>
IPCNamedObject< T, TP >::IPCNamedObject ( const IPCPartition partition,
const std::string &  name 
) [inline, protected]

Constructs IPC object in the given partition. In order to register this object with the given purtition one must call the IPCNamedObjectOperations::publish() method.

Parameters:
partition object's partition
name object's name


The documentation for this class was generated from the following file:
Generated on Tue Aug 8 17:08:22 2006 for IPC User API by  doxygen 1.4.7