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_creator Class Reference

msg resource keeper More...

#include <msg_comm.h>

Inheritance diagram for msg_creator:

proto_creator< msg_creator, msg_cpp, size_t >

List of all members.

Public Member Functions

 msg_creator (msg_communicator *communicator)
 constructor
msg_cppcreate (size_t n)
 creator function
void destroy (msg_cpp *obj)
 destroy function

Private Attributes

msg_communicator_communicator
 pointer to communicator


Detailed Description

msg resource keeper

Definition at line 438 of file msg_comm.h.


Constructor & Destructor Documentation

msg_creator::msg_creator ( msg_communicator communicator  )  [inline]

constructor

Parameters:
communicator  pointer to communicator

Definition at line 442 of file msg_comm.h.


Member Function Documentation

msg_cpp* msg_creator::create ( size_t  n  )  [inline]

creator function

Parameters:
n  message size

Definition at line 449 of file msg_comm.h.

References _communicator, and msg_communicator::construct_msg().

void msg_creator::destroy ( msg_cpp obj  )  [inline]

destroy function

Definition at line 456 of file msg_comm.h.

References _communicator, and msg_communicator::destroy_msg().


Member Data Documentation

pointer to communicator

Definition at line 463 of file msg_comm.h.

Referenced by create(), and destroy().


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


© Copyright Terimber 2003-.