24 #define strdup _strdup
26 #ifndef COGRMSG_SAFEFREE
27 #define COGRMSG_SAFEFREE(x) \
33 #endif //COGRMSG_SAFEFREE
122 return (is_valid_ == 1);
126 virtual void print_stdout();
144 void addToken(
const char *token);
147 string getFirstToken();
150 string extractFirstToken();
153 vector<string> getAllTokens();
int isValid()
whether recreate was succesful
Definition: coGRMsg.h:120
Mtype type_
Definition: coGRMsg.h:165
const char SplitToken
split message string by this token
Definition: coGRMsg.h:160
char * str_
char representation of content
Definition: coGRMsg.h:168
Definition: coGRMsg.h:103
virtual ~coGRMsg()
destructor
Definition: coGRMsg.h:113
const string MsgID
string put to the header to identify the type Gui2RenderMessage
Definition: coGRMsg.h:163
Mtype getType()
access to private variables
Definition: coGRMsg.h:129
Definition: coGRMsg.h:105
#define GRMSGEXPORT
Definition: coExport.h:337
string content_
Definition: coGRMsg.h:166
string getString()
Definition: coGRMsg.h:134
Definition: coGRMsg.h:101
Mtype
id to specify the type of the message
Definition: coGRMsg.h:42
Definition: coGRMsg.h:100
int is_valid_
valid can be overwritten by children if their recreation was not succesful
Definition: coGRMsg.h:156
GLenum type
Definition: khronos-glext.h:6279
Definition: coGRMsg.h:104
Definition: coGRMsg.h:102