winIDEA SDK
|
This class contains configuration for HIL.
#include <CTestHIL.h>
Public Types | |
enum | ETestHILSections |
Ids of test specification sections. | |
Public Member Functions | |
const iconnect::StrVector & | getHILParamKeys () |
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 | getHILParamMap (iconnect::StrStrMap ¶ms) |
Returns assignments of HIL outputs in the same order as they were entered in stub specification. More... | |
void | getHILParamValues (iconnect::StrVector &values) |
Returns vector with values of HIL parameters to be used for initialization. More... | |
virtual bool | isEmpty () const |
This method returns true, if the object contains no data. | |
bool | isMerged () const |
Returns true, if the CTestSpecification section containing this object is merged. More... | |
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, ... | |
|
static |
Casts the given object to this class.
Returns NULL if input is NULL.
IllegalArgumentException | if input object is not instance of this class. |
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.
void isys::CTestHIL::getHILParamMap | ( | iconnect::StrStrMap & | params | ) |
Returns assignments of HIL outputs in the same order as they were entered in stub specification.
params | object to receive mapping data |
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().
|
virtual |
Returns true, if the CTestSpecification section containing this object is merged.
Reimplemented from isys::CTestBase.