7 #ifndef INCLUDED_UHD_CAL_CONTAINER_HPP 8 #define INCLUDED_UHD_CAL_CONTAINER_HPP 11 #include <boost/serialization/serialization.hpp> 12 #include <boost/serialization/vector.hpp> 13 #include <boost/serialization/string.hpp> 14 #include <boost/serialization/map.hpp> 15 #include <boost/archive/text_iarchive.hpp> 16 #include <boost/archive/text_oarchive.hpp> 17 #include <boost/shared_ptr.hpp> 25 typedef boost::shared_ptr<base_container>
sptr;
39 template<
typename in_type,
typename out_type>
53 virtual out_type
get(
const in_type &args) = 0;
63 virtual void add(
const out_type output,
const in_type &args) = 0;
70 virtual void add_metadata(
const metadata_t &data) = 0;
84 friend class boost::serialization::access;
86 virtual void serialize(iarchive_type & ar,
const unsigned int) = 0;
87 virtual void serialize(oarchive_type & ar,
const unsigned int) = 0;
boost::archive::text_oarchive oarchive_type
Definition: container.hpp:81
boost::shared_ptr< base_container > sptr
Definition: container.hpp:25
Definition: build_info.hpp:14
#define UHD_API
Definition: config.h:62
boost::archive::text_iarchive iarchive_type
Definition: container.hpp:80
Definition: container.hpp:40
Definition: container.hpp:22
std::map< std::string, std::string > metadata_t
Definition: container.hpp:24
std::map< in_type, out_type > container_t
Definition: container.hpp:42