25#ifndef _WRAPS_C_TFCSIMULATOR_H_
26#define _WRAPS_C_TFCSIMULATOR_H_
Handle to a Simulator::Config instance.
Definition tfCSimulator.h:43
Definition tfCSimulator.h:34
Handle to a Simulator instance.
Definition tfCSimulator.h:51
Handle to a UniverseConfig instance.
Definition tfCUniverse.h:39
HRESULT tfSimulatorConfig_setWindowless(struct tfSimulatorConfigHandle *handle, bool windowless)
Set the windowless flag.
HRESULT tfSimulatorConfig_setImportDataFilePath(struct tfSimulatorConfigHandle *handle, char *filePath)
Set the imported data file path during initialization, if any.
HRESULT tfSimulator_init(char **argv, unsigned int nargs)
Main simulator init method.
HRESULT tfSimulator_initC(struct tfSimulatorConfigHandle *conf, char **appArgv, unsigned int nargs)
Main simulator init method.
HRESULT tfSimulator_destroy()
Destroy the simulation.
bool tfIsTerminalInteractiveShell()
Test whether running interactively.
HRESULT tfSimulatorConfig_getWindowless(struct tfSimulatorConfigHandle *handle, bool *windowless)
Get the windowless flag.
HRESULT tfSimulatorConfig_setSeed(struct tfSimulatorConfigHandle *handle, unsigned int seed)
Set the random number generator seed.
HRESULT tfSimulatorConfig_init(struct tfSimulatorConfigHandle *handle)
Initialize a new instance.
HRESULT tfSimulatorConfig_setWindowSize(struct tfSimulatorConfigHandle *handle, unsigned int x, unsigned int y)
Set the window size.
HRESULT tfSimulatorEngineIntegrator_init(struct tfSimulatorEngineIntegratorHandle *handle)
Populate engine integrator enums.
HRESULT tfSimulator_close()
Closes the main window, while the application / simulation continues to run.
HRESULT tfSimulatorConfig_getSeed(struct tfSimulatorConfigHandle *handle, unsigned int *seed)
Get the random number generator seed. If none is set, returns NULL.
HRESULT tfSimulator_show()
Shows any windows that were specified in the config.
HRESULT tfSimulator_run(tfFloatP_t et)
Runs the event loop until all windows close or simulation time expires. Automatically performs univer...
HRESULT tfSimulatorConfig_getClipPlanes(struct tfSimulatorConfigHandle *handle, float **clipPlanes, unsigned int *numClipPlanes)
Get the current clip planes.
HRESULT tfSimulatorConfig_getImportDataFilePath(struct tfSimulatorConfigHandle *handle, char **filePath, unsigned int *numChars)
Get the imported data file path during initialization, if any.
HRESULT tfSimulator_makeCurrent(struct tfSimulatorHandle *handle)
Make the instance the global simulator object.
HRESULT tfSimulatorConfig_getTitle(struct tfSimulatorConfigHandle *handle, char **title, unsigned int *numChars)
Get the title of a configuration.
HRESULT tfSimulator_getNumThreads(unsigned int *numThreads)
Get the number of threads.
HRESULT tfSimulator_redraw()
Issue call to rendering update.
HRESULT tfSimulator_get(struct tfSimulatorHandle *handle)
Gets the global simulator object.
HRESULT tfSimulatorConfig_setClipPlanes(struct tfSimulatorConfigHandle *handle, float *clipPlanes, unsigned int numClipPlanes)
Set the clip planes.
HRESULT tfSimulatorConfig_destroy(struct tfSimulatorConfigHandle *handle)
Destroy an instance.
HRESULT tfSimulatorConfig_getUniverseConfig(struct tfSimulatorConfigHandle *handle, struct tfUniverseConfigHandle *confHandle)
Get the universe configuration.
HRESULT tfSimulatorConfig_getWindowSize(struct tfSimulatorConfigHandle *handle, unsigned int *x, unsigned int *y)
Get the window size.
HRESULT tfSimulatorConfig_setTitle(struct tfSimulatorConfigHandle *handle, char *title)
Set the title of a configuration.
HRESULT tfSetIsTerminalInteractiveShell(bool _interactive)
Set whether running interactively.