|
|
std::forward_list< EventFlag > | flags |
| |
|
FloatP_t | last_fired |
| | Record of last time fired.
|
| |
|
int | times_fired |
| | Record of how many times fired.
|
| |
◆ Event()
| TissueForge::event::Event::Event |
( |
EventMethod * | invokeMethod, |
|
|
EventMethod * | predicateMethod ) |
Construct an instance using functions.
- Parameters
-
| invokeMethod | an invoke function |
| predicateMethod | a predicate function |
◆ eval()
| HRESULT TissueForge::event::Event::eval |
( |
const FloatP_t & | time | ) |
|
|
virtual |
◆ invoke()
| HRESULT TissueForge::event::Event::invoke |
( |
| ) |
|
|
virtual |
What occurs during an event. Typically, this invokes an underlying specialized method returns 0 if OK and 1 on error.
Implements TissueForge::event::EventBase.
◆ predicate()
| HRESULT TissueForge::event::Event::predicate |
( |
| ) |
|
|
virtual |
Evaluates an event predicate, returns 0 if the event should not fire, 1 if the event should, and a negative value on error. A predicate without a defined predicate method always returns 0
Implements TissueForge::event::EventBase.
The documentation for this struct was generated from the following file: