Module |
|
Header |
/Engine/Source/Runtime/Navmesh/Public/Recast/Recast.h |
Include |
#include "Recast/Recast.h" |
class rcContext
Provides an interface for optional logging and performance tracking of the Recast build process.
This class does not provide logging or timer functionality on its own. Both must be provided by a concrete implementation by overriding the protected member functions. Also, this class does not provide an interface for extracting log messages. (Only adding them.) So concrete implementations must provide one.
If no logging or timers are required, just pass an instance of this class through the Recast build process.
Name | Description | |
---|---|---|
|
~rcContext() |
Name | Description | ||
---|---|---|---|
|
int |
doGetAccumulatedTime ( |
Returns the total accumulated time of the specified performance timer. |
|
doLog ( |
Logs a message. |
|
|
doResetLog() |
Clears all log entries. |
|
|
doResetTimers() |
Clears all timers. (Resets all to unused.) |
|
|
doStartTimer ( |
Starts the specified performance timer. |
|
|
doStopTimer ( |
Stops the specified performance timer. |
|
|
enableLog ( |
Enables or disables logging. |
|
|
enableTimer ( |
Enables or disables the performance timers. |
|
|
int |
getAccumulatedTime ( |
Returns the total accumulated time of the specified performance timer. |
|
log ( |
Logs a message. |
|
|
resetLog() |
Clears all log entries. |
|
|
resetTimers() |
Clears all peformance timers. (Resets all to unused.) |
|
|
startTimer ( |
Starts the specified performance timer. |
|
|
stopTimer ( |
Stops the specified performance timer. |