Recast build context.
More...
#include <SampleInterfaces.h>
◆ BuildContext()
BuildContext::BuildContext |
( |
| ) |
|
◆ doGetAccumulatedTime()
int BuildContext::doGetAccumulatedTime |
( |
const rcTimerLabel |
label | ) |
const |
|
protectedvirtual |
Returns the total accumulated time of the specified performance timer.
- Parameters
-
[in] | label | The category of the timer. |
- Returns
- The accumulated time of the timer, or -1 if timers are disabled or the timer has never been started.
Reimplemented from rcContext.
◆ doLog()
void BuildContext::doLog |
( |
const rcLogCategory |
category, |
|
|
const char * |
msg, |
|
|
const int |
len |
|
) |
| |
|
protectedvirtual |
Logs a message.
- Parameters
-
[in] | category | The category of the message. |
[in] | msg | The formatted message. |
[in] | len | The length of the formatted message. |
Reimplemented from rcContext.
◆ doResetLog()
void BuildContext::doResetLog |
( |
| ) |
|
|
protectedvirtual |
Virtual functions for custom implementations.
Reimplemented from rcContext.
◆ doResetTimers()
void BuildContext::doResetTimers |
( |
| ) |
|
|
protectedvirtual |
Clears all timers. (Resets all to unused.)
Reimplemented from rcContext.
◆ doStartTimer()
Starts the specified performance timer.
- Parameters
-
[in] | label | The category of timer. |
Reimplemented from rcContext.
◆ doStopTimer()
Stops the specified performance timer.
- Parameters
-
[in] | label | The category of the timer. |
Reimplemented from rcContext.
◆ dumpLog()
void BuildContext::dumpLog |
( |
const char * |
format, |
|
|
|
... |
|
) |
| |
◆ getLogCount()
int BuildContext::getLogCount |
( |
| ) |
const |
Returns number of log messages.
◆ getLogText()
const char * BuildContext::getLogText |
( |
const int |
i | ) |
const |
Returns log message text.
The documentation for this class was generated from the following files: