Classes
core/vgui/vgui_message.h File Reference

Used to send messages from observables to observers. More...

Go to the source code of this file.

Classes

class  vgui_message
 Used to send messages from observables to observers. More...

Detailed Description

Used to send messages from observables to observers.

Author:
fsm
    Modifications
     pcp - I removed the type and user fields and replaced them with
        a vcl_string. this is because I think the types of message that
        will be sent are much more diverse than the event types
        and so shouldn't follow that model. It is more difficult
        to create a unique user tag than it is to put a different msg into the
        vcl_string.
        Also I have changed the pointer to a vgui_observable to a void*
        This is because the observable class doesn't contain any useful info
        as far as the observer is concerned and a static cast to another class
        (usually some tableau subclass) would be necessary - and would be
        based on the contents of the message. Observable is only useful as a
        mixin class to provide observer management. I don't think it should
        actually store observers though as some classes may not store their
        observers locally.
  
     fsm - I have a license from pcp to put them back in, so I might do that
           without warning.
  
     fsm - now I've done it.
     10-SEP-2004 Peter Vanroose  Inlined all 1-line methods in class decl
   

Definition in file vgui_message.h.