17 #ifndef AGXFMI2_IMPORT_MASTER_H 18 #define AGXFMI2_IMPORT_MASTER_H 20 #include <agx/config/AGX_USE_FMI.h> 21 #include <agx/config/AGX_USE_WEBPLOT.h> 31 #if AGX_USE_WEBSOCKETS() 39 #include <JM/jm_callbacks.h> 46 class ExampleApplication;
62 Master(Module::LogLevel logLevel = Module::LOG_LEVEL_INFO);
63 Master(
agxSDK::Simulation *simulation, Module::LogLevel logLevel = Module::LOG_LEVEL_INFO);
81 void bind(Variable *input, Variable *output);
91 void setControlChannelFrequency(
agx::Real frequency);
93 void setDebug(
bool flag);
94 bool getDebug()
const;
108 #if AGX_USE_WEBSOCKETS() 121 jm_callbacks m_jmCallbacks;
123 ModuleRefVector m_modules;
124 BindingRefVector m_bindings;
131 Module::LogLevel m_logLevel;
132 #if AGX_USE_WEBSOCKETS() 133 agxNet::WebSocket::ControlChannelRef m_controlChannel;
146 Binding(Variable *input, Variable *output);
148 Variable *getInput();
149 Variable *getOutput();
158 VariableRef m_output;
Class that encapsulates rendering and simulation using OpenSceneGraph.
void AGXPHYSICS_EXPORT init()
Initialize agx.
A component is an object containing other objects, enabling hierarchical structuring.
AGX_DECLARE_VECTOR_TYPES(ClipPlane)
#define AGX_DECLARE_POINTER_TYPES(type)
Representation of a name string.
Base class providing referencing counted objects.
Templated callback with one argument.
The agxOSG namespace provides functionality for visualizing AGX simulations with OpenSceneGraph.
GLenum GLuint GLenum GLsizei const GLchar * message
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
Clock class keeps representation of virtual/simulated time.