An abstract interface that gives users access to debug logging controls.
More...
#include <dlapi.h>
An abstract interface that gives users access to debug logging controls.
- See also
- IGateway, getGateway() If Debug logging is supported, the IGateway pointer returned from getGateway() will inheritt from IDebugControl as well. You can check to see whether the version of DLAPI being used by your application supports these features using a dynamic cast:
++
if (pDebugCtrl != nullptr)
{
pDebugCtrl->setDebugControl(
Enable, 1);
}
An abstract interface that gives users access to debug logging controls.
Definition dlapi.h:2756
@ Enable
Enable: 0 = off, otherwise = on (getDebugSetting returns 1)
Definition dlapi.h:2759
DL_API IGatewayPtr MYCDECL getGateway()
Returns a pointer to an instance of a Gateway object, or (if one exists) return the existing pointer ...
◆ Setting
| Enumerator |
|---|
| Enable | Enable: 0 = off, otherwise = on (getDebugSetting returns 1)
|
| Count | |
| Last | |
| First | |
2758 {
2760
2764 };
@ First
Definition dlapi.h:2763
@ Last
Definition dlapi.h:2762
@ Count
Definition dlapi.h:2761
◆ getDebugSetting()
Gets a debug setting value.
- Parameters
-
| setting | The setting to retrieve |
- Returns
- the value of the setting passed in. 0 if the setting is not supported.
- See also
- setDebugSetting(), hasDebugSetting When retrieving values from the IDebugControl instance, you should always check to see if the setting is supported:
++
if (pDebugCtrl->hasDebugSetting(setting)
{
auto value = pDebugCtrl->getDebugSetting(setting);
}
◆ hasDebugSetting()
Check if the IDebugControl instance supports a debug setting.
- Parameters
-
| setting | The setting to check |
- Returns
- true if supported, false otherwise.
- See also
- getDebugSetting(), setDebugSetting Check to see if the setting is supported by calling this function as follows:
++
if (pDebugCtrl->hasDebugSetting(setting)
{
auto value = pDebugCtrl->getDebugSetting(setting);
}
◆ setDebugSetting()
Sets debug setting value.
- Parameters
-
| setting | The setting to change |
| val | the value to write for the setting provided in parameter 1 |
- See also
- getDebugSetting(), hasDebugSetting
The documentation for this class was generated from the following file:
- C:/Users/arobi/Perforce/nightly/DL_Imaging/Aluma_Software/dlapi/src/dlapi.h