Orxonox  0.0.5 Codename: Arcturus
Public Member Functions | Protected Attributes | List of all members
orxonox::SynchronisableVariable< T > Class Template Reference

#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/libraries/network/NetworkPrereqs.h>

Inheritance diagram for orxonox::SynchronisableVariable< T >:
orxonox::SynchronisableVariableBase orxonox::SynchronisableVariableBidirectional< T >

Public Member Functions

 SynchronisableVariable (T &variable, uint8_t syncDirection=VariableDirection::ToClient, NetworkCallbackBase *cb=nullptr)
 
virtual ~SynchronisableVariable ()
 
virtual uint32_t getData (uint8_t *&mem, uint8_t mode) override
 
virtual uint8_t getMode () override
 
virtual voidgetReference () override
 
virtual uint32_t getSize (uint8_t mode) override
 
virtual void putData (uint8_t *&mem, uint8_t mode, bool forceCallback=false) override
 
- Public Member Functions inherited from orxonox::SynchronisableVariableBase
virtual ~SynchronisableVariableBase ()
 

Protected Attributes

NetworkCallbackBasecallback_
 
uint8_t mode_
 
T & variable_
 

Constructor & Destructor Documentation

template<class T >
orxonox::SynchronisableVariable< T >::SynchronisableVariable ( T &  variable,
uint8_t  syncDirection = VariableDirection::ToClient,
NetworkCallbackBase cb = nullptr 
)
template<class T >
orxonox::SynchronisableVariable< T >::~SynchronisableVariable ( )
virtual

Member Function Documentation

template<class T >
uint32_t orxonox::SynchronisableVariable< T >::getData ( uint8_t *&  mem,
uint8_t  mode 
)
inlineoverridevirtual
template<class T >
virtual uint8_t orxonox::SynchronisableVariable< T >::getMode ( )
inlineoverridevirtual
template<class T >
virtual void* orxonox::SynchronisableVariable< T >::getReference ( )
inlineoverridevirtual
template<class T >
uint32_t orxonox::SynchronisableVariable< T >::getSize ( uint8_t  mode)
inlineoverridevirtual
template<class T >
void orxonox::SynchronisableVariable< T >::putData ( uint8_t *&  mem,
uint8_t  mode,
bool  forceCallback = false 
)
inlineoverridevirtual

Member Data Documentation

template<class T >
NetworkCallbackBase* orxonox::SynchronisableVariable< T >::callback_
protected
template<class T >
uint8_t orxonox::SynchronisableVariable< T >::mode_
protected
template<class T >
T& orxonox::SynchronisableVariable< T >::variable_
protected

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