#include <SctApiDebug.h>
Collaboration diagram for SctApi::Debug:
Public Member Functions | |
bool | checkDebugOption (std::string opt) const |
Check option is set, based on string (as enum in lower case without DEBUG and '_'). | |
bool | checkDebugOption (DebugOptions opt) const |
Check option is set, based on DebugOptions enum. | |
void | setDebugOption (std::string opt) |
Set an option. | |
void | unsetDebugOption (std::string opt) |
Reset an option. | |
std::list< std::string > | listEnabledDebugOptions () const |
Return list of all enabled options. | |
std::vector< std::string > | listDebugOptions () const |
Return list of all possible options. | |
Static Public Member Functions | |
static Debug * | getInstance () |
Return singleton instance. | |
Private Member Functions | |
void | setupDebugOptions () |
Debug () | |
Private Attributes | |
std::list< std::string > | debugList |
Which debug options are enabled. | |
std::vector< std::string > | debugOptionList |
Possible debug options. | |
Static Private Attributes | |
static Debug * | instance |
Definition at line 31 of file SctApiDebug.h.
|
Check option is set, based on DebugOptions enum.
Definition at line 53 of file SctApiDebug.cxx. References checkDebugOption(), and debugOptionList. Here is the call graph for this function: ![]() |
|
Check option is set, based on string (as enum in lower case without DEBUG and '_').
Definition at line 45 of file SctApiDebug.cxx. References debugList. Referenced by SctApi::ScanControlRODHisto::checkDebugOption(), checkDebugOption(), SctApi::checkDebugOption(), and SctApi::PrimBuilder::writeModuleVariable(). |
|
Return singleton instance.
Definition at line 170 of file SctApiDebug.cxx. References Debug(), and instance. Referenced by SctApi::ScanControlRODHisto::checkDebugOption(), SctApi::checkDebugOption(), SctApi::listDebugOptions(), SctApi::listEnabledDebugOptions(), SctApi::CrateImpl::rodInitialiseThread(), SctApi::setDebugOption(), SctApi::setup(), SctApi::unsetDebugOption(), and SctApi::PrimBuilder::writeModuleVariable(). Here is the call graph for this function: ![]() |
|
Return list of all possible options.
Definition at line 41 of file SctApiDebug.cxx. References debugOptionList. Referenced by SctApi::listDebugOptions(). |
|
Return list of all enabled options.
Definition at line 37 of file SctApiDebug.cxx. References debugList. Referenced by SctApi::listEnabledDebugOptions(). |
|
Set an option.
Definition at line 19 of file SctApiDebug.cxx. References debugList, and debugOptionList. Referenced by SctApi::setDebugOption(). |
|
Reset an option.
Definition at line 31 of file SctApiDebug.cxx. References debugList. Referenced by SctApi::unsetDebugOption(). |
|
Which debug options are enabled.
Definition at line 33 of file SctApiDebug.h. Referenced by checkDebugOption(), listEnabledDebugOptions(), setDebugOption(), and unsetDebugOption(). |
|
Possible debug options.
Definition at line 36 of file SctApiDebug.h. Referenced by checkDebugOption(), listDebugOptions(), setDebugOption(), and setupDebugOptions(). |