#include <arsmessages.h>
Inheritance diagram for Ars::Message:


Public Types | |
| enum | EMessageType { UNKNOWN = 0, KEYBOARD_KEYDOWN = 1, KEYBOARD_KEYUP = 2, MOUSE_BUTTONDOWN = 3, MOUSE_BUTTONUP = 4, MOUSE_MOVE = 5, CTRL_LCLICK = 7, CTRL_RCLICK = 8, CTRL_MCLICK = 9, CTRL_VALUECHANGE = 10, CTRL_VALUECHANGING = 11, CTRL_RESIZE = 12, CTRL_TIMER = 13, APP_PAINT = 14, APP_EXIT = 15, SETUP_WINDOW = 16, LOST_FOCUS = 17, SET_FOCUS = 18, DEREG_CHILD = 19, PLAY_MPEG = 20, USER = 200 } |
Public Member Functions | |
| Message (const EMessageType MessageType, MessageClient *pdestination=0) | |
| virtual | ~Message (void) |
| Standard destructor. | |
| const EMessageType | MessageType (void) const |
| The message type of the message. | |
| MessageClient * | Destination (void) const |
| A pointer to the destination of the message (0 for no specific destination, or to broadcast to all). | |
| void | SetTarget (MessageClient *dest) |
Data Fields | |
| void * | from |
| unsigned int | line |
| std::string | file |
Private Attributes | |
| const EMessageType | messageType |
| The message type. | |
| MessageClient * | destination |
| A pointer to the message destination (0 for no specific destination, or to broadcast to all). | |
|
|
Definition at line 12 of file arsmessages.h. Referenced by MessageType().
00013 {
00014 UNKNOWN = 0,
00015 KEYBOARD_KEYDOWN = 1,
00016 KEYBOARD_KEYUP = 2,
00017 MOUSE_BUTTONDOWN = 3,
00018 MOUSE_BUTTONUP = 4,
00019 MOUSE_MOVE = 5,
00020 CTRL_LCLICK = 7,
00021 CTRL_RCLICK = 8,
00022 CTRL_MCLICK = 9,
00023 CTRL_VALUECHANGE = 10,
00024 CTRL_VALUECHANGING = 11,
00025 CTRL_RESIZE = 12,
00026 CTRL_TIMER = 13,
00027 APP_PAINT = 14,
00028 APP_EXIT = 15,
00029 SETUP_WINDOW = 16,
00030 LOST_FOCUS = 17 ,
00031 SET_FOCUS = 18 ,
00032 DEREG_CHILD = 19 ,
00033 PLAY_MPEG = 20 ,
00034 USER = 200
00035 };
|
|
||||||||||||
|
Construct a new message
Definition at line 54 of file arsmessages.h. References destination, and messageType.
00055 : messageType( MessageType ) , destination( pdestination ) {} |
|
|
Standard destructor.
Definition at line 58 of file arsmessages.h.
00058 {}
|
|
|
A pointer to the destination of the message (0 for no specific destination, or to broadcast to all).
Definition at line 64 of file arsmessages.h. References destination. Referenced by Ars::XListBox::evKeyDown(), Ars::XEditBox::evKeyDown(), Ars::XScrollBar::evMouseLClick(), Ars::XCheckBox::evMouseLClick(), Ars::XToolTip::evTimer(), Ars::XDropDown::evValueChange(), Ars::MessageServer::HandleTillRoot(), Ars::Form::HandleTillRoot(), Ars::MessageServer::LaunchMessage(), Ars::MessageServer::ProcessMessage(), Ars::Form::ProcessMessage(), and Ars::Window::wmPaint().
00064 { return destination; }
|
|
|
The message type of the message.
Definition at line 61 of file arsmessages.h. References EMessageType, and messageType. Referenced by Ars::Window::HandleMessage(), Ars::MessageClient::HandleMessage(), Ars::MessageServer::HandleTillRoot(), Ars::Form::HandleTillRoot(), Ars::MessageServer::LaunchMessage(), Ars::MessageServer::ProcessMessage(), and Ars::Form::ProcessMessage().
00061 { return messageType; }
|
|
|
Definition at line 66 of file arsmessages.h. References destination. Referenced by Ars::MessageServer::HandleTillRoot(), and Ars::Form::HandleTillRoot().
00066 { destination = dest; }
|
|
|
A pointer to the message destination (0 for no specific destination, or to broadcast to all).
Definition at line 43 of file arsmessages.h. Referenced by Destination(), Message(), and SetTarget(). |
|
|
Definition at line 49 of file arsmessages.h. Referenced by Ars::MessageServer::QueueMessage(). |
|
|
Definition at line 47 of file arsmessages.h. Referenced by Ars::MessageServer::QueueMessage(). |
|
|
Definition at line 48 of file arsmessages.h. Referenced by Ars::MessageServer::QueueMessage(). |
|
|
The message type.
Definition at line 40 of file arsmessages.h. Referenced by Message(), and MessageType(). |
1.3.3