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

#include <coGRObjShaderObjMsg.h>

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

Public Member Functions

 coGRObjShaderObjMsg (Mtype type, const char *obj_name, const char *shader_name, const char *paraFloat, const char *paraVec2, const char *paraVec3, const char *paraVec4, const char *paraInt, const char *paraBool, const char *paraMat2, const char *paraMat3, const char *paraMat4)
 
 coGRObjShaderObjMsg (const char *msg)
 
virtual ~coGRObjShaderObjMsg ()
 
const char * getShaderName ()
 
const char * getParaFloatName ()
 
const char * getParaVec2Name ()
 
const char * getParaVec3Name ()
 
const char * getParaVec4Name ()
 
const char * getParaIntName ()
 
const char * getParaBoolName ()
 
const char * getParaMat2Name ()
 
const char * getParaMat3Name ()
 
const char * getParaMat4Name ()
 
- 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

char * shaderName_
 
char * paraFloat_
 
char * paraVec2_
 
char * paraVec3_
 
char * paraVec4_
 
char * paraInt_
 
char * paraBool_
 
char * paraMat2_
 
char * paraMat3_
 
char * paraMat4_
 

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 coGRObjShaderObjMsg::coGRObjShaderObjMsg ( Mtype  type,
const char *  obj_name,
const char *  shader_name,
const char *  paraFloat,
const char *  paraVec2,
const char *  paraVec3,
const char *  paraVec4,
const char *  paraInt,
const char *  paraBool,
const char *  paraMat2,
const char *  paraMat3,
const char *  paraMat4 
)
GRMSGEXPORT coGRObjShaderObjMsg::coGRObjShaderObjMsg ( const char *  msg)
GRMSGEXPORT coGRObjShaderObjMsg::~coGRObjShaderObjMsg ( )
virtual

Member Function Documentation

const char* grmsg::coGRObjShaderObjMsg::getParaBoolName ( )
inline
const char* grmsg::coGRObjShaderObjMsg::getParaFloatName ( )
inline
const char* grmsg::coGRObjShaderObjMsg::getParaIntName ( )
inline
const char* grmsg::coGRObjShaderObjMsg::getParaMat2Name ( )
inline
const char* grmsg::coGRObjShaderObjMsg::getParaMat3Name ( )
inline
const char* grmsg::coGRObjShaderObjMsg::getParaMat4Name ( )
inline
const char* grmsg::coGRObjShaderObjMsg::getParaVec2Name ( )
inline
const char* grmsg::coGRObjShaderObjMsg::getParaVec3Name ( )
inline
const char* grmsg::coGRObjShaderObjMsg::getParaVec4Name ( )
inline
const char* grmsg::coGRObjShaderObjMsg::getShaderName ( )
inline

Member Data Documentation

char* grmsg::coGRObjShaderObjMsg::paraBool_
private
char* grmsg::coGRObjShaderObjMsg::paraFloat_
private
char* grmsg::coGRObjShaderObjMsg::paraInt_
private
char* grmsg::coGRObjShaderObjMsg::paraMat2_
private
char* grmsg::coGRObjShaderObjMsg::paraMat3_
private
char* grmsg::coGRObjShaderObjMsg::paraMat4_
private
char* grmsg::coGRObjShaderObjMsg::paraVec2_
private
char* grmsg::coGRObjShaderObjMsg::paraVec3_
private
char* grmsg::coGRObjShaderObjMsg::paraVec4_
private
char* grmsg::coGRObjShaderObjMsg::shaderName_
private

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