ADTF
Loading...
Searching...
No Matches
json_rpc_client_object_factory.h
Go to the documentation of this file.
1
7#pragma once
8#include <adtf_utils.h>
10#include "rpc_object_client.h"
11
12namespace adtf
13{
14namespace remote
15{
16namespace ant
17{
18
24{
25 static tResult CreateClient(IRPCObjectClientPtr& oClient,
26 const char* strRPCIID,
27 const char* strURL);
28 static tResult CreateClient(IRPCObjectClientPtr& oClient,
29 const char* strRPCIID,
30 const char* strHostURL,
31 const char* strRPCObjectName);
32};
33
34template<typename INTERFACE>
35rpc_object_client_ptr<INTERFACE> make_rpc_object_client_ptr(const char* strHostURL, const char* strObjectName)
36{
37 return make_rpc_object_client_ptr<INTERFACE, cJsonRPCClientObjectFactory>(strHostURL, strObjectName);
38}
39
40} //namespace ant
41
42using ant::cJsonRPCClientObjectFactory;
43using ant::make_rpc_object_client_ptr;
44
45} //namespace remote
46} //namespace adtf
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
Definition result.h:736
Definition rpc_object_client_intf.h:27
Definition rpc_object_client.h:23
Namespace for all functionality of the ADTF Remote SDK provided since v3.0.
Definition adtf_remote_clock_intf.h:16
Namespace for the ADTF Remote SDK.
Definition adtf_client_connector.h:16
Namespace for all functionality provided by ADTF and its SDKs.
Definition adtf_client_connector.h:14
Definition json_rpc_client_object_factory.h:24