rgrl_event Class Reference

#include <rgrl_event.h>

Inheritance diagram for rgrl_event:

vbl_ref_count List of all members.

Detailed Description

Event class provides a standard coding for sending and receiving messages.

Common events are beginning of a process, end of a process, and end of iteration.

rgrl_event, together with rgrl_command and rgrl_object, implement the Observer/Subject design patter. Observers (commands) register their interest in particular kinds of events produced by a specific rgrl_object.

Definition at line 23 of file rgrl_event.h.


Public Member Functions

 rgrl_event ()
 rgrl_event (rgrl_event const &)
virtual ~rgrl_event ()
virtual vcl_string name (void) const=0
 Return the string name associated with the event.
virtual bool is_same_type (rgrl_event const &e) const =0
void ref ()
void unref ()
int get_references () const
bool is_referenced () const

Constructor & Destructor Documentation

rgrl_event::rgrl_event (  )  [inline]

Definition at line 27 of file rgrl_event.h.

rgrl_event::rgrl_event ( rgrl_event const &   )  [inline]

Definition at line 30 of file rgrl_event.h.

virtual rgrl_event::~rgrl_event (  )  [inline, virtual]

Definition at line 33 of file rgrl_event.h.


Member Function Documentation

virtual vcl_string rgrl_event::name ( void   )  const [pure virtual]

Return the string name associated with the event.

virtual bool rgrl_event::is_same_type ( rgrl_event const &  e  )  const [pure virtual]


The documentation for this class was generated from the following file:
Generated on Mon Mar 8 05:27:41 2010 for contrib/rpl/rgrl by  doxygen 1.5.1