structure to hold event data in memory
More...
|
template<typename DataType > |
io::Data< DataType > & | getDataRef () |
| Helper for getting a reference to the dataset. More...
|
|
void | clear () |
| Clear the event object at the end of an event. More...
|
|
|
std::unique_ptr< io::BaseData > | data_ |
| the data for save/load
|
|
bool | should_save_ |
| should we save the data into output file?
|
|
bool | should_load_ |
| should we load the data from the input file?
|
|
bool | updated_ |
| have we been updated on the current event?
|
|
structure to hold event data in memory
◆ clear()
void fire::Event::EventObject::clear |
( |
| ) |
|
|
inline |
Clear the event object at the end of an event.
We reset the flag saying if this object has been updated by a processor and call the set's clear.
◆ getDataRef()
template<typename DataType >
io::Data< DataType > & fire::Event::EventObject::getDataRef |
( |
| ) |
|
|
inline |
Helper for getting a reference to the dataset.
- Exceptions
-
bad_cast | if DataSet does not hold the same type |
The documentation for this struct was generated from the following file: