24 change_handler_(false),
30 bool handler_attached =
false;
38 handler_attached =
false;
42 handler_attached =
true;
52 return handler_attached;
56 bool handler_detached =
false;
64 handler_detached =
false;
68 handler_detached =
true;
78 return handler_detached;
85 for (std::vector<observer*>::const_iterator it =
observers_.begin();
87 (*it)->handle_generic_event(
name_);
virtual void notify_observers()
std::vector< observer * > observers_
virtual bool attach_handler(observer *obs)
generic_event(std::string name)
Handling of system events.
GLuint const GLchar * name
bool find(E event, F functor)
Tests whether an event handler is available.
virtual bool detach_handler(observer *obs)
GLsizei const GLcharARB ** string