10 #ifndef __EVENT_TYPE_H__
11 #define __EVENT_TYPE_H__
15 namespace MDSimulation
17 #define GUARD_TYPE(typ) (assert((typ) == UpdateSystemEvent || \
18 (typ) == BubbleWallEvent || \
19 (typ) == CellCrossingEvent || \
20 (typ) == ConeWallEvent || \
21 (typ) == CollisionEvent))
31 CellCrossingEvent = 0,
39 UpdateSystemEvent = 4,
bool invalidatesAssociated(const EventType type)
Check function to determine whether or not the occurrence of a given event will invalidate ones alrea...
Definition: EventType.cpp:95
EventType
Enumeration of the various event types in the system.
Definition: EventType.h:28
std::string getEventName(const EventType type)
Function for translating an event type to an appropriate string representing the event.
Definition: EventType.cpp:42
int associatedObjects(const EventType type)
Produces the number of objects associated with the event.
Definition: EventType.cpp:72