44 #include "../TaskContext.hpp" 45 #include "../types/TypeStream.hpp" 46 #include "../Logger.hpp" 49 #include <boost/tuple/tuple.hpp> 53 using namespace boost;
56 {
namespace scripting {
58 using namespace detail;
66 std::string prompt(
" = ");
69 doPrint( ds, recurse );
141 if ( ! bag.empty() ) {
144 Logger::log() <<(*it)->getType()<<
" "<< (*it)->getName();
146 this->printResult( propds.get(), false );
147 Logger::log() <<
" ("<<(*it)->getDescription()<<
')' << Logger::nl;
193 if ( taskcontext->
provides()->getValue( comm ) ) {
205 if ( ds.get() != 0 ) {
237 if ( ds.get() != 0 ) {
virtual std::string getType() const =0
virtual result_t get() const =0
Service::shared_ptr provides()
virtual const std::string what() const =0
void printResult(DataSourceBase *ds, bool recurse)
The base class for all internal data representations.
static std::ostream & nl(std::ostream &__os)
void doPrint(DataSourceBase *ds, bool recurse)
A container for holding references to properties.
virtual bool evaluate() const =0
static std::ostream & endl(std::ostream &__os)
const std::string what() const
This class is the public interface to the Orocos Program Parser Framework. It parsers Orocos program ...
Properties & getProperties()
basic_ostreams & endl(basic_ostreams &s)
base::DataSourceBase::shared_ptr parseExpression(const std::string &s, TaskContext *)
Parses the expression in s.
Properties::iterator iterator
boost::intrusive_ptr< DataSourceBase > shared_ptr
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
int execute(const std::string &code)
base::DataSourceBase::shared_ptr parseValueChange(const std::string &s, TaskContext *)
Parses a change of a value in s.