39 #include "../base/ActionInterface.hpp" 41 #include "rtt-scripting-config.h" 44 {
namespace scripting {
66 for (std::vector<base::ActionInterface*>::const_iterator it=orig.
vect.begin();it!=orig.
vect.end();it++)
67 this->add( (*it)->clone() );
71 for (std::vector<base::ActionInterface*>::iterator it=vect.begin();it!=vect.end();it++) {
82 for (std::vector<base::ActionInterface*>::iterator it=vect.begin();it!=vect.end();it++) {
83 if ( !(*it)->execute() )
90 for (std::vector<base::ActionInterface*>::iterator it=vect.begin();it!=vect.end();it++)
91 (*it)->readArguments();
97 for (std::vector<base::ActionInterface*>::const_iterator it=vect.begin();it!=vect.end();it++)
98 v = v && (*it)->valid();
118 for (std::vector<base::ActionInterface*>::const_iterator it=vect.begin();it!=vect.end();it++)
119 res->
add( (*it)->copy(alreadyCloned) );
124 std::vector<base::ActionInterface*>
vect;
virtual base::ActionInterface * clone() const
CommandComposite(std::vector< base::ActionInterface * > cv)
std::vector< base::ActionInterface * > vect
Based on the software pattern 'command', this interface allows execution of action objects...
CommandComposite(const CommandComposite &orig)
virtual ~CommandComposite()
virtual base::ActionInterface * copy(std::map< const base::DataSourceBase *, base::DataSourceBase * > &alreadyCloned) const
virtual void add(base::ActionInterface *com)
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
Based on the software pattern 'composite', this class RTT_SCRIPTING_API allows composing command obje...