Message :: Constructor

01 Constructs a Message object.
02

[C++] Message(uint32 typeId, char const *typeName);
[C#] Message(uint typeId, string typeName);

03 Parameters:
  • typeId: Integer type identification.
  • typeName: String type identification, related to typeId.
04 The parameters have to be set according to the type identification from the derived class; Which is based on its enumeration constant.
05 [C++]
MsgArchThreadStop()
  :  Message(MESSAGE_INIT_BASE(MsgIdArchThreadStop)) { }
06 [C#]
MsgArchThreadStop()
  :  base((uint)MsgIdArch.MsgIdArchThreadStop, MsgIdArch.MsgIdArchThreadStop.ToString())
07 [C++] The MESSAGE_INIT_BASE macro is defined as:
#define MESSAGE_INIT_BASE(ID) ID, #ID
08 Reference: net::semys
Implementation: Semys Architecture
See Also: Message Sub-System, Message

Goto: Main Page; This page is part of the Semys software documentation. See About: Documentation for details.