← Documentation
ADS-IDAC Engine 5.0.0
PanelOverlayIO.h File Reference

Panel state overlay helpers: (de)serialize element arrays IN PLACE. The panel structure is seeded from the shared master, so load must never let Boost reconstruct elements (that would wipe the seeded definitions). load_array_state throws std::runtime_error when the archived element count differs from the seeded array. More...

#include <cstdint>
#include <memory>
#include <stdexcept>
#include <vector>
Include dependency graph for PanelOverlayIO.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  adsidac
 

Functions

template<class Archive , class T >
void adsidac::save_array_state (Archive &ar, const std::vector< std::unique_ptr< T > > &v)
 
template<class Archive , class T >
void adsidac::load_array_state (Archive &ar, std::vector< std::unique_ptr< T > > &v, const char *what)
 

Detailed Description

Panel state overlay helpers: (de)serialize element arrays IN PLACE. The panel structure is seeded from the shared master, so load must never let Boost reconstruct elements (that would wipe the seeded definitions). load_array_state throws std::runtime_error when the archived element count differs from the seeded array.

Definition in file PanelOverlayIO.h.