20 #ifndef INCLUDE_RCF_RCFCLIENT_HPP 21 #define INCLUDE_RCF_RCFCLIENT_HPP 27 #include <RCF/Export.hpp> 29 #include <RCF/Exception.hpp> 34 RCF_EXPORT
void setCurrentCallDesc(std::string& desc, RCF::MethodInvocationRequest& request,
const char * szFunc,
const char * szArity);
37 template<
typename Interface>
38 inline std::string getInterfaceName(Interface * = 0)
40 return Interface::getInterfaceName();
53 const std::string & interfaceName,
57 const std::string & interfaceName,
59 const std::string & serverBindingName =
"");
62 const std::string & interfaceName,
64 const std::string & serverBindingName =
"");
67 const std::string & interfaceName,
69 const std::string & serverBindingName =
"");
74 const std::string & interfaceName,
82 const std::string & interfaceName,
89 void setClientStubPtr(ClientStubPtr clientStubPtr);
97 ClientStubPtr getClientStubPtr()
const;
103 void checkClientInitialized();
105 ClientStubPtr mClientStubPtr;
109 std::string mInterfaceName;
110 mutable std::string mServerBindingName;
115 typedef std::shared_ptr<I_RcfClient> RcfClientPtr;
119 typedef char (&yes_type)[1];
120 typedef char (&no_type)[2];
122 template<
typename U>
static yes_type RCF_hasRcfClientTypedef(
typename U::RcfClientT *);
123 template<
typename U>
static no_type RCF_hasRcfClientTypedef(...);
128 typedef typename T::RcfClientT type;
142 Bool< sizeof(yes_type) == sizeof(RCF_hasRcfClientTypedef<T>(0)) >,
144 Identity<T> >::type type0;
146 typedef typename type0::type type;
149 class default_ {
char a[1]; };
150 class defined_ {
char a[2]; };
151 template<
typename T>
class Dummy {};
155 #endif // ! INCLUDE_RCF_RCFCLIENT_HPP
Base class of all RcfClient<> templates.
Definition: RcfClient.hpp:44
Represents the binding of a server-side servant object to a RCF interface.
Definition: ServerStub.hpp:325
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:40
Definition: AmiIoHandler.hpp:23