ADTF  3.18.3
adtf_remote_system_intf.h
Go to the documentation of this file.
1 
7 #pragma once
8 
9 #include <adtf_utils.h>
10 #include <adtfucom3/adtf_ucom3.h>
12 
13 namespace adtf
14 {
15 namespace remote
16 {
17 namespace ant
18 {
19 
24 class ISystem
25 {
26 public:
28  ADTF_IID(ISystem, "system.ant.remote.adtf");
30  static constexpr const tChar* const DEFAULT_NAME = "system";
31 
32 public:
38  virtual const char* GetObjects() const = 0;
39 
48  virtual const char* GetRPCIIDForObject(const char* strObject) const = 0;
49 
58  virtual int8_t GetRunlevel() const = 0;
59 
70  virtual tResult SetRunlevel(int8_t nRunLevel) = 0;
71 
77  virtual const char* GetLastErrorString() const = 0;
78 
85  virtual tResult Shutdown() = 0;
86 
93  virtual uint64_t GetProcessID() const = 0;
94 };
95 
96 }
97 
98 namespace bat
99 {
100 
101 class ISystem: public ant::ISystem
102 {
103  public:
105  ADTF_IID(ISystem, "system.bat.remote.adtf");
106 
107  public:
116  virtual const char* GetRPCIIDsForObject(const char* strObject) const = 0;
117 };
118 
119 }
120 
121 namespace catwo
122 {
123 
124 class ISystem: public bat::ISystem
125 {
126  public:
128  ADTF_IID(ISystem, "system.catwo.remote.adtf");
129 
130  public:
138  virtual int CreateEventBuffer(const char* strObject, const char* strStructName, const char* strDDL) = 0;
139 
145  virtual tResult ReleaseEventBuffer(int nBufferID) = 0;
146 
152 
159  virtual const char* RetrieveEvents(int nBufferID) = 0;
160 
165  virtual const char* GetInterfaceDefinition(const char* strObject) = 0;
166 };
167 
168 }
169 
170 namespace devil
171 {
172 
173 class ISystem: public catwo::ISystem
174 {
175  public:
177  ADTF_IID(ISystem, "system.devil.remote.adtf");
178 
179  public:
183  virtual const char* GetSystemStatus() const = 0;
184 };
185 
186 }
187 
188 
189 namespace hollow
190 {
191 
192  class ISystem : public devil::ISystem
193  {
194  public:
196  ADTF_IID(ISystem, "system.giant.remote.adtf");
197 
198  public:
226  virtual const char* GetComponents() const = 0;
227  };
228 
229 }
230 
231 namespace quiet
232 {
233 
235 {
236 public:
238  ADTF_IID(ISystem, "system.quiet.remote.adtf");
239 
249 
261 
262 };
263 
264 }
265 
266 namespace spider
267 {
268 
269 class ISystem: public quiet::ISystem
270 {
271 public:
273  ADTF_IID(ISystem, "system.spider.remote.adtf");
274 
279  virtual tResult StartupCompleted() const = 0;
280 };
281 
282 }
283 
284 using spider::ISystem;
285 
286 }
287 }
288 
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.
char tChar
The tChar defines the type for platform character set (platform and compiler dependent type).
tADTFMicroRunLevel
Micro Runlevels offer more fine grained control to initialization etc.
Interface of the ADTF System RPC object server.
virtual const char * GetObjects() const =0
Retrieves a comma separated list of rpc object names currently registered within the the adtf::servic...
virtual uint64_t GetProcessID() const =0
Request the current process ID if system is available.
static constexpr const tChar *const DEFAULT_NAME
Default RPC object server name of the ADTF System RPC object server.
virtual tResult SetRunlevel(int8_t nRunLevel)=0
Request a runlevel change.
virtual const char * GetRPCIIDForObject(const char *strObject) const =0
Retrieves the RPC interface ID of given rpc object.
ADTF_IID(ISystem, "system.ant.remote.adtf")
RPC interface ID of the ADTF System RPC object server.
virtual int8_t GetRunlevel() const =0
Retrieves the current Runlevel of the System.
virtual const char * GetLastErrorString() const =0
Retrieves the Last error String.
virtual tResult Shutdown()=0
Request a runlevel change to shutdown and exit the System.
virtual const char * GetRPCIIDsForObject(const char *strObject) const =0
Retrieves the RPC interfaces of a given rpc object.
ADTF_IID(ISystem, "system.bat.remote.adtf")
RPC interface ID of the ADTF System RPC object server.
virtual tResult ReleaseEventBuffer(int nBufferID)=0
Releases an event buffer and all associated resources.
virtual int CreateEventBuffer(const char *strObject, const char *strStructName, const char *strDDL)=0
Creates a new event buffer.
virtual const char * GetInterfaceDefinition(const char *strObject)=0
Returns the interface definition of the given RPC object.
virtual tResult ReleaseAllEventBuffers()=0
Releases all currently available event buffers and all associated resources.
virtual const char * RetrieveEvents(int nBufferID)=0
Returns a string representation of all events since the last call.
ADTF_IID(ISystem, "system.catwo.remote.adtf")
RPC interface ID of the ADTF System RPC object server.
ADTF_IID(ISystem, "system.devil.remote.adtf")
RPC IID of the Interface.
virtual const char * GetSystemStatus() const =0
virtual const char * GetComponents() const =0
ADTF_IID(ISystem, "system.giant.remote.adtf")
RPC IID of the Interface.
ADTF_IID(ISystem, "system.quiet.remote.adtf")
RPC interface ID of the ADTF System RPC object server.
virtual tResult SetMicroRunlevel(base::quiet::IADTFRuntime::tADTFMicroRunLevel nMicroRunLevel)=0
Request a runlevel change.
virtual base::quiet::IADTFRuntime::tADTFMicroRunLevel GetMicroRunlevel() const =0
Retrieves the current micro runlevel of the System.
ADTF_IID(ISystem, "system.spider.remote.adtf")
RPC interface ID of the ADTF System RPC object server.
virtual tResult StartupCompleted() const =0
Namespace for entire ADTF SDK.