18 #ifndef AGX_REMOTESOLVER_H
19 #define AGX_REMOTESOLVER_H
27 #if AGX_USE_WEBSOCKETS()
31 namespace agxSDK {
class Simulation; }
42 RemoteSolver(
UInt16 tcpSocketPort = 1906,
UInt16 webSocketPort = 1907);
47 agx::UInt16 getWebPort()
const {
return m_webPort; }
48 agx::UInt16 getTcpPort()
const {
return m_tcpPort; }
53 virtual ~RemoteSolver();
64 void messageReceived(
agx::UInt8* payload,
size_t size);
67 void someClientDisconnected();
68 bool writeReadCycle(agxData::Frame* frame);
void AGXPHYSICS_EXPORT init()
Initialize agx.
A socket that connects to a client.
#define AGXPHYSICS_EXPORT
agx::ref_ptr< Frame > FrameRef
#define AGX_DECLARE_POINTER_TYPES(type)
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()