#include <event.hpp>
Definition at line 45 of file event.hpp.
Public Types | |
enum | event_code { NULL_EVENT = 0, SIM_QUIT, VIEW_ROT_X_POS, VIEW_ROT_X_NEG, VIEW_ROT_Y_POS, VIEW_ROT_Y_NEG, VIEW_ROT_Z_POS, VIEW_ROT_Z_NEG, VIEW_TOGGLE_ROT_MODE, VIEW_ZOOM_IN, VIEW_ZOOM_OUT, VIEW_RESET, TIME_INC_SCALE, TIME_DEC_SCALE, TIME_RESET_SCALE, TIME_PAUSE, RENDER_TOGGLE_LABELS, RENDER_TOGGLE_COORD_SYSTEMS, NUM_EVENT_CODES } |
Public Member Functions | |
event_code & | get_code () |
sg_event (event_code code, short a[2]) | |
sg_event (event_code code, int n) | |
sg_event (event_code code, void *param) | |
sg_event () | |
Private Attributes | |
union { | |
short a [2] | |
int n | |
void * param | |
}; | |
event_code | code |
enum event_code |
sg_event | ( | event_code | code, | |
void * | param | |||
) |
sg_event | ( | event_code | code, | |
int | n | |||
) |
sg_event | ( | event_code | code, | |
short | a[2] | |||
) |
sg_event::event_code & get_code | ( | ) |
Definition at line 64 of file event.cpp.
References sg_event::code.
Referenced by simulation::handle_event(), freeview::handle_event(), and event_map::handle_event().
union { ... } [private] |
event_code code [private] |