INOS
CINOSTaskExTracer Class Reference

#include <cinostaskex.h>

Static Public Member Functions

static void MsgFctCall (CINOSTaskExMsg &aMsg, const uint32 auTraceLevel=DF_INOS_EVENT_LOGGER_LEVEL_TASKCMD, const uint32 auTraceColor=DF_INOS_EVENT_LOGGER_FONT_COLOR_GREEN, CINCOObject *apCmd=NULL)
 
static void McLog (CINOSTaskExMsg &aMsg)
 

Detailed Description

Helper that provides some trace message functions which are related CINOSTaskEx.

Member Function Documentation

◆ McLog()

static void CINOSTaskExTracer::McLog ( CINOSTaskExMsg aMsg)
static

Creates the trace message of aMsg in the format as expected by McLog.

◆ MsgFctCall()

static void CINOSTaskExTracer::MsgFctCall ( CINOSTaskExMsg aMsg,
const uint32  auTraceLevel = DF_INOS_EVENT_LOGGER_LEVEL_TASKCMD,
const uint32  auTraceColor = DF_INOS_EVENT_LOGGER_FONT_COLOR_GREEN,
CINCOObject *  apCmd = NULL 
)
static

Create a trace of the aMsg that looks like the function call by which aMsg has been created. The trace will be formatted like the according function call. e.g. 'FeedInput("Cutter", -0.5)'. The trace will only be generated if the specified trace level is active

Parameters
aMsgThe task message object
auTraceLevelThe trace level to be used
auTraceColorThe trace color
apCmdUsually, the "function name" is registered in the INCOTree. By passing the parent of the registered procedure, the function will use the item-order of the procedure if no specific name is given for the message.

The documentation for this class was generated from the following file: