Event class provides a standard coding for sending and receiving messages. More...
#include <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 |
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.
| 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.
| 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.
1.7.5.1