Design Pattern Examples
Overview of object-oriented design patterns
Message Struct Reference

Represents a message sent to the windows. A message contains a type and a position. More...

#include <HandlerChain_Message.h>

Collaboration diagram for Message:
Collaboration graph

Public Attributes

MessageType MessageType
 Value from the MessageType enumeration indicating the type of this message.
 
MessagePosition Position
 Position of message when the message was sent. In a real system, this would generally represent the position of a cursor at the time the message was generated.
 

Detailed Description

Represents a message sent to the windows. A message contains a type and a position.

Definition at line 90 of file HandlerChain_Message.h.

Member Data Documentation

◆ MessageType

Value from the MessageType enumeration indicating the type of this message.

Definition at line 95 of file HandlerChain_Message.h.

Referenced by Message_Initialize(), Message_ToString(), MessageWindow_ProcessMessage(), and ToString().

◆ Position

MessagePosition Position

Position of message when the message was sent. In a real system, this would generally represent the position of a cursor at the time the message was generated.

Definition at line 102 of file HandlerChain_Message.h.

Referenced by _HandleButtonDownMessage(), _HandleButtonUpMessage(), Message_Initialize(), Message_ToString(), and ToString().


The documentation for this struct was generated from the following file: