ADTF  3.18.2
adtf_remote_system.h
Go to the documentation of this file.
1 
7 #ifndef ADTF_REMOTE_SYSTEM_H
8 #define ADTF_REMOTE_SYSTEM_H
9 
10 namespace adtf
11 {
12 namespace remote
13 {
14 namespace ant
15 {
16 
23 #define ADTF_REMOTE_DEFAULT_HOST_URL "http://localhost:8000"
24 
30 {
31  private:
33  class cADTFRemoteSystemPrivate;
34  std::unique_ptr<cADTFRemoteSystemPrivate> _d;
35 
36  protected:
39 
40  public:
46  explicit cADTFRemoteSystem(const char* strHostUrl);
47 
52 
57  static constexpr const char* const DEFAULT_HOST_URL = ADTF_REMOTE_DEFAULT_HOST_URL;
58 
59  public:
66  adtf::util::cStringList FindObjectsByRPCIID(const char* strRPCIID) const;
67 
98  tResult GetObjectClient(const char* strObject, IRPCObjectClientPtr& oClient) const;
105  tResult Ping() const;
110  uint64_t GetProcessID() const;
116 };
117 }
118 
120 
121 }
122 }
123 
124 #endif //ADTF_REMOTE_SYSTEM_H
#define ADTF_REMOTE_DEFAULT_HOST_URL
ADTF System Launcher default JSon Server Address.
Default ADTF RPC Client Factory to create Json Object Clients! This factory can will create the Defau...
tResult Ping() const
Requests a response of the ADTF Remote System.
adtf::util::cString GetHostURL() const
Gets the current Host URL.
static constexpr const char *const DEFAULT_HOST_URL
ADTF System Launcher default JSon Server Address.
cADTFRemoteSystem(const char *strHostUrl)
CTOR.
tResult GetObjectClient(const char *strObject, IRPCObjectClientPtr &oClient) const
Retrieves an implementation of a IRPCObjectClient for the given object if supported.
adtf::util::cStringList FindObjectsByRPCIID(const char *strRPCIID) const
Retrieves a list of objectnames registered within the adtf::services::ant::IRPCObjectServerRegistry o...
uint64_t GetProcessID() const
Get Process ID.
string_base< cStackString > cString
cString implementation for a stack string which works on stack if string is lower than A_UTILS_DEFAUL...
Definition: string.h:2778
Namespace for entire ADTF SDK.