Rocket::Debugger::SystemInterface Class Reference

#include <SystemInterface.h>

Inheritance diagram for Rocket::Debugger::SystemInterface:
Collaboration diagram for Rocket::Debugger::SystemInterface:

Public Member Functions

 SystemInterface (ElementLog *log)
virtual float GetElapsedTime ()
virtual int TranslateString (Core::String &translated, const Core::String &input)
virtual bool LogMessage (Core::Log::Type type, const Core::String &message)

Detailed Description

The log interface the debugger installs into Rocket. This is a pass-through interface, so it holds onto the application's system interface and passes all the calls through.

Author:
Peter Curry

Constructor & Destructor Documentation

Rocket::Debugger::SystemInterface::SystemInterface ( ElementLog log  ) 

Instances a new debugging log interface.

Parameters:
[in] log The logging element to send messages to.


Member Function Documentation

float Rocket::Debugger::SystemInterface::GetElapsedTime (  )  [virtual]

Get the number of seconds elapsed since the start of the application.

Returns:
Elapsed time, in seconds.

Implements Rocket::Core::SystemInterface.

int Rocket::Debugger::SystemInterface::TranslateString ( Core::String translated,
const Core::String input 
) [virtual]

Translate the input string into the translated string.

Parameters:
[out] translated Translated string ready for display.
[in] input String as received from XML.
Returns:
Number of translations that occured.

Reimplemented from Rocket::Core::SystemInterface.

bool Rocket::Debugger::SystemInterface::LogMessage ( Core::Log::Type  type,
const Core::String message 
) [virtual]

Log the specified message.

Parameters:
[in] type Type of log message, ERROR, WARNING, etc.
[in] message Message to log.
Returns:
True to continue execution, false to break into the debugger.

Reimplemented from Rocket::Core::SystemInterface.


The documentation for this class was generated from the following files: