|
MULTIBODY SIMULATION SOFTWARE - API documentation |
#include <CHglobal.h>

Public Member Functions | |
| void | Timer_START () |
| void | Timer_STOP () |
| void | Timer_RESTART () |
| int | GetUniqueIntID () |
| ChLog & | GetScriptingLog () |
| void | SetScriptingLog (ChLog &mlog) |
| void | SetDefaultScriptingLog () |
Public Attributes | |
| int | WriteComments |
| int | WriteAllFeatures |
| int | SkipNframesOutput |
| int | angle_units |
| clock_t | t_start |
| clock_t | t_stop |
| double | t_duration |
| double | t_simtime |
| double | t_geometrytime |
| ChJavascriptEngine * | chjsEngine |
| int chrono::ChGlobals::GetUniqueIntID | ( | ) |
Return an unique identifier, of type integer.
| ChLog & chrono::ChGlobals::GetScriptingLog | ( | ) |
The logging for output of scripting languages. Never returns null, because returns by default at least a ChLogConsole() if none provided.
| void chrono::ChGlobals::SetScriptingLog | ( | ChLog & | mlog | ) |
Sets the logging for output of scripting language. This logger won't be deleted on ChGlobals deletion.
| void chrono::ChGlobals::SetDefaultScriptingLog | ( | ) |
Use this if you want to use default ChLogConsole(). You may need to delete previous logger.
| clock_t chrono::ChGlobals::t_start |
Time utilities (better: use ChTime.h).
| ChJavascriptEngine* chrono::ChGlobals::chjsEngine |
The Javascript engine, which is able to parse js syntax wrapping lot of Chrono classes and functions. This engine is started as soon as the ChGlobal object is created, and it is stopped when the ChGlobal is destroyed.
CHRONO::ENGINE