Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
MessageEvent Struct Reference
Information about message events.
More...
#include <system.h>
List of all members.
Detailed Description
This structure stores information about message events.
A message event is a command, specified by the command field, together with one of several additional pieces of information, ranging from a single byte of data to a generic pointer.
This arrangement allows for great flexibility when TVision objects need to transmit and receive messages to and from other TVision objects.
-
See also:
-
TEvent
Definition at line 294 of file system.h.
Member Data Documentation
uchar MessageEvent::infoByte
|
|
|
An unsigned byte.
Definition at line 329 of file system.h. |
char MessageEvent::infoChar
|
|
|
A signed character.
Definition at line 333 of file system.h. |
short MessageEvent::infoInt
|
|
|
A signed short.
Definition at line 325 of file system.h. |
long MessageEvent::infoLong
|
|
|
A signed long.
Definition at line 317 of file system.h. |
void* MessageEvent::infoPtr
|
|
|
A generic pointer.
I suggest you to pay attention to these fields. Use always the same type in the sender and in the receivers of the message. Otherwise you may experiment portability problems.
Definition at line 313 of file system.h. |
|
An unsigned short.
Definition at line 321 of file system.h. |
The documentation for this struct was generated from the following file:
Generated at Sat Sep 22 20:19:29 2001 for TVision by
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001