ADTF
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
adtf::ucom::testing Namespace Reference

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

Namespaces

namespace  ant
 Namespace for all functionality provided since v3.0.
 

Classes

class  cTestRuntime
 A testing runtime definition for own applications. More...
 
class  exec_forward
 This template makes will forward the runtime_executor function calls to the RuntimeClass. More...
 
class  runtime_executor
 This template makes sure to create and execute an instance of a runtime in a separate thread. More...
 

Enumerations

enum  tTestRL
 A testing runtime runlevel definition for own applications. More...
 

Functions

const adtf_util::cFilename find_plugin (const adtf::util::cString &strPluginName)
 find plugin helper.
 
const adtf_util::cFilename load_plugin (const adtf::util::cString &strPluginName, int8_t ui8Level, ucom::ant::IRuntime &oRuntime)
 load plugin helper.
 
void 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.
 
void clean_up ()
 cleans up the current _runtime returns void.
 

Detailed Description

Namespace for all provided testing functionality helper.

Enumeration Type Documentation

◆ tTestRL

enum tTestRL : int8_t

A testing runtime runlevel definition for own applications.

Definition at line 21 of file ucom3/include/adtfucom3/test_runtime.h.

Function Documentation

◆ find_plugin()

const adtf_util::cFilename 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 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 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.