21 #ifndef INCLUDE_RCF_RCFCLIENT_HPP 22 #define INCLUDE_RCF_RCFCLIENT_HPP 28 #include <RCF/Export.hpp> 30 #include <RCF/Exception.hpp> 35 RCF_EXPORT
void setCurrentCallDesc(std::string& desc, RCF::MethodInvocationRequest& request,
const char * szFunc,
const char * szArity);
38 template<
typename Interface>
39 inline std::string getInterfaceName(Interface * = 0)
41 return Interface::getInterfaceName();
54 const std::string & interfaceName,
58 const std::string & interfaceName,
60 const std::string & serverBindingName =
"");
63 const std::string & interfaceName,
65 const std::string & serverBindingName =
"");
68 const std::string & interfaceName,
70 const std::string & serverBindingName =
"");
73 const std::string & interfaceName,
80 void setClientStubPtr(ClientStubPtr clientStubPtr);
88 ClientStubPtr getClientStubPtr()
const;
94 ClientStubPtr mClientStubPtr;
96 std::string mInterfaceName;
101 typedef std::shared_ptr<I_RcfClient> RcfClientPtr;
105 typedef char (&yes_type)[1];
106 typedef char (&no_type)[2];
108 template<
typename U>
static yes_type RCF_hasRcfClientTypedef(
typename U::RcfClientT *);
109 template<
typename U>
static no_type RCF_hasRcfClientTypedef(...);
114 typedef typename T::RcfClientT type;
128 Bool< sizeof(yes_type) == sizeof(RCF_hasRcfClientTypedef<T>(0)) >,
130 Identity<T> >::type type0;
132 typedef typename type0::type type;
135 class default_ {
char a[1]; };
136 class defined_ {
char a[2]; };
137 template<
typename T>
class Dummy {};
141 #endif // ! INCLUDE_RCF_RCFCLIENT_HPP
Base class of all RcfClient<> templates.
Definition: RcfClient.hpp:45
Represents the binding of a server-side servant object to a RCF interface.
Definition: ServerStub.hpp:326
Controls the client side of a RCF connection.
Definition: ClientStub.hpp:69
std::unique_ptr< ClientTransport > ClientTransportUniquePtr
Unique pointer wrapper for RCF::ClientTransport.
Definition: RcfFwd.hpp:43
std::shared_ptr< ServerBinding > ServerBindingPtr
Reference counted wrapper for RCF::ServerBinding.
Definition: RcfFwd.hpp:246
Base class for all network endpoint types.
Definition: Endpoint.hpp:41
Definition: AmiIoHandler.hpp:24