Skip to content

File serializer.hpp

FileList > serializer.hpp

Go to the source code of this file

A header-only serialization library for creating and parsing binary messages. More...

  • #include <algorithm>
  • #include <array>
  • #include <bit>
  • #include <cassert>
  • #include <cmath>
  • #include <cstdint>
  • #include <cstring>
  • #include <functional>
  • #include <iomanip>
  • #include <iostream>
  • #include <map>
  • #include <memory>
  • #include <span>
  • #include <tuple>
  • #include "shared_types.h"

Namespaces

Type Name
namespace cerializer
The main namespace for the serialization library.

Classes

Type Name
class BasePacket
An abstract base class for all serializable message packets.
class Config
A message for setting runtime configuration parameters.
class Deserializer <typename T>
A class for deserializing messages from a generic input stream.
class Message <typename Derived, TypeVal, FieldTypes>
A template base class for defining serializable messages.
class MessageMaker
A factory class for creating message objects from binary data.
class Serializer <typename T>
A class for serializing messages to a generic output stream.
class SetStanceMessage
A message to set the turret's firing stance.
class SetStrategyMessage
A message to set the turret's targeting strategy.
class SetTargetSourceMessage
A message to set the active target source.
class StaticTargetMessage
A message for setting a static target position.
class StreamHandler <typename T>
A class for handling both serialization and deserialization on a single stream.
class Target
An example message class for representing a target.
struct is_std_array <typename T>
Type trait to check if a type is a std::array.
struct is_std_array< std::array< T, N > > <typename T, N>

Detailed Description

This library provides a framework for defining message structures, serializing them into a binary format, and deserializing them from a stream. It is designed to be type-safe and extensible.


The documentation for this class was generated from the following file serializer.hpp