Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages | Examples

ReplyQueue< T, > Class Template Reference

#include <ReplyQueue.h>

Inheritance diagram for ReplyQueue< T, >:

Inheritance graph
[legend]
List of all members.

template<class T, ACE_SYNCH_DECL>
class ReplyQueue< T, >


Public Member Functions

 ReplyQueue (ACE_SYNCH_MUTEX_T &myMutex)
 ~ReplyQueue ()
int Close (bool acquireMutex=true)
int Close_i ()
bool IsEmpty (bool acquireMutex=false)
bool IsEmpty_i ()
int GetReply (T &theReply, const ACE_Time_Value *deadline, bool acquireMutex=false)
int GetReply_i (T &theReply, const ACE_Time_Value *deadline)
int GetReply (T &theReply, bool acquireMutex=false)
int GetReply_i (T &theReply)
int SetReply (T &theReply, bool acquireMutex=true)
int SetReply_i (T &theReply)
T & Assign_i (T &from, T &to)
ACE_SYNCH_MUTEX_T & GetMutex ()

Protected Types

typedef PendingReply< T, ACE_SYNCH_USE > PENDING_REPLY
typedef std::list< PENDING_REPLY * > QUEUE_TYPE

Protected Attributes

QUEUE_TYPE m_replyQueue
ACE_SYNCH_MUTEX_T & m_replyQueueMutex
bool m_closed

Member Typedef Documentation

template<class T, ACE_SYNCH_DECL >
typedef PendingReply<T, ACE_SYNCH_USE> ReplyQueue< T, >::PENDING_REPLY [protected]
 

Definition at line 237 of file ReplyQueue.h.

Referenced by ReplyQueue< T, >::GetReply_i(), and ReplyQueue< T, >::SetReply_i().

template<class T, ACE_SYNCH_DECL >
typedef std::list<PENDING_REPLY *> ReplyQueue< T, >::QUEUE_TYPE [protected]
 

Definition at line 240 of file ReplyQueue.h.


Constructor & Destructor Documentation

template<class T, ACE_SYNCH_DECL >
ReplyQueue< T, >::ReplyQueue ACE_SYNCH_MUTEX_T &  myMutex  ) 
 

Definition at line 310 of file ReplyQueue.h.

template<class T, ACE_SYNCH_DECL >
ReplyQueue< T, >::~ReplyQueue  ) 
 

Definition at line 318 of file ReplyQueue.h.

References ReplyQueue< T, >::Close_i().


Member Function Documentation

template<class T, ACE_SYNCH_DECL >
T& ReplyQueue< T, >::Assign_i T &  from,
T &  to
[inline]
 

Definition at line 225 of file ReplyQueue.h.

Referenced by ReplyQueue< T, >::SetReply_i().

template<class T, ACE_SYNCH_DECL >
int ReplyQueue< T, >::Close bool  acquireMutex = true  ) 
 

Definition at line 326 of file ReplyQueue.h.

References ReplyQueue< T, >::Close_i(), and ReplyQueue< T, >::m_replyQueueMutex.

template<class T, ACE_SYNCH_DECL >
int ReplyQueue< T, >::Close_i  )  [inline]
 

Definition at line 341 of file ReplyQueue.h.

References ReplyQueue< T, >::m_closed, and ReplyQueue< T, >::m_replyQueue.

Referenced by ReplyQueue< T, >::Close(), and ReplyQueue< T, >::~ReplyQueue().

template<class T, ACE_SYNCH_DECL >
ACE_SYNCH_MUTEX_T& ReplyQueue< T, >::GetMutex  )  [inline]
 

Definition at line 230 of file ReplyQueue.h.

Referenced by AddressClient::handle_input(), and AddressClient::SendCommand().

template<class T, ACE_SYNCH_DECL >
int ReplyQueue< T, >::GetReply T &  theReply,
bool  acquireMutex = false
 

Definition at line 498 of file ReplyQueue.h.

References ReplyQueue< T, >::GetReply_i(), and ReplyQueue< T, >::m_replyQueueMutex.

