H3D API
2.4.1
|
The Event struct encapsulates an event in the field network. More...
#include <H3D/Field.h>
Public Member Functions | |
Event (Field *_ptr, const TimeStamp &_time_stamp) | |
Constructor. | |
Static Public Member Functions | |
static H3DTime | generateEventTime () |
Provides a value which is guaranteed to be unique (unlike TimeStamp()) and always increasing. | |
Public Attributes | |
Field * | ptr |
The Field that caused the event. | |
TimeStamp | time_stamp |
The time of the event. | |
Static Protected Attributes | |
static H3DTime | last_event_time = 0 |
Last used globally unique time. | |
The Event struct encapsulates an event in the field network.
It consists of the Field causing the event and a TimeStamp for when the event was generated.