17 #ifndef AGXSDK_EVENTLISTENER_H 18 #define AGXSDK_EVENTLISTENER_H 56 virtual void setMask(
int f);
65 void setEnable(
bool enable );
70 bool isEnabled( )
const;
116 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
agx::SetVector< agx::ref_ptr< agxSDK::EventListener > > EventListenerRefSetVector
#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.
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...
agx::Vector< EventListener * > EventListenerPtrVector
This class is a combined container which has the find complexity of a HashTable, deterministic iterat...