39 #include "ServiceRequesterC.h" 41 #include "../../base/OperationCallerBaseInvoker.hpp" 56 CServiceRequester_var
msrq;
58 : mname(opname), msrq(srq) {}
61 return msrq->callerReady( mname.c_str() );
65 msrq->disconnectCaller( mname.c_str() );
80 return msrq->connectCallerTo(mname.c_str(), cocf->
getService() );
83 log(
Error) <<
"Can't connect an operation caller proxy directly to a local service."<<
endlog();
84 log(
Error) <<
"Use CServiceRequester::connectTo() or CServiceRequester::connectCallerTo(). "<<
endlog();
93 virtual const std::string&
getName()
const {
corba::CService_ptr getService()
virtual bool setImplementation(boost::shared_ptr< base::DisposableInterface > impl, ExecutionEngine *caller=0)
virtual void disconnect()
virtual void setCaller(ExecutionEngine *caller)
virtual const std::string & getName() const
OperationCallerProxy(const std::string &opname, CServiceRequester_ptr srq)
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
CServiceRequester_var msrq
virtual bool setImplementationPart(OperationInterfacePart *orp, ExecutionEngine *caller=0)
static Logger::LogFunction endlog()
virtual bool ready() const