55 return boost::shared_ptr<base::DisposableInterface>();
60 for (map_t::iterator i = data.begin(); i != data.end(); ++i)
67 std::vector<std::string> ret;
74 return data.find(name) != data.end();
79 map_t::const_iterator i = data.find(name);
80 if (i == data.end() || i->second == 0)
82 return i->second->arity();
87 map_t::const_iterator i = data.find(name);
88 if (i == data.end() || i->second == 0)
90 return i->second->collectArity();
107 map_t::const_iterator i = data.find(name);
108 if (i == data.end() || i->second == 0)
110 return i->second->produce(args, caller);
115 map_t::const_iterator i = data.find(name);
116 if (i == data.end() || i->second == 0)
118 return i->second->produceSend(args, caller);
123 map_t::const_iterator i = data.find(name);
124 if (i == data.end() || i->second == 0)
126 return i->second->produceHandle();
131 map_t::const_iterator i = data.find(name);
132 if (i == data.end() || i->second == 0)
134 return i->second->produceCollect(args, blocking);
137 #ifdef ORO_SIGNALLING_OPERATIONS 140 map_t::const_iterator i = data.find(name);
141 if (i == data.end() || i->second == 0)
143 return i->second->produceSignal(act, args, subscriber);
148 map_t::const_iterator i = data.find(name);
149 if (i == data.end() || i->second == 0)
151 return i->second->getArgumentList();
156 map_t::const_iterator i = data.find(name);
157 if (i == data.end() || i->second == 0)
159 return i->second->resultType();
164 map_t::const_iterator i = data.find(name);
165 if (i == data.end() || i->second == 0)
167 return i->second->description();
172 map_t::iterator i = data.find(name);
180 map_t::iterator i = data.find(name);
190 map_t::iterator i = data.find(name);
base::DataSourceBase::shared_ptr produceSend(const std::string &name, const Arguments &args, ExecutionEngine *caller) const
void add(const std::string &name, OperationInterfacePart *part)
std::string getDescription(const std::string &name) const
#define ORO_THROW_OR_RETURN(x, rv)
bool hasMember(const std::string &name) const
bool isSynchronous(const std::string &name) const
int getCollectArity(const std::string &name) const
OperationInterfacePart * getPart(const std::string &name)
std::vector< ArgumentDescription > Descriptions
int getArity(const std::string &name) const
base::DataSourceBase::shared_ptr produceCollect(const std::string &name, const Arguments &args, internal::DataSource< bool >::shared_ptr blocking) const
Based on the software pattern 'command', this interface allows execution of action objects...
virtual RTT_API boost::shared_ptr< base::DisposableInterface > getLocalOperation() const
std::vector< std::string > getNames() const
virtual RTT_API ~OperationInterfacePart()
Descriptions getArgumentList(const std::string &name) const
std::vector< base::DataSourceBase::shared_ptr > Arguments
boost::intrusive_ptr< DataSourceBase > shared_ptr
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
base::DataSourceBase::shared_ptr produceHandle(const std::string &name) const
The Handle holds the information, and allows manipulation, of a connection between a internal::Signal...
void remove(const std::string &name)
std::string getResultType(const std::string &name) const
base::DataSourceBase::shared_ptr produce(const std::string &name, const Arguments &args, ExecutionEngine *caller) const