48 DEFAULT = PRE_STEP | POST_STEP,
49 ALL = PRE_COLLIDE | PRE_STEP | POST_STEP | LAST_STEP
59 virtual void setMask(
int mask)
override;
Derive from this class to implement a listener for simulation step events.
#define AGXPHYSICS_EXPORT
#define AGX_DECLARE_POINTER_TYPES(type)
virtual void last(const agx::TimeStamp &time)
Called after a step is taken in the simulation Implement this method in the derived class to get call...
virtual void post(const agx::TimeStamp &time)
Called after a step is taken in the simulation Implement this method in the derived class to get call...
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
An EventListener can be associated to a Simulation and triggered upon various events.
ActivationMask
Defines the event states for which a listener will be activated, a mask can be bitwise OR:ed from the...
#define AGX_DECLARE_VECTOR_TYPES(type)
virtual void pre(const agx::TimeStamp &time)
Called before a step is taken in the simulation Implement this method in the derived class to get cal...
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...
virtual void preCollide(const agx::TimeStamp &time)
Called before collision detection is performed in the simulation Implement this method in the derived...