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

#include <coGRObjColorObjMsg.h>

Inheritance diagram for grmsg::coGRObjColorObjMsg:
Inheritance graph
[legend]
Collaboration diagram for grmsg::coGRObjColorObjMsg:
Collaboration graph
[legend]

Public Member Functions

 coGRObjColorObjMsg (Mtype type, const char *obj_name, int r, int g, int b)
 
 coGRObjColorObjMsg (const char *msg)
 
int getR ()
 
int getG ()
 
int getB ()
 
- Public Member Functions inherited from grmsg::coGRObjMsg
const char * getObjName ()
 
- Public Member Functions inherited from grmsg::coGRMsg
 coGRMsg (const char *msg)
 recreate class from a message string More...
 
virtual ~coGRMsg ()
 destructor More...
 
int isValid ()
 whether recreate was succesful More...
 
virtual void print_stdout ()
 output content to stdout More...
 
Mtype getType ()
 access to private variables More...
 
const char * c_str ()
 
string getString ()
 

Private Attributes

int r_
 
int g_
 
int b_
 

Additional Inherited Members

- Public Types inherited from grmsg::coGRMsg
enum  Mtype {
  NO_TYPE = 0, REGISTER, GEO_VISIBLE, INTERACTOR_VISIBLE,
  SMOKE_VISIBLE, MOVE_INTERACTOR, INTERACTOR_USED, CREATE_VIEWPOINT,
  CREATE_DEFAULT_VIEWPOINT, SHOW_VIEWPOINT, SHOW_PRESENTATIONPOINT, CHANGE_VIEWPOINT_ID,
  CHANGE_VIEWPOINT_NAME, DELETE_VIEWPOINT, FLYMODE_TOGGLE, SET_CASE,
  SET_NAME, MOVE_OBJECT, ADD_DOCUMENT, SET_DOCUMENT_PAGE,
  SET_DOCUMENT_SCALE, SET_DOCUMENT_POSITION, SET_DOCUMENT_PAGESIZE, SEND_DOCUMENT_NUMBERS,
  DOC_VISIBLE, BOUNDARIES_OBJECT, COLOR_OBJECT, SHADER_OBJECT,
  MATERIAL_OBJECT, SET_TRANSPARENCY, KEYWORD, TRANSFORM_OBJECT,
  TRANSFORM_CASE, RESTRICT_AXIS, GRAPHIC_RESSOURCE, SET_MOVE,
  SET_MOVE_SELECTED, SENSOR, SENSOR_EVENT, ATTACHED_CLIPPLANE,
  ANIMATION_ON, ANIMATION_SPEED, ANIMATION_TIMESTEP, ACTIVATED_VIEWPOINT,
  VPCLIPPLANEMODE_TOGGLE, SNAPSHOT, SEND_CURRENT_DOCUMENT, SET_TRACKING_PARAMS,
  CHANGE_VIEWPOINT, VIEWPOINT_CHANGED, OBJECT_TRANSFORMED, SET_CONNECTIONPOINT,
  GENERIC_PARAM_REGISTER, GENERIC_PARAM_CHANGED, TRANSFORM_SGITEM, SELECT_OBJECT,
  DELETE_OBJECT, GEOMETRY_OBJECT, ADD_CHILD_OBJECT, TURNTABLE_ANIMATION,
  SET_VARIANT, SET_APPEARANCE, KINEMATICS_STATE
}
 id to specify the type of the message More...
 
- Protected Member Functions inherited from grmsg::coGRObjMsg
 coGRObjMsg (coGRMsg::Mtype type, const char *obj_name)
 
 coGRObjMsg (const char *msg)
 
virtual ~coGRObjMsg ()
 
- Protected Member Functions inherited from grmsg::coGRMsg
 coGRMsg (Mtype type)
 construct used by child class More...
 
void addToken (const char *token)
 add a token to the message More...
 
string getFirstToken ()
 read first token in the message More...
 
string extractFirstToken ()
 read and delete first token in the message More...
 
vector< stringgetAllTokens ()
 read all tokens at once More...
 
- Protected Attributes inherited from grmsg::coGRMsg
int is_valid_
 valid can be overwritten by children if their recreation was not succesful More...
 

Constructor & Destructor Documentation

GRMSGEXPORT coGRObjColorObjMsg::coGRObjColorObjMsg ( Mtype  type,
const char *  obj_name,
int  r,
int  g,
int  b 
)
GRMSGEXPORT coGRObjColorObjMsg::coGRObjColorObjMsg ( const char *  msg)

Member Function Documentation

int grmsg::coGRObjColorObjMsg::getB ( )
inline
int grmsg::coGRObjColorObjMsg::getG ( )
inline
int grmsg::coGRObjColorObjMsg::getR ( )
inline

Member Data Documentation

int grmsg::coGRObjColorObjMsg::b_
private
int grmsg::coGRObjColorObjMsg::g_
private
int grmsg::coGRObjColorObjMsg::r_
private

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