winIDEA SDK
isys::CDAQConfigItem Class Reference

Description

This class contains configuration of one DAQ item.

#include <CDAQController.h>

Public Member Functions

 CDAQConfigItem (BYTE size, BYTE memArea, ADDRESS address, CDAQController::EDAQSamplingFlags sampling=CDAQController::daqSampleMax, uint32_t coreIndex=0, uint32_t socIndex=0)
 Creates DAQ sampling item at the given address in memory. More...
 
 CDAQConfigItem (const std::string &symbolName, CDAQController::EDAQSamplingFlags sampling=CDAQController::daqSampleMax, uint32_t coreIndex=0, uint32_t socIndex=0)
 Creates DAQ sampling item for the given symbol in memory. More...
 
 CDAQConfigItem (BYTE size, CDAQController::EDAQSamplingFlags sampling=CDAQController::daqSampleMax, uint32_t coreIndex=0, uint32_t socIndex=0)
 Creates DAQ sampling item for program counter register (PC). More...
 
std::string toString () const
 Returns contents of this object in human readable form.
 

Constructor & Destructor Documentation

◆ CDAQConfigItem() [1/3]

isys::CDAQConfigItem::CDAQConfigItem ( BYTE  size,
BYTE  memArea,
ADDRESS  address,
CDAQController::EDAQSamplingFlags  sampling = CDAQController::daqSampleMax,
uint32_t  coreIndex = 0,
uint32_t  socIndex = 0 
)

Creates DAQ sampling item at the given address in memory.

Core and SoC indices are set to 0.

Parameters
sizesize of the item in bytes
memAreamemory area of the item
addressaddress of the item
samplingsampling policy
coreIndexindex of the core
socIndexindex of the soc

◆ CDAQConfigItem() [2/3]

isys::CDAQConfigItem::CDAQConfigItem ( const std::string &  symbolName,
CDAQController::EDAQSamplingFlags  sampling = CDAQController::daqSampleMax,
uint32_t  coreIndex = 0,
uint32_t  socIndex = 0 
)

Creates DAQ sampling item for the given symbol in memory.

Parameters
symbolNamename of the variable to monitor
samplingsampling policy
coreIndexindex of core
socIndexindex of SoC

◆ CDAQConfigItem() [3/3]

isys::CDAQConfigItem::CDAQConfigItem ( BYTE  size,
CDAQController::EDAQSamplingFlags  sampling = CDAQController::daqSampleMax,
uint32_t  coreIndex = 0,
uint32_t  socIndex = 0 
)

Creates DAQ sampling item for program counter register (PC).

Parameters
sizesize of the PC in bytes
samplingsampling policy
coreIndexindex of core
socIndexindex of SoC