Go to the documentation of this file.
6 #ifndef CNOID_BODY_PLUGIN_SIMULATION_SCRIPT_ITEM_H
7 #define CNOID_BODY_PLUGIN_SIMULATION_SCRIPT_ITEM_H
9 #include <cnoid/ScriptItem>
10 #include "exportdecl.h"
14 class SimulationScriptItemImpl;
33 ExecutionTiming executionTiming()
const;
34 void setExecutionTiming(ExecutionTiming timing);
35 double executionDelay()
const;
36 void setExecutionDelay(
double t);
38 virtual bool execute();
39 virtual bool executeAsSimulationScript() = 0;
45 virtual bool store(
Archive& archive);
46 virtual bool restore(
const Archive& archive);
49 SimulationScriptItemImpl* impl;
50 friend class SimulationScriptItemImpl;
@ AFTER_FINALIZATION
Definition: SimulationScriptItem.h:29
@ DURING_INITIALIZATION
Definition: SimulationScriptItem.h:26
Definition: ScriptItem.h:14
Definition: ExtensionManager.h:23
Definition: PutPropertyFunction.h:51
ref_ptr< SimulationScriptItem > SimulationScriptItemPtr
Definition: SimulationScriptItem.h:53
@ DURING_FINALIZATION
Definition: SimulationScriptItem.h:28
@ NUM_TIMINGS
Definition: SimulationScriptItem.h:30
Definition: Referenced.h:103
Definition: AbstractSceneLoader.h:11
ExecutionTiming
Definition: SimulationScriptItem.h:24
@ BEFORE_INITIALIZATION
Definition: SimulationScriptItem.h:25
Definition: SimulationScriptItem.h:16
@ AFTER_INITIALIZATION
Definition: SimulationScriptItem.h:27