ADTF  3.18.2
testing/include/adtftesting/test_runtime.h
Go to the documentation of this file.
1 
7 #pragma once
8 
9 namespace adtf
10 {
11 namespace ucom
12 {
13 namespace ant
14 {
15 
16 class IRuntime;
17 
18 }
19 }
20 }
21 
23 
24 namespace adtf
25 {
26 namespace testing
27 {
28 namespace giant
29 {
30 
31 template <typename RuntimeImplementation>
32 class test_runtime: public RuntimeImplementation
33 {
34  public:
35  test_runtime() { _runtime = this; }
36  ~test_runtime() { _runtime = nullptr; }
37 };
38 
39 }
40 
42 
43 }
44 }
The IRuntime interface controls global system startup and shutdown.
Definition: runtime_intf.h:111
Namespace for entire ADTF SDK.
adtf::ucom::IRuntime * _runtime
Global Runtime Pointer to reference to the current runtime.