39 #ifndef ORO_SERVICEREQUESTER_HPP_ 40 #define ORO_SERVICEREQUESTER_HPP_ 42 #include "rtt-config.h" 50 #include <boost/enable_shared_from_this.hpp> 51 #if BOOST_VERSION >= 104000 && BOOST_VERSION < 105300 52 #include <boost/smart_ptr/enable_shared_from_this2.hpp> 54 #if BOOST_VERSION >= 105300 55 #include <boost/smart_ptr/enable_shared_from_raw.hpp> 73 #if BOOST_VERSION >= 104000 74 #if BOOST_VERSION < 105300 75 public boost::enable_shared_from_this2<ServiceRequester>
77 public boost::enable_shared_from_raw
80 public boost::enable_shared_from_this<ServiceRequester>
90 #if BOOST_VERSION >= 105300 100 RequesterNames getRequesterNames()
const;
124 OperationCallerNames getOperationCallerNames()
const;
140 bool addServiceRequester(shared_ptr obj);
148 return mrequests.find(service_name) != mrequests.end();
168 virtual bool ready()
const;
173 virtual void disconnect();
178 virtual void clear();
181 typedef std::map< std::string, ServiceRequester::shared_ptr >
Requests;
std::vector< std::string > RequesterNames
OperationCallers mmethods
boost::shared_ptr< const ServiceRequester > shared_constptr
const std::string & getRequestName() const
boost::shared_ptr< ServiceRequester > shared_ptr
Requests mrequests
the services we implement.
boost::shared_ptr< Service > shared_ptr
std::map< std::string, ServiceRequester::shared_ptr > Requests
Service::shared_ptr mprovider
Service::shared_ptr getReferencedService()
std::map< std::string, base::OperationCallerBaseInvoker * > OperationCallers
Our methods.
bool requiresService(const std::string &service_name)
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
TaskContext * getServiceOwner() const
boost::enable_shared_from_this< Service > shared_from_raw
std::vector< std::string > OperationCallerNames