winIDEA SDK
isys::CTestHIL Class Reference

Description

This class contains configuration for HIL.

#include <CTestHIL.h>

Inheritance diagram for isys::CTestHIL:
isys::CTestBase

Public Types

enum  ETestHILSections
 Ids of test specification sections.
 

Public Member Functions

bool isMerged () const
 Returns true, if the CTestSpecification section containing this object is merged. More...
 
const iconnect::StrVectorgetHILParamKeys ()
 Returns vector with names of HIL parameters to be initialized. More...
 
void getHILParamKeys (iconnect::StrVector &strVector)
 Returns the same items as getHILParamKeys(), but with original quoting.
 
void getHILParamValues (iconnect::StrVector &values)
 Returns vector with values of HIL parameters to be used for initialization. More...
 
void getHILParamMap (iconnect::StrStrMap &params)
 Returns assignments of HIL outputs in the same order as they were entered in stub specification. More...
 
virtual bool isEmpty () const
 This method returns true, if the object contains no data.
 
virtual void serialize (const isys::IEmitterSPtr &emitter)
 Sends contents of this class to emitter.
 
virtual std::string toString ()
 Returns object data as YAML string.
 

Static Public Member Functions

static CTestHILSPtr cast (CTestBaseSPtr &testBase)
 Casts the given object to this class. More...
 

Protected Member Functions

void setStaticTagsAsConst ()
 This method is called by all objects which are immediately contained in CTestSpecification, for example CTestCoverage, CTestHIL, ...
 

Member Function Documentation

◆ cast()

static CTestHILSPtr isys::CTestHIL::cast ( CTestBaseSPtr testBase)
static

Casts the given object to this class.

Returns NULL if input is NULL.

Exceptions
IllegalArgumentExceptionif input object is not instance of this class.

◆ getHILParamKeys()

const iconnect::StrVector & isys::CTestHIL::getHILParamKeys ( )

Returns vector with names of HIL parameters to be initialized.

The vector contains the names in the same order in which they were inserted into internal map, and this is also the order that should be used for initialization.

◆ getHILParamMap()

void isys::CTestHIL::getHILParamMap ( iconnect::StrStrMap params)

Returns assignments of HIL outputs in the same order as they were entered in stub specification.

Parameters
paramsobject to receive mapping data

◆ getHILParamValues()

void isys::CTestHIL::getHILParamValues ( iconnect::StrVector values)

Returns vector with values of HIL parameters to be used for initialization.

Values are returned in the order which matches keys returned by getHILParamKeys().

◆ isMerged()

bool isys::CTestHIL::isMerged ( ) const
virtual

Returns true, if the CTestSpecification section containing this object is merged.


Reimplemented from isys::CTestBase.