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>
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.
◆ ActivateMaskError()
BGAPI2::Trace::ActivateMaskError |
( |
bo_bool |
bactive | ) |
|
|
static |
This function activates the writing of errors.
- Parameters
-
bactive | This flag activates the writing of errors. |
◆ ActivateMaskInformation()
BGAPI2::Trace::ActivateMaskInformation |
( |
bo_bool |
bactive | ) |
|
|
static |
This function activates the writing of information.
- Parameters
-
bactive | This flag activates the writing of information. |
◆ ActivateMaskWarning()
BGAPI2::Trace::ActivateMaskWarning |
( |
bo_bool |
bactive | ) |
|
|
static |
This function activates the writing of warnings.
- Parameters
-
bactive | This 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
-
bactive | This 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
-
bactive | This 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
-
bactive | This 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
-
bactive | This 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
-
bactive | This 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
-
bactive | This flag activates the writing of the trace messages into a file. |
tracefilename | The 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
-
benable | This flag switches the trace on. |
The documentation for this class was generated from the following file: