Go to the documentation of this file.
6 #ifndef CNOID_PYTHON_PLUGIN_PYTHON_SCRIPT_ITEM_IMPL_H
7 #define CNOID_PYTHON_PLUGIN_PYTHON_SCRIPT_ITEM_IMPL_H
10 #include <cnoid/ScriptItem>
11 #include <cnoid/MessageView>
12 #include "exportdecl.h"
23 void onDisconnectedFromRoot();
24 bool setScriptFilename(
const std::string& filename);
26 void setBackgroundMode(
bool on);
27 bool isBackgroundMode()
const;
28 bool isRunning()
const;
30 bool executeCode(
const char* code);
31 bool waitToFinish(
double timeout);
32 const std::string exceptionText()
const;
37 bool restore(
const Archive& archive);
40 void onScriptFinished();
41 bool onBackgroundModeChanged(
bool on);
44 std::string scriptFilename_;
48 Signal<void()> sigScriptFinished_;
const std::string & scriptFilename() const
Definition: PythonScriptItemImpl.h:25
Definition: ScriptItem.h:14
Definition: PutPropertyFunction.h:51
Signal< void()> & sigScriptFinished()
Definition: PythonScriptItemImpl.h:33
ScriptItem * scriptItem()
Definition: PythonScriptItemImpl.h:22
Definition: PythonExecutor.h:18
Definition: MessageView.h:16
Definition: AbstractSceneLoader.h:11
Definition: PythonScriptItemImpl.h:16