 |
AGXDynamics
2.35.0.2
|
Go to the documentation of this file.
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;
This class is an abstract base class for all classes that can be stored and retrieved from an Archive...
AGXCORE_EXPORT Type * getType(const agx::String &name)
An EventListener can be associated to a Simulation and triggered upon various events.
@ STEP_EVENT_LISTENER
Of type StepEventListener.
agx::SetVector< agx::ref_ptr< agxSDK::EventListener > > EventListenerRefSetVector
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
#define AGXPHYSICS_EXPORT
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
This class is a combined container which has the find complexity of a HashTable, deterministic iterat...
A component is an object containing other objects, enabling hierarchical structuring.
virtual void addNotification()
Called when this listener is added to the simulation.
#define AGX_DECLARE_POINTER_TYPES(type)
@ UNDEFINED_TYPE
Undefined type.
agx::Vector< EventListener * > EventListenerPtrVector
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...
@ CONTACT_EVENT_LISTENER
Of type ContactEventListener.
Type
Type of EventListener.
virtual void removeNotification()
Called when this listener is removed from the simulation.