39 #ifndef ORO_OPERATIONREPOSITORYPART_HPP_ 40 #define ORO_OPERATIONREPOSITORYPART_HPP_ 78 virtual std::string
getName()
const = 0;
101 virtual unsigned int arity()
const = 0;
182 #ifdef ORO_SIGNALLING_OPERATIONS virtual base::DataSourceBase::shared_ptr produceSend(const std::vector< base::DataSourceBase::shared_ptr > &args, ExecutionEngine *caller) const =0
Create a DataSource for a given send operation.
virtual const types::TypeInfo * getArgumentType(unsigned int arg) const =0
Returns the type information of the n'th argument, with argument zero being the return value...
virtual const types::TypeInfo * getCollectType(unsigned int arg) const =0
Returns the type information of the n'th collectable argument.
virtual std::string getName() const =0
Returns the name of this operation.
virtual std::string description() const =0
Returns the description of this operation.
An execution engine serialises (executes one after the other) the execution of all commands...
virtual unsigned int arity() const =0
Returns the arity (number of arguments) of this operation.
virtual base::DataSourceBase::shared_ptr produceHandle() const =0
Create an empty SendHandle object for this operation.
Based on the software pattern 'command', this interface allows execution of action objects...
A class for representing a user type, and which can build instances of that type. ...
virtual base::DataSourceBase::shared_ptr produce(const std::vector< base::DataSourceBase::shared_ptr > &args, ExecutionEngine *caller) const =0
Create a DataSource for a given callable operation.
This class defines the interface for creating operation objects without using C++ templates...
virtual std::string resultType() const =0
Return the result (return) type of this operation.
boost::intrusive_ptr< DataSource< T > > shared_ptr
virtual base::DataSourceBase::shared_ptr produceCollect(const std::vector< base::DataSourceBase::shared_ptr > &args, internal::DataSource< bool >::shared_ptr blocking) const =0
Create a DataSource for collecting the results of a Send.
virtual RTT_API boost::shared_ptr< base::DisposableInterface > getLocalOperation() const
Returns any local operation associated with this operation.
virtual std::vector< ArgumentDescription > getArgumentList() const =0
Get a description of the desired arguments in the ArgumentDescription format.
virtual RTT_API ~OperationInterfacePart()
virtual unsigned int collectArity() const =0
Returns the number of collectable arguments of this operation's function.
boost::intrusive_ptr< DataSourceBase > shared_ptr
Use this type to store a pointer to a DataSourceBase.
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
The Handle holds the information, and allows manipulation, of a connection between a internal::Signal...