25#ifndef _SOURCE_LANGS_PY_TFPARTICLETIMEEVENTPY_H_
26#define _SOURCE_LANGS_PY_TFPARTICLETIMEEVENTPY_H_
30#include "tfEventPyExecutor.h"
54 ParticleTimeEventPy() {}
60 event::ParticleTimeEventNextTimeSetter *nextTimeSetter=NULL,
63 event::ParticleTimeEventParticleSelector *particleSelector=NULL
65 virtual ~ParticleTimeEventPy();
69 virtual HRESULT eval(
const FloatP_t &time);
93 const FloatP_t &period,
96 const std::string &distribution=
"default",
97 const FloatP_t &start_time=0.0,
98 const FloatP_t &end_time=-1.0,
99 const std::string &selector=
"default"
Tissue Forge Python language support.
Definition tf_bindPy.h:36
ParticleTimeEventPy * onParticleTimeEvent(ParticleType *targetType, const FloatP_t &period, ParticleTimeEventPyInvokePyExecutor *invokeExecutor, ParticleTimeEventPyPredicatePyExecutor *predicateExecutor=NULL, const std::string &distribution="default", const FloatP_t &start_time=0.0, const FloatP_t &end_time=-1.0, const std::string &selector="default")
Creates a time-dependent particle event using prescribed invoke and predicate python function executo...
Include Python header, disable linking to pythonX_d.lib on Windows in debug mode.
Definition tfAngleConfig.h:26
Structure containing information on each particle type.
Definition tfParticle.h:768
Definition tfParticleTimeEvent.h:161
FloatP_t start_time
Time at which evaluations begin.
Definition tfParticleTimeEvent.h:186
FloatP_t end_time
Time at which evaluations stop.
Definition tfParticleTimeEvent.h:191
FloatP_t period
Period of event evaluations.
Definition tfParticleTimeEvent.h:181
ParticleType * targetType
Target particle type of this event.
Definition tfParticleTimeEvent.h:166
Definition tfEventPyExecutor.h:33
Definition tfParticleTimeEventPy.h:52
virtual HRESULT predicate()
Definition tfParticleTimeEventPy.h:47
Definition tfParticleTimeEventPy.h:43
int32_t HRESULT
Definition tf_port.h:255