This class defines values for stack usage measurements. More...
#include <CTestEnvironmentConfig.h>
Public Types | |
| enum | EStackUsageConfigSections |
| Ids of test specification sections. | |
Public Member Functions | |
| CStackUsageConfig () | |
| Default ctor. | |
| CStackUsageConfig (const CTestBaseSPtr &parent) | |
| Initializes new instance. | |
| DWORD | getBase () |
| std::string | getBaseExpr () |
| Returns low address of stack area. | |
| std::string | getCoreId () |
| Returns ID of the core, which stack usage has to be measured. | |
| DWORD | getEnd () |
| std::string | getEndExpr () |
| Returns high address of stack area. | |
| int | getPattern () |
| Returns pattern for stack seed. | |
| bool | isActive () |
| Returns E_TRUE, if stack usage measurement should be initialized. | |
| 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. | |
| void | setActive (iconnect::ETristate isActive) |
| Sets stack usage measurement status. | |
| void | setBase (DWORD minSize) |
| Sets low address of stack area. | |
| void | setCoreId (const std::string &coreId) |
| Sets ID of the core, which stack usage has to be measured. | |
| void | setEnd (DWORD maxSize) |
| Sets high address of stack area. | |
| void | setPattern (unsigned char pattern) |
| Sets pattern for stack seed. | |
| virtual std::string | toString () |
| Returns object data as YAML string. | |
Static Public Member Functions | |
| static CStackUsageConfigSPtr | cast (const CTestBaseSPtr &testBase) |
| Casts the given object to this class. | |
Protected Member Functions | |
| void | setStaticTagsAsConst () |
| This method is called by all objects which are immediately contained in CTestSpecification, for example CTestCoverage, CTestHIL, ... | |
This class defines values for stack usage measurements.
| isys::CStackUsageConfig::CStackUsageConfig | ( | const CTestBaseSPtr & | parent | ) |
Initializes new instance.
| parent | an instance of parent CTestBase. |
|
static |
Casts the given object to this class.
Returns NULL if input is NULL.
| IllegalArgumentException | if input object is not instance of this class. |
| DWORD isys::CStackUsageConfig::getBase | ( | ) |
| std::string isys::CStackUsageConfig::getCoreId | ( | ) |
Returns ID of the core, which stack usage has to be measured.
Core IDs are set in CTestEnvironmentConfig, tag 'coreIds'.
| DWORD isys::CStackUsageConfig::getEnd | ( | ) |
| bool isys::CStackUsageConfig::isActive | ( | ) |
Returns E_TRUE, if stack usage measurement should be initialized.
Default value (E_DEFAULT) means false.
| void isys::CStackUsageConfig::setActive | ( | iconnect::ETristate | isActive | ) |
Sets stack usage measurement status.
E_DEFAULT means not active.
| void isys::CStackUsageConfig::setCoreId | ( | const std::string & | coreId | ) |
Sets ID of the core, which stack usage has to be measured.
Core IDs are set in CTestEnvironmentConfig, tag 'coreIds'.