COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Types | Public Member Functions | Public Attributes | Private Attributes | List of all members
covise::Message Class Reference

#include <message.h>

Inheritance diagram for covise::Message:
Inheritance graph
[legend]
Collaboration diagram for covise::Message:
Collaboration graph
[legend]

Public Types

enum  Type {
  EMPTY = -1, HOSTID = 81, SOCKET_CLOSED = 84, CLOSE_SOCKET = 31,
  STDINOUT_EMPTY = 54, UI = 6, RENDER = 45
}
 
enum  SenderType { UNDEFINED = 0, STDINOUT = 9 }
 

Public Member Functions

 Message ()
 
 Message (TokenBuffer *)
 
 Message (TokenBuffer &)
 
 Message (Connection *c)
 
 send_type (Message::UNDEFINED)
 
 type (message_type)
 
 length (0)
 
 data (NULL)
 
 conn (NULL)
 
 mustDelete (true)
 
 Message (int message_type, const char *d, int cp)
 
 Message (int message_type, int l, char *d, int cp=MSG_COPY)
 
 Message (const Message &)
 
 ~Message ()
 
Messageoperator= (const Message &)
 
void delete_data ()
 
char * extract_data ()
 
void print ()
 

Public Attributes

int sender
 
int send_type
 
int type
 
int length
 
char * data
 
Connectionconn
 
 __pad0__: sender(-1)
 

Private Attributes

bool mustDelete
 

Member Enumeration Documentation

Enumerator
UNDEFINED 
STDINOUT 
Enumerator
EMPTY 
HOSTID 
SOCKET_CLOSED 
CLOSE_SOCKET 
STDINOUT_EMPTY 
UI 
RENDER 

Constructor & Destructor Documentation

covise::Message::Message ( )
inline
Message::Message ( TokenBuffer t)
Message::Message ( TokenBuffer t)
covise::Message::Message ( Connection c)
inline
covise::Message::Message ( int  message_type,
const char *  d,
int  cp 
)
inline
covise::Message::Message ( int  message_type,
int  l,
char *  d,
int  cp = MSG_COPY 
)
inline
Message::Message ( const Message src)
covise::Message::~Message ( )
inline

Member Function Documentation

covise::Message::conn ( NULL  )
covise::Message::data ( NULL  )
void covise::Message::delete_data ( )
inline
char * Message::extract_data ( )
covise::Message::length ( )
covise::Message::mustDelete ( true  )
inline
Message & Message::operator= ( const Message src)
void Message::print ( void  )
covise::Message::send_type ( Message::UNDEFINED  )
covise::Message::type ( message_type  )

Member Data Documentation

covise::Message::__pad0__
Connection* covise::Message::conn
char* covise::Message::data
int covise::Message::length
bool covise::Message::mustDelete
private
int covise::Message::send_type
int covise::Message::sender
int covise::Message::type

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