48 virtual int type()
const;
52 virtual void setMessage(
const std::string&);
53 virtual std::string message()
const;
55 virtual void setMessageCategory(MessageCategory);
56 virtual MessageCategory messageCategory()
const;
58 virtual void setSeverity(
int);
59 virtual int severity()
const;
61 virtual void addExtra(
const std::string&,
const std::string&);
62 const std::map<std::string, std::string>
extra()
const {
return myExtra; };
63 virtual std::string extraValue(
const std::string& key)
const;
66 virtual bool setFromNet(
const char* contentBuffer,
67 unsigned contentSize);
79 std::map<std::string, std::string>
myExtra;
MessageCategory myMessageCategory
Definition: ifServerMessage.h:76
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Definition: simInterfaceContent.h:78
virtual int netRepSize() const
Definition: simInterfaceContent.h:76
#define DT_DLL_vrfmsgs
This file is used to determine how to build.
Definition: vrfmsgsDefines.h:28
MessageCategory
Definition: ifServerMessage.h:23
virtual int type() const =0
Definition: ifServerMessage.h:28
Definition: ifServerMessage.h:27
int mySeverity
Definition: ifServerMessage.h:77
virtual void printDataToString(DtString &str)
std::map< std::string, std::string > myExtra
Definition: ifServerMessage.h:79
const DtSimInterfaceContent & operator=(const DtSimInterfaceContent &orig)
const std::map< std::string, std::string > extra() const
Definition: ifServerMessage.h:62
std::string myMessage
Definition: ifServerMessage.h:75
virtual bool setToNet()
Definition: simInterfaceContent.h:83
Definition: ifServerMessage.h:29
Definition: simInterfaceContent.h:45
Instances of DtIfServerMessage are sent out when the server wants to send a status message with categ...
Definition: ifServerMessage.h:20
Definition: ifServerMessage.h:26
virtual DtSimInterfaceContent * clone() const =0