Open 3D Engine GridMate API Reference  2205.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
Public Member Functions | List of all members
GridMate::Simulator Class Referenceabstract

#include <Simulator.h>

Inherited by GridMate::DefaultSimulator.

Public Member Functions

virtual void BindDriver (Driver *driver)=0
 Called from Carrier, so simulator can use the low level driver directly.
 
virtual void UnbindDriver ()=0
 Called from Carrier when driver can no longer be used(ie. will be destroyed)
 
virtual void OnConnect (const AZStd::intrusive_ptr< DriverAddress > &address)=0
 Called when Carrier has established a new connection.
 
virtual void OnDisconnect (const AZStd::intrusive_ptr< DriverAddress > &address)=0
 Called when Carrier has lost a connection.
 
virtual bool OnSend (const AZStd::intrusive_ptr< DriverAddress > &to, const void *data, unsigned int dataSize)=0
 Called when Carrier has a packet to send.
 
virtual bool OnReceive (const AZStd::intrusive_ptr< DriverAddress > &from, const void *data, unsigned int dataSize)=0
 Called when Carrier receives a packet.
 
virtual unsigned int ReceiveDataFrom (AZStd::intrusive_ptr< DriverAddress > &from, char *data, unsigned int maxDataSize)=0
 Called from Carrier when no more data has arrived and can supply you with data (with latency, out of order, etc).
 
virtual void Update ()=0
 

Detailed Description

Simulator interface


The documentation for this class was generated from the following file: