aether::netcode::demarshaller< Traits > Class Template Referenceabstract

#include <marshalling.hh>

Public Types

using entity_type = typename Traits::entity_type
 
using static_data_type = typename Traits::static_data_type
 
using per_worker_data_type = typename Traits::per_worker_data_type
 

Public Member Functions

virtual int decode (const void *data, size_t count)=0
 
virtual std::vector< entity_typeget_entities () const =0
 
virtual aether::optional< static_data_typeget_static_data () const =0
 
virtual std::unordered_map< uint64_t, per_worker_data_typeget_worker_data () const =0
 
virtual ~demarshaller ()
 

Member Typedef Documentation

template<typename Traits >
using aether::netcode::demarshaller< Traits >::entity_type = typename Traits::entity_type
template<typename Traits >
using aether::netcode::demarshaller< Traits >::per_worker_data_type = typename Traits::per_worker_data_type
template<typename Traits >
using aether::netcode::demarshaller< Traits >::static_data_type = typename Traits::static_data_type

Constructor & Destructor Documentation

template<typename Traits >
virtual aether::netcode::demarshaller< Traits >::~demarshaller ( )
inlinevirtual

Member Function Documentation

template<typename Traits >
virtual int aether::netcode::demarshaller< Traits >::decode ( const void *  data,
size_t  count 
)
pure virtual
template<typename Traits >
virtual std::vector<entity_type> aether::netcode::demarshaller< Traits >::get_entities ( ) const
pure virtual
template<typename Traits >
virtual aether::optional<static_data_type> aether::netcode::demarshaller< Traits >::get_static_data ( ) const
pure virtual
template<typename Traits >
virtual std::unordered_map<uint64_t, per_worker_data_type> aether::netcode::demarshaller< Traits >::get_worker_data ( ) const
pure virtual