template<class T, ACE_SYNCH_DECL >
int ReplyQueue< T, >::GetReply T &  theReply,
const ACE_Time_Value *  deadline,
bool  acquireMutex = false
 

Definition at line 414 of file ReplyQueue.h.

References ReplyQueue< T, >::GetReply_i(), and ReplyQueue< T, >::m_replyQueueMutex.

template<class T, ACE_SYNCH_DECL >
int ReplyQueue< T, >::GetReply_i T &  theReply  )  [inline]
 

Definition at line 519 of file ReplyQueue.h.

References PendingReply< T, >::m_condition, PendingReply< T, >::m_isEnqueued, ReplyQueue< T, >::m_replyQueue, ReplyQueue< T, >::m_replyQueueMutex, and ReplyQueue< T, >::PENDING_REPLY.

template<class T, ACE_SYNCH_DECL >
int ReplyQueue< T, >::GetReply_i T &  theReply,
const ACE_Time_Value *  deadline
[inline]
 

Definition at line 435 of file ReplyQueue.h.

References PendingReply< T, >::m_condition, PendingReply< T, >::m_isEnqueued, ReplyQueue< T, >::m_replyQueue, ReplyQueue< T, >::m_replyQueueMutex, and ReplyQueue< T, >::PENDING_REPLY.

Referenced by ReplyQueue< T, >::GetReply(), and AddressClient::SendCommand().

template<class T, ACE_SYNCH_DECL >
bool ReplyQueue< T, >::IsEmpty bool  acquireMutex = false  ) 
 

Definition at line 384 of file ReplyQueue.h.

References ReplyQueue< T, >::IsEmpty_i(), and ReplyQueue< T, >::m_replyQueueMutex.

template<class T, ACE_SYNCH_DECL >
bool ReplyQueue< T, >::IsEmpty_i  )  [inline]
 

Definition at line 406 of file ReplyQueue.h.

References ReplyQueue< T, >::m_replyQueue.

Referenced by AddressClient::handle_input(), and ReplyQueue< T, >::IsEmpty().

template<class T, ACE_SYNCH_DECL >
int ReplyQueue< T, >::SetReply T &  theReply,
bool  acquireMutex = true
 

Definition at line 579 of file ReplyQueue.h.

References ReplyQueue< T, >::m_replyQueueMutex, and ReplyQueue< T, >::SetReply_i().

template<class T, ACE_SYNCH_DECL >
int ReplyQueue< T, >::SetReply_i T &  theReply  )  [inline]
 

Definition at line 600 of file ReplyQueue.h.

References ReplyQueue< T, >::Assign_i(), PendingReply< T, >::m_condition, PendingReply< T, >::m_isEnqueued, ReplyQueue< T, >::m_replyQueue, PendingReply< T, >::m_theReply, and ReplyQueue< T, >::PENDING_REPLY.

Referenced by AddressClient::handle_input(), and ReplyQueue< T, >::SetReply().


Member Data Documentation

template<class T, ACE_SYNCH_DECL >
bool ReplyQueue< T, >::m_closed [protected]
 

Definition at line 254 of file ReplyQueue.h.

Referenced by ReplyQueue< T, >::Close_i().

template<class T, ACE_SYNCH_DECL >
QUEUE_TYPE ReplyQueue< T, >::m_replyQueue [protected]
 

Definition at line 244 of file ReplyQueue.h.

Referenced by ReplyQueue< T, >::Close_i(), ReplyQueue< T, >::GetReply_i(), ReplyQueue< T, >::IsEmpty_i(), and ReplyQueue< T, >::SetReply_i().

template<class T, ACE_SYNCH_DECL >
ACE_SYNCH_MUTEX_T& ReplyQueue< T, >::m_replyQueueMutex [protected]
 

Definition at line 250 of file ReplyQueue.h.

Referenced by ReplyQueue< T, >::Close(), ReplyQueue< T, >::GetReply(), ReplyQueue< T, >::GetReply_i(), ReplyQueue< T, >::IsEmpty(), and ReplyQueue< T, >::SetReply().


The documentation for this class was generated from the following file:
Generated on Wed Sep 5 12:54:42 2007 for DSACSS Operational Code by  doxygen 1.3.9.1