Public Member Functions
rgrl_event Class Reference

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

#include <rgrl_event.h>

Inheritance diagram for rgrl_event:
Inheritance graph
[legend]

List of all members.

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

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.


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 bool rgrl_event::is_same_type ( rgrl_event const &  e) const [pure virtual]
virtual vcl_string rgrl_event::name ( void  ) const [pure virtual]

Return the string name associated with the event.


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