25#ifndef _SOURCE_LANGS_PY_TFTIMEEVENTPY_H_
26#define _SOURCE_LANGS_PY_TFTIMEEVENTPY_H_
30#include "tfEventPyExecutor.h"
76 event::TimeEventNextTimeSetter *nextTimeSetter=NULL,
82 invokeExecutor(invokeExecutor),
83 predicateExecutor(predicateExecutor),
84 nextTimeSetter(nextTimeSetter),
93 HRESULT eval(
const FloatP_t &time);
97 FloatP_t getNextTime(
const FloatP_t ¤t_time);
102 event::TimeEventNextTimeSetter *nextTimeSetter;
119 const FloatP_t &period,
122 const std::string &distribution=
"default",
123 const FloatP_t &start_time=0,
124 const FloatP_t &end_time=-1
Tissue Forge event system.
Definition tfEvent.h:34
Tissue Forge Python language support.
Definition tf_bindPy.h:36
TimeEventPy * onTimeEvent(const FloatP_t &period, TimeEventPyInvokePyExecutor *invokeExecutor, TimeEventPyPredicatePyExecutor *predicateExecutor=NULL, const std::string &distribution="default", const FloatP_t &start_time=0, const FloatP_t &end_time=-1)
Creates a time-dependent event using prescribed invoke and predicate python function executors.
Include Python header, disable linking to pythonX_d.lib on Windows in debug mode.
Definition tfAngleConfig.h:26
Definition tfEventList.h:59
Definition tfEventPyExecutor.h:33
Definition tfTimeEventPy.h:51
FloatP_t period
Period of evaluation.
Definition tfTimeEventPy.h:60
FloatP_t end_time
End time of evaluations.
Definition tfTimeEventPy.h:70
FloatP_t start_time
Start time of evaluations.
Definition tfTimeEventPy.h:65
FloatP_t next_time
Next time of evaluation.
Definition tfTimeEventPy.h:55
Definition tfTimeEventPy.h:47
Definition tfTimeEventPy.h:43
int32_t HRESULT
Definition tf_port.h:255