8 #ifndef INCLUDED_UHD_CAL_CONTAINER_HPP 9 #define INCLUDED_UHD_CAL_CONTAINER_HPP 12 #include <boost/serialization/serialization.hpp> 13 #include <boost/serialization/vector.hpp> 14 #include <boost/serialization/string.hpp> 15 #include <boost/serialization/map.hpp> 16 #include <boost/archive/text_iarchive.hpp> 17 #include <boost/archive/text_oarchive.hpp> 18 #include <boost/shared_ptr.hpp> 26 typedef boost::shared_ptr<base_container>
sptr;
40 template<
typename in_type,
typename out_type>
54 virtual out_type
get(
const in_type &args) = 0;
64 virtual void add(
const out_type output,
const in_type &args) = 0;
71 virtual void add_metadata(
const metadata_t &data) = 0;
85 friend class boost::serialization::access;
87 virtual void serialize(iarchive_type & ar,
const unsigned int) = 0;
88 virtual void serialize(oarchive_type & ar,
const unsigned int) = 0;
boost::archive::text_oarchive oarchive_type
Definition: container.hpp:82
boost::shared_ptr< base_container > sptr
Definition: container.hpp:26
Definition: build_info.hpp:14
#define UHD_API
Definition: config.h:63
boost::archive::text_iarchive iarchive_type
Definition: container.hpp:81
Definition: container.hpp:41
Definition: container.hpp:23
std::map< std::string, std::string > metadata_t
Definition: container.hpp:25
std::map< in_type, out_type > container_t
Definition: container.hpp:43