FARGOS/VISTA Object Management Environment Core  ..
FARGOS/VISTA Object Management Environment Core Table of Contents
OMEdebugInfo.h File Reference

OME debug and profiling interfaces. More...

Go to the source code of this file.

Classes

class  OMEprofileRecord
 Base class for OME profiling variable. More...
 
class  OMEprofileCounter< NUMTYPE >
 Base class for application profiling counters or numerical system information. More...
 
class  OMEprofileString< MAXLEN >
 Base type for system information represented as strings. More...
 

Macros

#define OMEdebugMethodInvocations   (2 << 0)
 
#define OMEdebugObjectCreate   (2 << 1)
 
#define OMEdebugObjectDelete   (2 << 2)
 
#define OMEdebugThreadDelete   (2 << 3)
 
#define OMEdebugIncludeArguments   (2 << 4)
 
#define OMEdebugEvents   (2 << 5)
 
#define OMEdebugExceptions   (2 << 6)
 
#define OMEdebugBlockedInvocations   (2 << 7)
 
#define OMEdebugOIL2instructions   (2 << 9)
 
#define OMEdebugBadParameter   (2 << 10)
 
#define OMEdebugProfileCounters   (2 << 11)
 
#define __OME_LOG_LEVEL_BASE   20
 
#define OMEdebugLogLevel0   (1 << (__OME_LOG_LEVEL_BASE + 0))
 
#define OMEdebugLogLevel1   (1 << (__OME_LOG_LEVEL_BASE + 1))
 
#define OMEdebugLogLevel2   (1 << (__OME_LOG_LEVEL_BASE + 2))
 
#define OMEdebugLogLevel3   (1 << (__OME_LOG_LEVEL_BASE + 3))
 
#define OMEdebugEverything   (~0)
 
#define OMEdebugAlways   (~0)
 
#define OMEdebugNever   (0)
 
#define OME_DEBUG_LEVEL_FLAG(l)   (2 << (OME_LOG_LEVEL_BASE + l))
 Mask bit for debug log level. More...
 
#define NOTE_DEFAULT_NLM(s)   __defaultMess = s
 Declare the default message within a DEFINE_NLM_MESSAGE() block. More...
 
#define DEFINE_NLM_MESSAGE(Lvl, MessID, AppName)
 Define an Native Language Message. More...
 
#define AND_OUTPUT_NLM(o, t)
 Render NLM data to an output stream. More...
 
#define AND_ASSIGN_INTO(v)
 Store an NLM into an OMEtype variable. More...
 
#define NEXT_NLM_PARAM   param[_paramSub++]
 Define value for next positional parameter. More...
 

Functions

OME_DLL_EXPORT int OMEsetDebugFlag (const char *flagName, bool setFlag=1) NONNULL_PARAMETERS(1)
 Set or clear named debug flag. More...
 
OME_DLL_EXPORT void OMEinitDebugFlag (const char *paramLine=nullptr)
 Set initial default flags, then parse a line of debugging options and set/clear specified flags. More...
 
OME_DLL_EXPORT void OMEdisplayModuleComments ()
 Convenience function to display module comments on standard error. More...
 
OME_DLL_EXPORT void OMEnoteModuleComment (const char *commentText)
 Note a comment module which can be display on demand. More...
 
OME_DLL_EXPORT int32_t OMEshutdownRequested ()
 Returns indication if the shutdown of the FARGOS/VISTA-based component has been requested. More...
 

Variables

OME_DLL_EXPORT SMV_StandaloneNumeric< uint32_t > OMEdebugFlag
 
OME_DLL_EXPORT SMV_StandaloneNumeric< uint32_t > OMEstopFlag
 External flag used to trigger stop of a FARGOS/VISTA Object Management Environment. More...
 
OME_DLL_EXPORT SMV_StandaloneString< 128 > OMEstopReason
 
OME_DLL_EXPORT SMV_StandaloneString< 128 > OMEadminStopReason
 
OME_DLL_EXPORT SMV_StandaloneString< 128 > OMEadminProcessLabel
 
OME_DLL_EXPORT OMEprofileCounter< uint32_t > OMEmajorVersion
 Specifies FARGOS/VISTA Version major number. More...
 
OME_DLL_EXPORT OMEprofileCounter< uint32_t > OMEminorVersion
 Specifies FARGOS/VISTA Version minor number. More...
 
OME_DLL_EXPORT OMEprofileCounter< uint32_t > OMEreleaseVersion
 Specifies FARGOS/VISTA Version release number. More...
 
OME_DLL_EXPORT OMEprofileString< 32 > OMEvistaOS
 Specifies name of underlying native operating system. More...
 
OME_DLL_EXPORT OMEprofileString< 32 > OMEvistaCPU
 Specifies name of the underlying CPU architecture. More...
 

Detailed Description

OME debug and profiling interfaces.

Generated: Fri Jul 31 2020 18:19:15
Support Information