#include <cevent.h>
Inheritance diagram for stdui::cevent:


Public Types | |
| typedef list< cevent * > | list |
| typedef list::iterator | iterator |
Public Member Functions | |
| cevent () | |
| cevent (event_type::val t, events::val v) | |
| cevent (int _ncurses_event) | |
| cevent (stdobject *s, event_type::val t, events::val v) | |
| cevent (stdobject *sender, stdobject *target, event_type::val t, events::val v) | |
| virtual | ~cevent () |
| template<typename _t> | |
| _t * | eventclass () |
| converts pointer to to a pointer of a cevent subclass. | |
| events::val | event () |
| returns the event value | |
| int | ncursesevent () |
| returns the raw ncurses event value | |
| void | setevent (events::val e) |
| sets the event value | |
| void | seteventtype (event_type::val t) |
| event_type::val | type () |
| stdobject * | sender () |
| return the sender object | |
| void | setsender (stdobject *s) |
Static Public Member Functions | |
| static void | clear (cevent::list &l) |
Private Member Functions | |
| virtual void | _translate () |
Private Attributes | |
| events::val | __e |
| the event value | |
| event_type::val | __type |
| event type | |
| int | __nce |
| raw ncurses event value | |
| stdobject * | _sender |
| stdobject * | _target |
Definition at line 183 of file cevent.h.
|
|
|
|
|
|
|
|
Definition at line 34 of file cevent.cpp. References _translate(). 00035 {
00036 _translate();
00037 }
|
Here is the call graph for this function:

|
||||||||||||
|
Definition at line 190 of file cevent.h. References __e, __type, _sender, and _target.
|
|
|
Definition at line 191 of file cevent.h. References __e, __nce, __type, _sender, and _target.
|
|
||||||||||||||||
|
Definition at line 192 of file cevent.h. References __e, __type, _sender, and _target.
|
|
||||||||||||||||||||
|
Definition at line 193 of file cevent.h. References __e, __type, _sender, _target, and sender().
|
Here is the call graph for this function:

|
|
Definition at line 40 of file cevent.cpp. 00041 {
00042 }
|
|
|
Reimplemented in stdui::ckeypressevent, and stdui::cmouseevent. Definition at line 51 of file cevent.cpp. Referenced by cevent(). 00052 {
00054 }
|
|
|
Definition at line 176 of file cevent.cpp. 00177 {
00178 for( cevent::iterator it = l.begin(); it != l.end(); it++) delete *it;
00179 l.clear();
00180 }
|
|
|
returns the event value
Definition at line 210 of file cevent.h. References __e. 00210 { return __e; }
|
|
|||||||||
|
converts pointer to to a pointer of a cevent subclass.
Definition at line 201 of file cevent.h. 00202 {
00203 _t* _e = dynamic_cast<_t*>(this);
00204 return _e;
00205 }
|
|
|
returns the raw ncurses event value
Definition at line 217 of file cevent.h. References __nce. 00217 { return __nce; }
|
|
|
return the sender object
Definition at line 240 of file cevent.h. References _sender. Referenced by cevent(). 00240 { return _sender; }
|
|
|
sets the event value
Definition at line 223 of file cevent.h. References __e. Referenced by stdui::cmouseevent::identify_event(). 00223 { __e = e; }
|
|
|
Definition at line 229 of file cevent.h. References __type. 00229 { __type = t; }
|
|
|
Definition at line 245 of file cevent.h. References _sender. 00245 { _sender = s; }
|
|
|
Definition at line 235 of file cevent.h. References __type. 00235 { return __type; }
|
|
|
the event value
Definition at line 249 of file cevent.h. Referenced by cevent(), event(), and setevent(). |
|
|
raw ncurses event value
Definition at line 251 of file cevent.h. Referenced by cevent(), and ncursesevent(). |
|
|
event type
Definition at line 250 of file cevent.h. Referenced by cevent(), seteventtype(), and type(). |
|
|
Definition at line 254 of file cevent.h. Referenced by cevent(), sender(), and setsender(). |
|
|
Definition at line 255 of file cevent.h. Referenced by cevent(). |
1.4.0