ADTF  3.18.4
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 
12 namespace adtf
13 {
14 namespace remote
15 {
16 namespace 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 
34 template<typename INTERFACE>
35 rpc_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 
42 using ant::cJsonRPCClientObjectFactory;
43 using ant::make_rpc_object_client_ptr;
44 
45 } //namespace remote
46 } //namespace adtf
Copyright © Audi Electronics Venture GmbH.
Namespace for entire ADTF SDK.
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.
Default ADTF RPC Client Factory to create Json Object Clients!