ADTF
Loading...
Searching...
No Matches
adtf::ucom::testing::ant Namespace Reference

Namespace for all functionality of the ADTF UCOM SDK provided since v3.0. More...

Classes

class  cExecutorThread
 
class  cTestRuntime
 
class  exec_forward
 
class  exec_forward< adtf::system::ant::cADTFSystem >
 
class  runtime_executor
 

Enumerations

enum  tTestRL : int8_t { RL_Shutdown = IRuntime::RL_Shutdown , RL_System = 1 , RL_Application = 2 , RL_Running = 3 }
 

Functions

const adtf_util::cFilename find_plugin (const adtf::util::cString &strPluginName)
 
const adtf_util::cFilename load_plugin (const adtf::util::cString &strPluginName, int8_t ui8Level, ucom::ant::IRuntime &oRuntime)
 
const adtf_util::cFilename load_plugin (const adtf::util::cString &strPluginName, int8_t ui8Level)
 
const adtf_util::cFilename load_plugin (const adtf::util::cString &strPluginName)
 
void load_service (const adtf_util::cString &strPluginName, const adtf_util::cString &strClassId, const adtf_util::cString &strObjectId, int8_t nPluginLevel, int8_t nServiceLevel)
 
void load_service (const adtf_util::cString &strPluginName, const adtf_util::cString &strClassId, const adtf_util::cString &strObjectId, int8_t nServiceLevel)
 
void clean_up ()
 

Detailed Description

Namespace for all functionality of the ADTF UCOM SDK provided since v3.0.

Enumeration Type Documentation

◆ tTestRL

A testing runtime runlevel definition for own applications.

Function Documentation

◆ clean_up()

void adtf::ucom::testing::ant::clean_up ( )

cleans up the current _runtime returns void.

◆ find_plugin()

const adtf_util::cFilename adtf::ucom::testing::ant::find_plugin ( const adtf::util::cString & strPluginName)

find plugin helper.

Parameters
strPluginName[in] Path to the plugin. if path is relative it will try to resolve to ITestBench::GetPluginDirs().
Returns
returns the resolved filename if found.

◆ load_plugin() [1/3]

const adtf_util::cFilename adtf::ucom::testing::ant::load_plugin ( const adtf::util::cString & strPluginName)

load plugin helper.

Parameters
strPluginName[in] Path to the plugin. if path is relative it will try to resolve to ITestBench::GetPluginDirs().
Returns
returns the resolved filename if found.

◆ load_plugin() [2/3]

const adtf_util::cFilename adtf::ucom::testing::ant::load_plugin ( const adtf::util::cString & strPluginName,
int8_t ui8Level )

load plugin helper.

Parameters
strPluginName[in] Path to the plugin. if path is relative it will try to resolve to ITestBench::GetPluginDirs.
ui8Level[in] level where to register plugin
Returns
returns the resolved filename if found.

◆ load_plugin() [3/3]

const adtf_util::cFilename adtf::ucom::testing::ant::load_plugin ( const adtf::util::cString & strPluginName,
int8_t ui8Level,
ucom::ant::IRuntime & oRuntime )

load plugin helper.

Parameters
strPluginName[in] Path to the plugin. if path is relative it will try to resolve to ITestBench::GetPluginDirs.
ui8Level[in] level where to register plugin
oRuntime[in] runtime where to register plugin
Returns
returns the resolved filename if found.

◆ load_service() [1/2]

void adtf::ucom::testing::ant::load_service ( const adtf_util::cString & strPluginName,
const adtf_util::cString & strClassId,
const adtf_util::cString & strObjectId,
int8_t nPluginLevel,
int8_t nServiceLevel )

load plugin and create a service.

Parameters
strPluginName[in] Path to the plugin. if path is relative it will try to resolve to ITestBench::GetPluginDirs.
strClassId[in] class identifier to create the service
strObjectId[in] object identifier to register within _runtime.
nPluginLevel[in] to register the plugin
nServiceLevel[in] service level the runtime will unregister the object automatically.
Returns
void.

◆ load_service() [2/2]

void adtf::ucom::testing::ant::load_service ( const adtf_util::cString & strPluginName,
const adtf_util::cString & strClassId,
const adtf_util::cString & strObjectId,
int8_t nServiceLevel )

load plugin and create a service. The plugin will be registered for RL_Internal.

Parameters
strPluginName[in] Path to the plugin. if path is relative it will try to resolve to ITestBench::GetPluginDirs.
strClassId[in] class identifier to create the service
strObjectId[in] object identifier to register within _runtime.
nServiceLevel[in] service level the runtime will unregister the object automatically.
Returns
void.