My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
gcp::util::MonitorPoint::ConditionHandler Struct Reference

Public Member Functions

 ConditionHandler ()
 
 ConditionHandler (const ConditionHandler &handler)
 
 ConditionHandler (ConditionHandler &handler)
 
void operator= (ConditionHandler &handler)
 
void operator= (const ConditionHandler &handler)
 
bool operator== (const ConditionHandler &handler)
 
void callHandler (bool conditionWasMet)
 
bool checkCondition (bool isSim, DataType &dataType)
 
void reset ()
 
std::string format (std::string &reg)
 

Public Attributes

MonitorCondition condition_
 
MONITOR_CONDITION_HANDLER * handler_
 
void * arg_
 
std::string message_
 
std::string script_
 
unsigned packetCount_
 
unsigned stablePacketCount_
 
unsigned giveUpPacketCount_
 
bool isPersistent_
 

Constructor & Destructor Documentation

MonitorPoint::ConditionHandler::ConditionHandler ( )

....................................................................... Initialize a handler container

MonitorPoint::ConditionHandler::ConditionHandler ( const ConditionHandler handler)

....................................................................... Initialize a handler container

MonitorPoint::ConditionHandler::ConditionHandler ( ConditionHandler handler)

....................................................................... Initialize a handler container

Member Function Documentation

void MonitorPoint::ConditionHandler::callHandler ( bool  conditionWasSatisfied)

....................................................................... Call the handler

bool MonitorPoint::ConditionHandler::checkCondition ( bool  isSim,
DataType dataType 
)

....................................................................... Check the condition we are handling. Return true if the condition was met, or if we are ready to stop checking for this condition

std::string MonitorPoint::ConditionHandler::format ( std::string &  reg)

....................................................................... Format the condition associated with this handler

void MonitorPoint::ConditionHandler::operator= ( const ConditionHandler handler)

....................................................................... Assign a handler container

bool MonitorPoint::ConditionHandler::operator== ( const ConditionHandler handler)

....................................................................... Initialize a handler container

void MonitorPoint::ConditionHandler::reset ( )

....................................................................... Check the condition we are handling. Return true if the condition was met, or if we are ready to stop checking for this condition


The documentation for this struct was generated from the following files: