39 #ifndef CURRENT_INCLUDE_PARSEDSTATECONTEXT_HPP 40 #define CURRENT_INCLUDE_PARSEDSTATECONTEXT_HPP 43 #include "../internal/DataSource.hpp" 44 #include <boost/shared_ptr.hpp> 47 {
namespace scripting {
67 ParsedStateMachinePtr
copy( std::map<const base::DataSourceBase*, base::DataSourceBase*>& replacements,
bool instantiate =
false )
const;
80 void setName(
const std::string& name,
bool recursive );
84 void setText( std::string text);
86 boost::shared_ptr<StateMachineService>
getService()
const;
88 void setService(boost::shared_ptr<StateMachineService> tc);
90 bool inState(
const std::string& name );
98 boost::shared_ptr<std::string>
_text;
100 boost::shared_ptr<StateMachineService>
object;
bool inState(const std::string &name)
A hierarchical StateMachine which is loaded in the Program Processor.
std::map< std::string, base::AttributeBase * > VisibleWritableValuesMap
boost::shared_ptr< ParsedStateMachine > ParsedStateMachinePtr
std::string getText() const
void setName(const std::string &name, bool recursive)
void setText(std::string text)
std::vector< std::string > getParameterNames() const
VisibleWritableValuesMap parametervalues
void addParameter(const std::string &name, base::AttributeBase *var)
void setService(boost::shared_ptr< StateMachineService > tc)
virtual ~ParsedStateMachine()
boost::shared_ptr< StateMachineService > object
boost::weak_ptr< ParsedStateMachine > ParsedStateMachineWPtr
boost::shared_ptr< StateMachineService > getService() const
ParsedStateMachinePtr copy(std::map< const base::DataSourceBase *, base::DataSourceBase * > &replacements, bool instantiate=false) const
boost::shared_ptr< std::string > _text
base::AttributeBase * getParameter(const std::string &name) const
VisibleWritableValuesMap getParameters() const
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.