Panda3D
Loading...
Searching...
No Matches
Public Member Functions | List of all members
RocketSystemInterface Class Reference

This is an implementation of SystemInterface that redirects the log output to Panda's notify system. More...

#include "rocketSystemInterface.h"

Inheritance diagram for RocketSystemInterface:

Public Member Functions

float GetElapsedTime ()
 Get the number of seconds elapsed since the start of the application.
 
bool LogMessage (Rocket::Core::Log::Type type, const Rocket::Core::String &message)
 Log the specified message.
 

Detailed Description

This is an implementation of SystemInterface that redirects the log output to Panda's notify system.

Definition at line 26 of file rocketSystemInterface.h.

Member Function Documentation

◆ GetElapsedTime()

float RocketSystemInterface::GetElapsedTime ( )

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

Definition at line 20 of file rocketSystemInterface.cxx.

References ClockObject::get_global_clock(), and ClockObject::get_real_time.

◆ LogMessage()

bool RocketSystemInterface::LogMessage ( Rocket::Core::Log::Type type,
const Rocket::Core::String & message )

Log the specified message.

Returns true to continue execution, false to break into the debugger.

Definition at line 32 of file rocketSystemInterface.cxx.


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