Tissue Forge C++ 0.2.1
Interactive, particle-based physics, chemistry and biology modeling and simulation environment
Loading...
Searching...
No Matches
TissueForge::py::EventPy Struct Reference
Inheritance diagram for TissueForge::py::EventPy:
Collaboration diagram for TissueForge::py::EventPy:

Public Member Functions

 EventPy (EventPyInvokePyExecutor *invokeExecutor, EventPyPredicatePyExecutor *predicateExecutor=NULL)
 
HRESULT predicate ()
 
HRESULT invoke ()
 
HRESULT eval (const FloatP_t &time)
 
- Public Member Functions inherited from TissueForge::event::EventBase
void remove ()
 Designates event for removal.
 

Additional Inherited Members

- Public Attributes inherited from TissueForge::event::EventBase
std::forward_list< EventFlag > flags
 
FloatP_t last_fired
 Record of last time fired.
 
int times_fired
 Record of how many times fired.
 

Member Function Documentation

◆ eval()

HRESULT TissueForge::py::EventPy::eval ( const FloatP_t & time)
virtual

Reimplemented from TissueForge::event::EventBase.

◆ invoke()

HRESULT TissueForge::py::EventPy::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::py::EventPy::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: