Logo
Programmer's Guide Baumer GAPI SDK Reference v2.10.0
Static Public Member Functions | List of all members
BGAPI2::Trace Class Reference

The class Trace offers the possibility to monitor the program flow and detect errors. This class belongs to the additional classes. More...

#include <bgapi2_genicam.hpp>

Static Public Member Functions

static void Enable (bo_bool benable)
 This function switches the trace on. More...
 
static void ActivateOutputToFile (bo_bool bactive, String tracefilename)
 This function activates the writing of the trace messages into the specified file. More...
 
static void ActivateOutputToDebugger (bo_bool bactive)
 This function activates the writing of the trace messages into the debugger output. More...
 
static void ActivateMaskError (bo_bool bactive)
 This function activates the writing of errors. More...
 
static void ActivateMaskWarning (bo_bool bactive)
 This function activates the writing of warnings. More...
 
static void ActivateMaskInformation (bo_bool bactive)
 This function activates the writing of information. More...
 
static void ActivateOutputOptionTimestamp (bo_bool bactive)
 This function inserts a timestamp into the trace message. More...
 
static void ActivateOutputOptionTimestampDiff (bo_bool bactive)
 This function inserts a timestamp difference to the last message into the current message. More...
 
static void ActivateOutputOptionThreadId (bo_bool bactive)
 This function inserts the thread ident to the last message into the current message. More...
 
static void ActivateOutputOptionPrefix (bo_bool bactive)
 This function inserts a short prefix into the current message which specifies the source of the message, e.g. bgapi2_genicam.dll or a Baumer GenTL producer. More...
 

Detailed Description

The class Trace offers the possibility to monitor the program flow and detect errors. This class belongs to the additional classes.

This class consists exclusively of static functions.

Definition at line 932 of file bgapi2_genicam.hpp.

Member Function Documentation

◆ ActivateMaskError()

BGAPI2::Trace::ActivateMaskError ( bo_bool  bactive)
static

This function activates the writing of errors.

Parameters
bactiveThis flag activates the writing of errors.

◆ ActivateMaskInformation()

BGAPI2::Trace::ActivateMaskInformation ( bo_bool  bactive)
static

This function activates the writing of information.

Parameters
bactiveThis flag activates the writing of information.

◆ ActivateMaskWarning()

BGAPI2::Trace::ActivateMaskWarning ( bo_bool  bactive)
static

This function activates the writing of warnings.

Parameters
bactiveThis flag activates the writing of warnings.

◆ ActivateOutputOptionPrefix()

BGAPI2::Trace::ActivateOutputOptionPrefix ( bo_bool  bactive)
static

This function inserts a short prefix into the current message which specifies the source of the message, e.g. bgapi2_genicam.dll or a Baumer GenTL producer.

Parameters
bactiveThis flag activates the inserting of a short prefix.

◆ ActivateOutputOptionThreadId()

BGAPI2::Trace::ActivateOutputOptionThreadId ( bo_bool  bactive)
static

This function inserts the thread ident to the last message into the current message.

Parameters
bactiveThis flag activates the inserting of the threadid.

◆ ActivateOutputOptionTimestamp()

BGAPI2::Trace::ActivateOutputOptionTimestamp ( bo_bool  bactive)
static

This function inserts a timestamp into the trace message.

Parameters
bactiveThis flag activates the inserting of the timestamp.

◆ ActivateOutputOptionTimestampDiff()

BGAPI2::Trace::ActivateOutputOptionTimestampDiff ( bo_bool  bactive)
static

This function inserts a timestamp difference to the last message into the current message.

Parameters
bactiveThis flag activates the inserting of the timestamp difference.

◆ ActivateOutputToDebugger()

BGAPI2::Trace::ActivateOutputToDebugger ( bo_bool  bactive)
static

This function activates the writing of the trace messages into the debugger output.

Parameters
bactiveThis flag activates the writing of the trace messages into the debugger output.

◆ ActivateOutputToFile()

BGAPI2::Trace::ActivateOutputToFile ( bo_bool  bactive,
String  tracefilename 
)
static

This function activates the writing of the trace messages into the specified file.

Parameters
bactiveThis flag activates the writing of the trace messages into a file.
tracefilenameThe name of the file to which the trace messages is written.

◆ Enable()

BGAPI2::Trace::Enable ( bo_bool  benable)
static

This function switches the trace on.

Parameters
benableThis flag switches the trace on.

The documentation for this class was generated from the following file:
bgapi: BGAPI::Camera Class Reference

Jan, 14 2020
Baumer Optronic GmbH, Badstrasse 30, 01454 D-Radeberg, Tel:+49-3528-4386-0, Fax:+49-3528-4386-86, Email:support.cameras@baumer.com