cxxtools::RemoteProcedureBase< R > Class Template Reference

#include <cxxtools/remoteprocedure.h>

Inheritance diagram for cxxtools::RemoteProcedureBase< R >:
cxxtools::IRemoteProcedure cxxtools::RemoteProcedure< R, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10 > cxxtools::RemoteProcedure< R, A1, A2, A3, A4, A5, A6, A7, A8, A9, cxxtools::Void > cxxtools::RemoteProcedure< R, A1, A2, A3, A4, A5, A6, A7, A8, cxxtools::Void, cxxtools::Void > cxxtools::RemoteProcedure< R, A1, A2, A3, A4, A5, A6, A7, cxxtools::Void, cxxtools::Void, cxxtools::Void > cxxtools::RemoteProcedure< R, A1, A2, A3, A4, A5, A6, cxxtools::Void, cxxtools::Void, cxxtools::Void, cxxtools::Void > cxxtools::RemoteProcedure< R, A1, A2, A3, A4, A5, cxxtools::Void, cxxtools::Void, cxxtools::Void, cxxtools::Void, cxxtools::Void > cxxtools::RemoteProcedure< R, A1, A2, A3, A4, cxxtools::Void, cxxtools::Void, cxxtools::Void, cxxtools::Void, cxxtools::Void, cxxtools::Void > cxxtools::RemoteProcedure< R, A1, A2, A3, cxxtools::Void, cxxtools::Void, cxxtools::Void, cxxtools::Void, cxxtools::Void, cxxtools::Void, cxxtools::Void > cxxtools::RemoteProcedure< R, A1, A2, cxxtools::Void, cxxtools::Void, cxxtools::Void, cxxtools::Void, cxxtools::Void, cxxtools::Void, cxxtools::Void, cxxtools::Void > cxxtools::RemoteProcedure< R, A1, cxxtools::Void, cxxtools::Void, cxxtools::Void, cxxtools::Void, cxxtools::Void, cxxtools::Void, cxxtools::Void, cxxtools::Void, cxxtools::Void > cxxtools::RemoteProcedure< R, cxxtools::Void, cxxtools::Void, cxxtools::Void, cxxtools::Void, cxxtools::Void, cxxtools::Void, cxxtools::Void, cxxtools::Void, cxxtools::Void, cxxtools::Void >

Public Member Functions

 RemoteProcedureBase (RemoteClient &client, const String &name)
void setFault (int rc, const std::string &msg)
const R & result ()
virtual bool failed () const
const R & end (std::size_t msecs=RemoteClient::WaitInfinite)
- Public Member Functions inherited from cxxtools::IRemoteProcedure
 IRemoteProcedure (RemoteClient &client, const String &name)
virtual ~IRemoteProcedure ()
RemoteClientclient ()
void client (RemoteClient &client)
const Stringname () const
void cancel ()

Public Attributes

Signal< const RemoteResult< R > & > finished

Protected Member Functions

void onFinished ()

Protected Attributes

RemoteResult< R > _result
Composer< R > _r

Constructor & Destructor Documentation

template<typename R >
cxxtools::RemoteProcedureBase< R >::RemoteProcedureBase ( RemoteClient client,
const String name 
)
inline

Member Function Documentation

template<typename R >
const R& cxxtools::RemoteProcedureBase< R >::end ( std::size_t  msecs = RemoteClient::WaitInfinite)
inline
template<typename R >
virtual bool cxxtools::RemoteProcedureBase< R >::failed ( ) const
inlinevirtual
template<typename R >
void cxxtools::RemoteProcedureBase< R >::onFinished ( )
inlineprotectedvirtual
template<typename R >
const R& cxxtools::RemoteProcedureBase< R >::result ( )
inline
template<typename R >
void cxxtools::RemoteProcedureBase< R >::setFault ( int  rc,
const std::string &  msg 
)
inlinevirtual

Member Data Documentation

template<typename R >
Composer<R> cxxtools::RemoteProcedureBase< R >::_r
protected
template<typename R >
RemoteResult<R> cxxtools::RemoteProcedureBase< R >::_result
protected
template<typename R >
Signal< const RemoteResult<R> & > cxxtools::RemoteProcedureBase< R >::finished

The documentation for this class was generated from the following file: