Photon C++ Client API
4.1.12.2
|
Base Class Reference
Inheritance diagram for Base:
Collaboration diagram for Base:
Public Member Functions | |
virtual | ~Base (void) |
Public Member Functions inherited from ToString | |
virtual | ~ToString (void) |
virtual JString | typeToString (void) const |
virtual JString & | toString (JString &retStr, bool withTypes=false) const =0 |
JString | toString (bool withTypes=false) const |
Static Public Member Functions | |
static void | setListener (const BaseListener *baseListener) |
static int | getDebugOutputLevel (void) |
static bool | setDebugOutputLevel (int debugLevel) |
static const LogFormatOptions & | getLogFormatOptions (void) |
static void | setLogFormatOptions (const LogFormatOptions &options) |
Detailed Description
This is the base-class of all Utility-classes except of JString.
This class provides a common callback interface for transmitting debug messages from all utility classes to your application. Please refer to setListener() for more information.
- See also
- BaseListener , setListener()
Constructor & Destructor Documentation
§ ~Base()
|
virtual |
Destructor.
Member Function Documentation
§ setListener()
|
static |
Registers a listener for receiving debug information from the Exitgames Utility classes.
Please refer to BaseListener for more information and a code example.
- Parameters
-
baseListener The listener, in which you want to receive the the events. Has to be a pointer to a class derived from BaseListener.
- See also
- BaseListener
§ getDebugOutputLevel()
|
static |
Returns the current level of debug information that's passed on to BaseListener::debugReturn().
- Returns
- one of the values in DebugLevel
- See also
- setDebugOutputLevel()
§ setDebugOutputLevel()
|
static |
Sets the current level of debug information that's passed on to BaseListener::debugReturn().
- Parameters
-
debugLevel one of the values in DebugLevel
- Returns
- true if the new debug level has been set correctly, false otherwise.
- See also
- getDebugOutputLevel()
§ getLogFormatOptions()
|
static |
- Returns
- the LogFormatOptions that are used by this instance.
- See also
- setFormatOptions()
§ setLogFormatOptions()
|
static |
Sets the log format options to the supplied value.
- Parameters
-
formatOptions the new value to which the log format options will be set
- See also
- getFormatOptions()