Main Page | Modules | Namespace List | Class Hierarchy | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals

alp::ipc::Message Class Reference

#include <include/hiker/prv/IpcMessage.h>


Public Types

enum  PackMode { none, send, receive }

Public Member Functions

 Message ()
 Message (AlpMessage *msg)
 Message (int what)
 Message (const Message &rhs)
 ~Message ()
Messageoperator= (const Message &)
alp_status_t Status () const
PackMode Mode () const
int What () const
alp_status_t AddInt32 (int32_t i)
alp_status_t AddUInt32 (uint32_t i)
alp_status_t AddBool (bool b)
alp_status_t AddFloat (float f)
alp_status_t AddString (const char *s)
alp_status_t AddString (const std::string &s)
alp_status_t AddString (const alp::string &s)
alp_status_t AddByteArray (const unsigned char *a, uint32_t len)
alp_status_t GetInt32 (int32_t &i)
alp_status_t GetUInt32 (uint32_t &i)
alp_status_t GetBool (bool &b)
alp_status_t GetFloat (float &f)
alp_status_t GetString (char *&s)
alp_status_t GetString (std::string &s)
alp_status_t GetString (alp::string &s)
alp_status_t GetByteArray (unsigned char *&a, uint32_t &len)

Friends

class Server
class Client


Member Enumeration Documentation

enum alp::ipc::Message::PackMode
 

Enumerator:
none 
send 
receive 


Constructor & Destructor Documentation

alp::ipc::Message::Message  ) 
 

alp::ipc::Message::Message AlpMessage msg  ) 
 

alp::ipc::Message::Message int  what  ) 
 

alp::ipc::Message::Message const Message rhs  ) 
 

alp::ipc::Message::~Message  ) 
 


Member Function Documentation

alp_status_t alp::ipc::Message::AddBool bool  b  ) 
 

alp_status_t alp::ipc::Message::AddByteArray const unsigned char *  a,
uint32_t  len
 

alp_status_t alp::ipc::Message::AddFloat float  f  ) 
 

alp_status_t alp::ipc::Message::AddInt32 int32_t  i  ) 
 

alp_status_t alp::ipc::Message::AddString const alp::string s  ) 
 

alp_status_t alp::ipc::Message::AddString const std::string &  s  ) 
 

alp_status_t alp::ipc::Message::AddString const char *  s  ) 
 

alp_status_t alp::ipc::Message::AddUInt32 uint32_t  i  ) 
 

alp_status_t alp::ipc::Message::GetBool bool &  b  ) 
 

alp_status_t alp::ipc::Message::GetByteArray unsigned char *&  a,
uint32_t &  len
 

alp_status_t alp::ipc::Message::GetFloat float &  f  ) 
 

alp_status_t alp::ipc::Message::GetInt32 int32_t &  i  ) 
 

alp_status_t alp::ipc::Message::GetString alp::string s  ) 
 

alp_status_t alp::ipc::Message::GetString std::string &  s  ) 
 

alp_status_t alp::ipc::Message::GetString char *&  s  ) 
 

alp_status_t alp::ipc::Message::GetUInt32 uint32_t &  i  ) 
 

PackMode alp::ipc::Message::Mode  )  const [inline]
 

Message& alp::ipc::Message::operator= const Message  ) 
 

alp_status_t alp::ipc::Message::Status  )  const [inline]
 

int alp::ipc::Message::What  )  const [inline]
 


Friends And Related Function Documentation

friend class Client [friend]
 

friend class Server [friend]
 


The documentation for this class was generated from the following file:
Generated on Sat Dec 16 20:29:50 2006 for hiker-0.9 by  doxygen 1.4.4