Thread portable class


Gate portable class


Timer class


Pool class


Terimber 2.0


About C++


Downloads Products & Services Support Clients Open Source About



Home / Open source / Terimber 2.0

msg_wait_reply Class Reference

implements the message reply keeper for synchronous send More...

#include <msg_user.h>

List of all members.

Public Member Functions

 msg_wait_reply (event *event_)
 constructor
 ~msg_wait_reply ()
 destructor
void set_reply (msg_cpp *msg_)
 sets the incoming reply assigns pointer and fire event
msg_cppget_reply ()
 returns stored reply and clear the stored pointer

Private Attributes

event_event
 keeps the pointer to the event object
msg_cpp_reply
 keeps the pointer to the reply message


Detailed Description

implements the message reply keeper for synchronous send

Definition at line 39 of file msg_user.h.


Constructor & Destructor Documentation

msg_wait_reply::msg_wait_reply ( event event_  ) 

constructor

Parameters:
event_  event pointer

Definition at line 50 of file msg_user.cpp.

References _event.

msg_wait_reply::~msg_wait_reply (  )  [inline]

destructor

Definition at line 46 of file msg_user.h.


Member Function Documentation

void msg_wait_reply::set_reply ( msg_cpp msg_  )  [inline]

sets the incoming reply assigns pointer and fire event

Parameters:
msg_  message pointer

Definition at line 54 of file msg_user.h.

References _event, _reply, and event::signal().

msg_cpp* msg_wait_reply::get_reply (  )  [inline]

returns stored reply and clear the stored pointer

Definition at line 66 of file msg_user.h.

References _reply.


Member Data Documentation

keeps the pointer to the event object

Definition at line 76 of file msg_user.h.

Referenced by msg_wait_reply(), and set_reply().

keeps the pointer to the reply message

Definition at line 77 of file msg_user.h.

Referenced by get_reply(), and set_reply().


The documentation for this class was generated from the following files:


© Copyright Terimber 2003-.