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 =
"");
75 const std::string & interfaceName,
83 const std::string & interfaceName,
90 void setClientStubPtr(ClientStubPtr clientStubPtr);
98 ClientStubPtr getClientStubPtr()
const;
104 void checkClientInitialized();
106 ClientStubPtr mClientStubPtr;
110 std::string mInterfaceName;
111 mutable std::string mServerBindingName;
116 typedef std::shared_ptr<I_RcfClient> RcfClientPtr;
120 typedef char (&yes_type)[1];
121 typedef char (&no_type)[2];
123 template<
typename U>
static yes_type RCF_hasRcfClientTypedef(
typename U::RcfClientT *);
124 template<
typename U>
static no_type RCF_hasRcfClientTypedef(...);
129 typedef typename T::RcfClientT type;
143 Bool< sizeof(yes_type) == sizeof(RCF_hasRcfClientTypedef<T>(0)) >,
145 Identity<T> >::type type0;
147 typedef typename type0::type type;
150 class default_ {
char a[1]; };
151 class defined_ {
char a[2]; };
152 template<
typename T>
class Dummy {};
156 #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:82
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:248
Base class for all network endpoint types.
Definition: Endpoint.hpp:41
Definition: AmiIoHandler.hpp:24