17 #ifndef AGXSDK_EVENTLISTENER_H
18 #define AGXSDK_EVENTLISTENER_H
53 virtual void setMask(
int f);
62 void setEnable(
bool enable );
67 bool isEnabled( )
const;
94 int getPriority()
const;
113 friend class EventManager;
AGXCORE_EXPORT Type * getType(const agx::String &name)
Type
Type of EventListener.
A component is an object containing other objects, enabling hierarchical structuring.
virtual void removeNotification()
Called when this listener is removed from the simulation.
#define AGXPHYSICS_EXPORT
#define AGX_DECLARE_POINTER_TYPES(type)
virtual void addNotification()
Called when this listener is added to the simulation.
Of type StepEventListener.
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
This class is an abstract base class for all classes that can be stored and retrieved from an Archive...
An EventListener can be associated to a Simulation and triggered upon various events.
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
Of type ContactEventListener.
agx::Vector< EventListener * > EventListenerPtrVector