gramods
Loading...
Searching...
No Matches
Classes | Protected Member Functions | List of all members
gramods::gmNetwork::SyncData Class Referenceabstract

Simple synchronizeable data container. More...

#include <SyncData.hh>

Inheritance diagram for gramods::gmNetwork::SyncData:
Inheritance graph
[legend]

Classes

struct  Impl
 

Protected Member Functions

void pushValue ()
 Called by sub classes when the value has been set, to push the value to peers.
 
virtual void encode (std::vector< char > &d)=0
 
virtual void decode (std::vector< char > d)=0
 
virtual void update ()=0
 

Detailed Description

Simple synchronizeable data container.

Member Function Documentation

◆ decode()

virtual void gramods::gmNetwork::SyncData::decode ( std::vector< char >  d)
protectedpure virtual

◆ encode()

virtual void gramods::gmNetwork::SyncData::encode ( std::vector< char > &  d)
protectedpure virtual

◆ pushValue()

void gramods::gmNetwork::SyncData::pushValue ( )
protected

Called by sub classes when the value has been set, to push the value to peers.

◆ update()

virtual void gramods::gmNetwork::SyncData::update ( )
protectedpure virtual

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