◆ TraceMaskOnGet()

virtual bool TraceMaskOnGet ( RSITrace  maskOn)
pure virtual

Check to see if a particular trace output mask is turned on.

ℹ This function is avaliable in RapidCode and RapidSequencer

Description:
TraceMaskOnGet returns true if a trace output mask is turned on, false if turned off.
Returns
(bool) The trace output mask - values are here RSITrace.
Parameters
maskOnRSITrace value we want to check.
Sample Code:
if (axis->TraceMaskOnSet(RSITraceFUNCTION_ENTRY)) // traces function name & calling parameters upon entry to function
{
printf("Function entry tracing is enabled\n");
}
See also
TraceFileSet, Trace, TraceMaskOnSet, TraceMaskOffSet, TraceMaskClear