IPCNamedObjectOperations< T > Class Template Reference

Base class for the IPCNamedObject one which implements all the object operations. More...

#include <object.h>

Inheritance diagram for IPCNamedObjectOperations< T >:

IPCObjectBase< T > IPCNamedObject< T, TP > IPCNamedObject< T, ipc::single_thread > List of all members.

Public Member Functions

const std::string & name () const
const IPCPartitionpartition () const
void publish () throw ( daq::ipc::InvalidPartition, daq::ipc::InvalidObjectName )
void withdraw () throw ( daq::ipc::InvalidPartition, daq::ipc::ObjectNotFound, daq::ipc::InvalidObjectName )

Protected Member Functions

 IPCNamedObjectOperations (const IPCPartition &partition, const std::string &name, bool threaded)
 IPCNamedObjectOperations (const IPCPartition &partition, const std::string &name, const IPCNamedObjectOperations *op)

Detailed Description

template<class T>
class IPCNamedObjectOperations< T >

Base class for the IPCNamedObject one which implements all the object operations.

See also:


Member Function Documentation

template<class T>
const std::string& IPCNamedObjectOperations< T >::name (  )  const [inline]

Returns the name of this object. This name is used to address this object in the context of the partition which it belongs to.

Returns:
object's name.

template<class T>
const IPCPartition& IPCNamedObjectOperations< T >::partition (  )  const [inline]

Returns the partition which this object belongs to.

Returns:
object's partition.

template<class T>
void IPCNamedObjectOperations< T >::publish (  )  throw ( daq::ipc::InvalidPartition, daq::ipc::InvalidObjectName ) [inline]

Publishes this object to the IPC partition.

Exceptions:
daq::ipc::InvalidPartition 
daq::ipc::InvalidObjectName 

template<class T>
void IPCNamedObjectOperations< T >::withdraw (  )  throw ( daq::ipc::InvalidPartition, daq::ipc::ObjectNotFound, daq::ipc::InvalidObjectName ) [inline]

Removes the publication of this object from the IPC partition.

Exceptions:
daq::ipc::InvalidPartition 
daq::ipc::InvalidObjectName 
daq::ipc::ObjectNotFound 


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