Classes | Defines | Functions
contrib/rpl/rgrl/rgrl_event.h File Reference

Base class for event. More...

#include <vbl/vbl_ref_count.h>
#include <vcl_string.h>
#include "rgrl_event_sptr.h"

Go to the source code of this file.

Classes

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

Defines

#define EventMacro(classname)

Functions

 EventMacro (rgrl_event_start)
 EventMacro (rgrl_event_end)
 EventMacro (rgrl_event_iteration)
 EventMacro (rgrl_event_verification)
 EventMacro (rgrl_event_next_init)
 EventMacro (rgrl_matches_formed)

Detailed Description

Base class for event.

Author:
Charlene Tsai
Date:
April 2004

Definition in file rgrl_event.h.


Define Documentation

#define EventMacro (   classname)
Value:
class classname : public rgrl_event { \
  public: \
   classname() {} \
   classname(classname const& c) : rgrl_event(c) {} \
   virtual ~classname() {} \
   virtual vcl_string name() const { return #classname; } \
   virtual bool is_same_type(rgrl_event const& e) const \
     { rgrl_event const* p=&e; return dynamic_cast<classname const*>(p) ? true : false; } \
 }

Definition at line 42 of file rgrl_event.h.


Function Documentation

EventMacro ( rgrl_event_start  )
EventMacro ( rgrl_event_end  )
EventMacro ( rgrl_event_iteration  )
EventMacro ( rgrl_event_verification  )
EventMacro ( rgrl_event_next_init  )
EventMacro ( rgrl_matches_formed  )