SGCT master (487fac4)
Simple Graphics Cluster Toolkit
Loading...
Searching...
No Matches
shareddata.h File Reference
#include <sgct/sgctexports.h>
#include <sgct/network.h>
#include <array>
#include <cstddef>
#include <cstdint>
#include <functional>
#include <string>
#include <string_view>
#include <type_traits>
#include <vector>
Include dependency graph for shareddata.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sgct::SharedData
 This class shares application data between nodes in a cluster where the master encodes and transmits the data and the clients receives and decode the data. More...

Namespaces

namespace  sgct

Functions

template<typename T>
void sgct::serializeObject (std::vector< std::byte > &buffer, T value)
template<typename T>
void sgct::serializeObject (std::vector< std::byte > &buffer, const std::vector< T > &value)
template<>
void sgct::serializeObject (std::vector< std::byte > &buffer, std::string_view value)
void sgct::serializeObject (std::vector< std::byte > &buffer, const std::string &value)
void sgct::serializeObject (std::vector< std::byte > &buffer, const std::wstring &value)
template<typename T>
void sgct::deserializeObject (const std::vector< std::byte > &buffer, unsigned int &pos, T &value)
template<typename T>
void sgct::deserializeObject (const std::vector< std::byte > &buffer, unsigned int &pos, std::vector< T > &value)
template<>
void sgct::deserializeObject (const std::vector< std::byte > &buffer, unsigned int &pos, std::string &value)
template<>
void sgct::deserializeObject (const std::vector< std::byte > &buffer, unsigned int &pos, std::wstring &value)