|
gusimplewhiteboard
|
Old WB class for storing shared data. More...
#include <WBMsg.h>
Public Types | |
| enum | wb_type { TypeBool , TypeInt , TypeFloat , TypeString , TypeArray , TypeBinary , TypeEmpty } |
| Message internal Datatype Enum. More... | |
| typedef enum WBMsg::wb_type | WBType |
| Message internal Datatype Enum. More... | |
Public Member Functions | |
| WBMsg (const WBMsg &orig) | |
| WBMsg - copy constructor. More... | |
| WBMsg () | |
| WBMsg - empty constructor. More... | |
| WBMsg (bool val) | |
| WBMsg - Boolean constructor. More... | |
| WBMsg (int val) | |
| WBMsg - Integer constructor. More... | |
| WBMsg (float val) | |
| WBMsg - Float constructor. More... | |
| WBMsg (const std::string &val) | |
| WBMsg - String constructor. More... | |
| WBMsg (const char *val) | |
| WBMsg - String constructor. More... | |
| WBMsg (const void *data, int nBytes, bool needsFree=false) | |
| WBMsg - Binary data constructor. More... | |
| WBMsg (const std::vector< int > *val, bool needsFree=false) | |
| WBMsg - Vector<int> pointer constructor. More... | |
| WBMsg (const std::vector< int > &val, bool needsFree=false) | |
| WBMsg - Vector<int> constructor. More... | |
| WBType | getType () const |
| getType. More... | |
| void | setTypeName (const std::string &t) |
| setTypeName More... | |
| const std::string & | getTypeName () const |
| getTypeName More... | |
| int | getLifeSpan () const |
| getLifeSpan More... | |
| void | setLifeSpan (int life) |
| setLifeSpan More... | |
| bool | boolValue () const |
| boolValue. More... | |
| int | intValue () const |
| intValue. More... | |
| int | floatValue () const |
| floatValue. More... | |
| const std::string | stringValue () const |
| stringValue. More... | |
| bool | getBoolValue () const |
| getBoolValue. More... | |
| int | getIntValue () const |
| getIntValue. More... | |
| float | getFloatValue () const |
| getFloatValue. More... | |
| const std::string & | getStringValue () const |
| getStringValue. More... | |
| const void * | getBinaryValue () const |
| getBinaryValue. More... | |
| const std::vector< int > & | getArrayValue () const |
| getArrayValue. More... | |
| int | getSizeInBytes () const |
| getSizeInBytes. More... | |
| ~WBMsg () | |
| default destructor More... | |
| typedef enum WBMsg::wb_type WBMsg::WBType |
Message internal Datatype Enum.
Allows the user to test the datatype of the message
| enum WBMsg::wb_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
getArrayValue.
Definition at line 393 of file WBMsg.h.
References arrayVal.
Referenced by guWhiteboard::Whiteboard::addMessage().
|
inline |
getBinaryValue.
Definition at line 386 of file WBMsg.h.
References binaryVal.
Referenced by guWhiteboard::Whiteboard::addMessage().
|
inline |
getBoolValue.
Definition at line 358 of file WBMsg.h.
References boolVal.
Referenced by guWhiteboard::Whiteboard::addMessage().
|
inline |
getFloatValue.
Definition at line 372 of file WBMsg.h.
References floatVal.
Referenced by guWhiteboard::Whiteboard::addMessage().
|
inline |
getIntValue.
Definition at line 365 of file WBMsg.h.
References intVal.
Referenced by guWhiteboard::Whiteboard::addMessage().
|
inline |
getLifeSpan
Definition at line 216 of file WBMsg.h.
References GU_SIMPLE_WHITEBOARD_GENERATIONS.
|
inline |
getSizeInBytes.
Definition at line 400 of file WBMsg.h.
Referenced by guWhiteboard::Whiteboard::addMessage().
|
inline |
getStringValue.
Definition at line 379 of file WBMsg.h.
Referenced by guWhiteboard::Whiteboard::addMessage().
|
inline |
getType.
Definition at line 199 of file WBMsg.h.
Referenced by guWhiteboard::Whiteboard::addMessage().
|
inline |
|
inline |
|
inline |
|
inline |
| const std::vector<int>* WBMsg::arrayVal |
Definition at line 109 of file WBMsg.h.
Referenced by ~WBMsg(), boolValue(), floatValue(), getArrayValue(), intValue(), and stringValue().
| const void* WBMsg::binaryVal |
Definition at line 108 of file WBMsg.h.
Referenced by ~WBMsg(), getBinaryValue(), and stringValue().
| bool WBMsg::boolVal |
Definition at line 105 of file WBMsg.h.
Referenced by boolValue(), floatValue(), getBoolValue(), intValue(), and stringValue().
| float WBMsg::floatVal |
Definition at line 107 of file WBMsg.h.
Referenced by boolValue(), floatValue(), getFloatValue(), intValue(), and stringValue().
| int WBMsg::intVal |
Definition at line 106 of file WBMsg.h.
Referenced by boolValue(), floatValue(), getIntValue(), intValue(), and stringValue().