Orxonox
0.0.5 Codename: Arcturus
|
#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/libraries/network/NetworkPrereqs.h>
Public Member Functions | |
SynchronisableVariableBidirectional (T &variable, uint8_t master=Bidirectionality::ServerMaster, NetworkCallbackBase *cb=nullptr) | |
virtual | ~SynchronisableVariableBidirectional () |
virtual uint32_t | getData (uint8_t *&mem, uint8_t mode) |
virtual uint8_t | getMode () |
virtual uint32_t | getSize (uint8_t mode) |
virtual void | putData (uint8_t *&mem, uint8_t mode, bool forceCallback=false) |
Public Member Functions inherited from orxonox::SynchronisableVariable< T > | |
SynchronisableVariable (T &variable, uint8_t syncDirection=VariableDirection::ToClient, NetworkCallbackBase *cb=nullptr) | |
virtual | ~SynchronisableVariable () |
virtual void * | getReference () override |
Public Member Functions inherited from orxonox::SynchronisableVariableBase | |
virtual | ~SynchronisableVariableBase () |
Private Attributes | |
T | varBuffer_ |
uint8_t | varReference_ |
Additional Inherited Members | |
Protected Attributes inherited from orxonox::SynchronisableVariable< T > | |
NetworkCallbackBase * | callback_ |
uint8_t | mode_ |
T & | variable_ |
orxonox::SynchronisableVariableBidirectional< T >::SynchronisableVariableBidirectional | ( | T & | variable, |
uint8_t | master = Bidirectionality::ServerMaster , |
||
NetworkCallbackBase * | cb = nullptr |
||
) |
|
virtual |
|
inlinevirtual |
Reimplemented from orxonox::SynchronisableVariable< T >.
|
inlinevirtual |
Reimplemented from orxonox::SynchronisableVariable< T >.
|
inlinevirtual |
Reimplemented from orxonox::SynchronisableVariable< T >.
|
virtual |
Reimplemented from orxonox::SynchronisableVariable< T >.
|
private |
|
private |