17 #ifndef AGXIO_KEYEVENT_H
18 #define AGXIO_KEYEVENT_H
32 virtual void configure(agx::TiXmlElement *eKey)
override;
#define AGX_DECLARE_POINTER_TYPES(type)
KeyEvent(const agx::String &key, const agx::String &scope="")
void addTrigger(agx::Task *task)
virtual void configure(agx::TiXmlElement *eKey) override
void keyCallback(int key, agxIO::EventType type)
virtual void rebind() override
agxData::Val< bool > downState
void removeTrigger(agx::Task *task)
virtual agx::Object * getResourceImpl(const agx::Path &path, agx::Model *model) override
agxData::Val< bool > toggleState
static KeyEvent * load(agx::TiXmlElement *eKey, agx::Device *device)
Templated callback with two arguments.
An agx::Device is an abstract representation of a device on which data can be stored and processed.
A model is an abstract representation of the class of an agx::Object.
agx::Object is a refcounted object with a name.
Representation of a path, a list of name components.
A representation of a generic task.
The agxIO namespace contains classes for reading, writing and finding files.