Choreonoid  1.8
Public Member Functions | List of all members
cnoid::PythonScriptItemImpl Class Reference

#include <PythonScriptItemImpl.h>

Public Member Functions

 PythonScriptItemImpl (ScriptItem *scriptItem)
 
 PythonScriptItemImpl (ScriptItem *scriptItem, const PythonScriptItemImpl &org)
 
virtual ~PythonScriptItemImpl ()
 
ScriptItemscriptItem ()
 
void onDisconnectedFromRoot ()
 
bool setScriptFilename (const std::string &filename)
 
const std::string & scriptFilename () const
 
void setBackgroundMode (bool on)
 
bool isBackgroundMode () const
 
bool isRunning () const
 
bool execute ()
 
bool executeCode (const char *code)
 
bool waitToFinish (double timeout)
 
const std::string exceptionText () const
 
Signal< void()> & sigScriptFinished ()
 
bool terminate ()
 
void doPutProperties (PutPropertyFunction &putProperty)
 
bool store (Archive &archive)
 
bool restore (const Archive &archive)
 

Constructor & Destructor Documentation

◆ PythonScriptItemImpl() [1/2]

PythonScriptItemImpl::PythonScriptItemImpl ( ScriptItem scriptItem)

◆ PythonScriptItemImpl() [2/2]

PythonScriptItemImpl::PythonScriptItemImpl ( ScriptItem scriptItem,
const PythonScriptItemImpl org 
)

◆ ~PythonScriptItemImpl()

PythonScriptItemImpl::~PythonScriptItemImpl ( )
virtual

Member Function Documentation

◆ doPutProperties()

void PythonScriptItemImpl::doPutProperties ( PutPropertyFunction putProperty)

◆ exceptionText()

const std::string PythonScriptItemImpl::exceptionText ( ) const

◆ execute()

bool PythonScriptItemImpl::execute ( )

◆ executeCode()

bool PythonScriptItemImpl::executeCode ( const char *  code)

◆ isBackgroundMode()

bool PythonScriptItemImpl::isBackgroundMode ( ) const

◆ isRunning()

bool PythonScriptItemImpl::isRunning ( ) const

◆ onDisconnectedFromRoot()

void PythonScriptItemImpl::onDisconnectedFromRoot ( )

◆ restore()

bool PythonScriptItemImpl::restore ( const Archive archive)

◆ scriptFilename()

const std::string& cnoid::PythonScriptItemImpl::scriptFilename ( ) const
inline

◆ scriptItem()

ScriptItem* cnoid::PythonScriptItemImpl::scriptItem ( )
inline

◆ setBackgroundMode()

void PythonScriptItemImpl::setBackgroundMode ( bool  on)

◆ setScriptFilename()

bool PythonScriptItemImpl::setScriptFilename ( const std::string &  filename)

◆ sigScriptFinished()

Signal<void()>& cnoid::PythonScriptItemImpl::sigScriptFinished ( )
inline

◆ store()

bool PythonScriptItemImpl::store ( Archive archive)

◆ terminate()

bool PythonScriptItemImpl::terminate ( )

◆ waitToFinish()

bool PythonScriptItemImpl::waitToFinish ( double  timeout)

The documentation for this class was generated from the following files: