ADTF  3.18.2
adtf_runtime_intf.h
Go to the documentation of this file.
1 
7 #pragma once
8 
9 #include <adtfucom3/adtf_ucom3.h>
10 
11 namespace adtf
12 {
13 namespace base
14 {
15 
16 namespace quiet
17 {
18 
23 {
24  public:
29  ADTF_IID(IADTFRuntime, "adtf_runtime.quiet.base.adtf.iid");
30 
34  enum class tADTFMicroRunLevel : int8_t
35  {
39  MRL_System = 10,
41  MRL_Session = 20,
43  MRL_StreamingGraph = 30,
44 
51 
55  MRL_Running = 50,
58 
60  };
61 
65  enum tRuntimeHookId : uint32_t
66  {
69  RHI_MicroRunLevelPreIncrement = adtf::ucom::ant::IRuntime::tRuntimeHookId::RHI_RunLevelPreIncrement + 100,
70 
74 
78 
82 
86 
90  };
91 
95  enum tServiceEvent: uint32_t
96  {
97  SE_ChangeMicroRunLevel = adtf::ucom::ant::IService::tServiceEvent::SE_ChangeRunLevel + 100
98  };
99 
106  virtual tResult SetMicroRunLevel(tADTFMicroRunLevel nRunlevelToChangeTo, bool bWait=true) = 0;
107 
112 };
113 
114 }
115 
116 using quiet::IADTFRuntime;
117 
118 }
119 }
Copyright © Audi Electronics Venture GmbH.
Interface for accessing additional funcionality within the ADTF runtime.
virtual tResult SetMicroRunLevel(tADTFMicroRunLevel nRunlevelToChangeTo, bool bWait=true)=0
Request a change to the given micro runlevel.
virtual tADTFMicroRunLevel GetMicroRunLevel() const =0
tServiceEvent
Additional events for micro runlevel changes.
tRuntimeHookId
Additional hooks for micro runlevel changes.
@ RHI_MicroRunLevelPostDecrement
Called after the run level was decremented.
@ RHI_MicroRunLevelPreIncrement
Called before the run level is incremented.
@ RHI_MicroRunLevelPostIncrement
Called after the run level was incremented.
@ RHI_MicroRunLevelDecrementing
Called while the run level is decrementing.
@ RHI_MicroRunLevelPreDecrement
Called before the run level is decremented.
@ RHI_MicroRunLevelIncrementing
Called before the run level is incrementing.
ADTF_IID(IADTFRuntime, "adtf_runtime.quiet.base.adtf.iid")
Marks the IRuntime to be castable with the ucom_cast<>
tADTFMicroRunLevel
Micro Runlevels offer more fine grained control to initialization etc.
@ MRL_FilterGraphReady
All graph objects are connected and ready to be started.
@ MRL_Max
maximum level that can be reached
@ MRL_FilterGraphConstructed
All graph objects are constructed.
@ MRL_FilterGraphInitialized
All graph objects are initialized and ready to be connected.
Base class for every interface type within the uCOM.
Definition: object_intf.h:31
@ RL_Shutdown
The system is shut down.
Definition: runtime_intf.h:124
@ RL_Internal
Invalid run level that signals unmanaged modules.
Definition: runtime_intf.h:127
Namespace for entire ADTF SDK.