Enum MessageType

File: src/applications/myapplication/MyMessage.msg

first, we declare an enum to tell the message types apart:

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Source code:

// first, we declare an enum to tell the message types apart:
enum MessageType
{

    MYMSG_PING = 1;           // outgoing message
    MYMSG_PONG = 2;           // returning message
}