7#ifndef _ADTF_UCOM_ANT_RUNTIME_RUNTIME_HOOK_INTERFACE_INCLUDES_HEADER_
8#define _ADTF_UCOM_ANT_RUNTIME_RUNTIME_HOOK_INTERFACE_INCLUDES_HEADER_
329 uint32_t ui32Flags = 0) = 0;
376 const char* strNameOID,
378 uint32_t ui32Flags = 0) = 0;
389 const tChar* strNameOID =
"") = 0;
417 uint32_t ui32Flags = 0) = 0;
440 uint32_t ui32Flags=0) = 0;
521 const tChar* strNameOfObject =
"")
const = 0;
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
Definition result.h:736
Definition object_intf.h:33
Definition runtime_intf.h:32
virtual tResult RuntimeHook(const tHookInfo &sHookInfo, const iobject_ptr< IObject > &pObject)=0
Definition runtime_intf.h:104
virtual tResult UnregisterAllPlugins(int8_t nRunLevel, uint32_t ui32Flags=0)=0
tPluginFlags
InternalFlags.
Definition runtime_intf.h:275
@ PF_MARKEDFORDELETION
if plugin is unloaded, this is the flag for deletion
Definition runtime_intf.h:280
@ PF_UNMANAGED
Definition runtime_intf.h:277
@ PF_NONE
no flags, default setting
Definition runtime_intf.h:276
virtual tResult RegisterPlugin(const char *strUrl, int8_t nRunLevel, iobject_ptr< IPluginInfo > &pPluginInfo, uint32_t ui32Flags=0)=0
virtual tResult CreateInstance(const char *strCID, iobject_ptr< IObject > &pObject, const tChar *strNameOfObject="") const =0
ADTF_IID(IRuntime, "runtime.ant.ucom.adtf.iid")
virtual tResult SetRunLevel(int8_t nRunLevel, bool bWait=true)=0
virtual tResult RegisterClassFactory(const iobject_ptr< const IClassFactory > &pClassFactory, uint32_t ui32Flags=0)=0
tChangeRunLevelFlags
Run level change flags.
Definition runtime_intf.h:234
@ CRLF_PreDecrementLevel
Called before the run level is decremented.
Definition runtime_intf.h:245
@ CRLF_PreIncrementLevel
Called before the run level is incremented.
Definition runtime_intf.h:239
@ CRLF_None
Unused.
Definition runtime_intf.h:236
@ CRLF_PostDecrementLevel
Called after the run level was decremented.
Definition runtime_intf.h:248
@ CRLF_PostIncrementLevel
Called after the run level was incremented.
Definition runtime_intf.h:242
tRunLevel
Run levels.
Definition runtime_intf.h:115
@ RL_Shutdown
The system is shut down.
Definition runtime_intf.h:117
@ RL_Internal
Invalid run level that signals unmanaged modules.
Definition runtime_intf.h:120
virtual tResult GetObject(iobject_ptr< IObject > &pObject, const char *strNameOID) const =0
virtual tResult RegisterObject(const iobject_ptr< IObject > &pObject, const char *strNameOID, int8_t nRunLevel, uint32_t ui32Flags=0)=0
virtual int8_t GetRunLevel() const =0
virtual tResult GetObject(iobject_ptr< IObject > &pObject) const =0
virtual tResult GetClassFactories(iobject_enum< const IClassFactory > &lstOfClassFactories) const =0
virtual tResult GetClasses(iobject_enum< const IClassInfo > &lstOfClasses) const =0
virtual tResult UnregisterHook(IRuntimeHook &oHook)=0
tObjectRegistryFlags
Definition runtime_intf.h:266
@ ORF_ServiceIsShutdown
Definition runtime_intf.h:269
@ ORF_None
Definition runtime_intf.h:267
@ ORF_MarkedForDeletion
Definition runtime_intf.h:268
@ ORF_RegisterOnChangingRL
Definition runtime_intf.h:270
tClassRegistryFlags
Flags to affect the creation speed of classes.
Definition runtime_intf.h:285
@ CRF_FastCreation
The class is placed at the front of the classlist.
Definition runtime_intf.h:293
@ CRF_None
No special treatment.
Definition runtime_intf.h:287
@ CRF_NoAutoDeregistration
The class will be registered for the current Run level and will be automatically unregistered on post...
Definition runtime_intf.h:296
@ CRF_NoHookOnCreation
The runtime hooks don't get called.
Definition runtime_intf.h:290
virtual tResult RegisterHook(IRuntimeHook &oHook)=0
tRuntimeHookId
Runtime hook identifiers.
Definition runtime_intf.h:125
@ RHI_RunLevelPreIncrement
Definition runtime_intf.h:209
@ RHI_RunLevelPostDecrement
Definition runtime_intf.h:221
@ RHI_UnregisterClass
Definition runtime_intf.h:161
@ RHI_LoadPlugin
Definition runtime_intf.h:180
@ RHI_RunLevelDecrementing
Definition runtime_intf.h:229
@ RHI_RunLevelIncrementing
Definition runtime_intf.h:225
@ RHI_ServiceStarted
Definition runtime_intf.h:195
@ RHI_UnregisterObject
Definition runtime_intf.h:149
@ RHI_ServiceStopping
Definition runtime_intf.h:200
@ RHI_Start
Called after the runtime instance was started.
Definition runtime_intf.h:130
@ RHI_ServiceStarting
Definition runtime_intf.h:190
@ RHI_CreateInstance
Definition runtime_intf.h:185
@ RHI_RegisterObject
Definition runtime_intf.h:143
@ RHI_ServiceStopped
Definition runtime_intf.h:205
@ RHI_RunLevelPreDecrement
Definition runtime_intf.h:217
@ RHI_UnregisterPlugin
Definition runtime_intf.h:173
@ RHI_Create
Called after the runtime instance was created.
Definition runtime_intf.h:127
@ RHI_Stop
Called before the runtime instance is stopped.
Definition runtime_intf.h:133
@ RHI_RegisterClass
Definition runtime_intf.h:155
@ RHI_Destroy
Called before the runtime instance is destroyed.
Definition runtime_intf.h:136
@ RHI_RunLevelPostIncrement
Definition runtime_intf.h:213
@ RHI_RegisterPlugin
Definition runtime_intf.h:168
virtual tResult GetPlugins(iobject_enum< const IPluginInfo > &lstPluginInfos) const =0
virtual tResult UnregisterPlugin(const iobject_ptr< IPluginInfo > &pPluginInfo, uint32_t ui32Flags=0)=0
virtual tResult UnregisterClassFactory(const iobject_ptr< const IClassFactory > &pClassFactory)=0
tUnregisterObjectFlags
Run level change flags.
Definition runtime_intf.h:253
@ UOF_None
Unused.
Definition runtime_intf.h:255
@ UOF_Automatically
Automatically Unregistered Object by Runlevelchange.
Definition runtime_intf.h:261
@ UOF_Manually
Manually Unregistered Object.
Definition runtime_intf.h:258
~IRuntime()=default
Protected destructor --> Only the final implementation can be destroyed!
virtual tResult UnregisterObject(const iobject_ptr< IObject > &pObject, const tChar *strNameOID="")=0
virtual tResult GetObjects(iobject_enum< IObject > &lstOfObjects) const =0
Definition object_list.h:22
Base object pointer to realize binary compatible reference counting in interface methods.
Definition object_ptr_intf.h:112
Definition function_ptr.h:28
Definition runtime_intf.h:534
virtual bool StartupCompleted() const =0
ADTF_IID(IRuntimeStartup, "runtime_startup.spider.ucom.adtf.iid")
Definition runtime_intf.h:555
virtual tResult GetArguments(const adtf::ucom::nitro::ifunction< tResult(const char *)> &oCallback) const =0
ADTF_IID(IRuntimeArguments, "runtime_arguments.vision.ucom.adtf.iid")
Namespace for all functionality of the ADTF UCOM SDK provided since v3.0.
Definition test_runtime.h:14
Namespace for all functionality of the ADTF UCOM SDK provided since v3.18.
Definition runtime_intf.h:531
Namespace for all functionality of the ADTF UCOM SDK provided since v3.21.
Definition plugin_logging_intf.h:48
Namespace for the ADTF uCOM SDK.
Definition adtf_system.h:324
Namespace for all functionality provided by ADTF and its SDKs.
Definition adtf_client_connector.h:14
Definition runtime_intf.h:40
uint32_t ui32Param1
Depends on idHook.
Definition runtime_intf.h:42
void * pvData
optional data pointer.
Definition runtime_intf.h:44
size_t szData
size of the data provided through pvData.
Definition runtime_intf.h:45
uint32_t ui32Param2
Depends on idHook.
Definition runtime_intf.h:43
uint32_t idHook
Defines event type (IRuntime::tRuntimeHookId)
Definition runtime_intf.h:41