![]() |
VR-Forces 4.3 Class Documentation
|
Instances of DtIfServerMessage are sent out when the server wants to send a status message with category, message and severity. More...

Public Types | |
| enum | MessageCategory { Unknown = 0, ScenarioGeneric, ScenarioLoad, ScenarioSave, UserDefined = 100000 } |
Public Member Functions | |
| DtIfServerMessage () | |
| default constructor | |
| virtual | ~DtIfServerMessage () |
| destructor | |
| DtIfServerMessage (const DtIfServerMessage &orig) | |
| copy constructor | |
| DtIfServerMessage & | operator= (const DtIfServerMessage &orig) |
| assignment operator | |
| virtual int | type () const |
| Returns the type of Interface Content; DtServerMessageType. | |
| virtual DtSimInterfaceContent * | clone () const |
| virtual void | setMessage (const std::string &) |
| virtual std::string | message () const |
| virtual void | setMessageCategory (MessageCategory) |
| virtual MessageCategory | messageCategory () const |
| virtual void | setSeverity (int) |
| virtual int | severity () const |
| virtual void | setExtra (int) |
| virtual int | extra () const |
| virtual int | netRepSize () const |
| virtual bool | setFromNet (const char *contentBuffer, unsigned contentSize) |
| virtual bool | setToNet () |
| virtual void | printDataToString (DtString &str) |
Static Public Member Functions | |
| static DtSimInterfaceContent * | creator () |
Protected Attributes | |
| std::string | myMessage |
| MessageCategory | myMessageCategory |
| int | mySeverity |
| int | myExtra |
| Not used currently, however, in case there is any extra information that wants to be passed along, use this value. | |
Instances of DtIfServerMessage are sent out when the server wants to send a status message with category, message and severity.
The severity is the same as the notify level (DtInfo, DtWarn, etc.). The categories are contained in this header file
| DtIfServerMessage::DtIfServerMessage | ( | ) |
default constructor
|
virtual |
destructor
| DtIfServerMessage::DtIfServerMessage | ( | const DtIfServerMessage & | orig | ) |
copy constructor
| DtIfServerMessage& DtIfServerMessage::operator= | ( | const DtIfServerMessage & | orig | ) |
assignment operator
|
virtual |
Returns the type of Interface Content; DtServerMessageType.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
Not used currently, however, in case there is any extra information that wants to be passed along, use this value.