/* * * Created on: Mar 1, 2021 * Author: astrisw * */ #ifndef BASEARCHIVER_H_ #define BASEARCHIVER_H_ #include #include namespace inaf::oasbo::Archivers{ class BaseArchiver{ protected: std::string dest; public: template typename Container> int write(PacketLib::BasePacket &); template typename Container> int write(PacketLib::BasePacket &, std::string dest); virtual int open()=0; virtual int close()=0; virtual void setDest(std::string dest) = 0; virtual std::string getDest() = 0; virtual ~BaseArchiver() = default; }; } #endif /* BASEARCHIVER_H_ */