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

Namespace for all provided testing functionality helper. More...

Namespaces

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

Classes

class  cTestRuntime
 
class  exec_forward
 
class  runtime_executor
 

Enumerations

enum  tTestRL
 

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)
 
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 clean_up ()
 

Detailed Description

Namespace for all provided testing functionality helper.

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()

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()

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.