/** @file * @author Edouard DUPIN * @copyright 2015, Edouard DUPIN, all right reserved * @license APACHE v2.0 (see license file) */ #ifndef __AIRTIO_IO_MANAGER_H__ #define __AIRTIO_IO_MANAGER_H__ #include #include #include #include #include #include #include #include #include #include #include namespace airtio { namespace io { class Node; class Manager { private: /** * @brief Constructor */ Manager(); public: static std::shared_ptr getInstance(); /** * @brief Destructor */ virtual ~Manager() {}; private: ejson::Document m_config; // harware configuration std::vector > m_listKeepAlive; //!< list of all Node that might be keep alive sone time std::vector > m_list; //!< List of all IO node public: std::shared_ptr getNode(const std::string& _name); private: std::vector> m_volumeGroup; public: std::shared_ptr getVolumeGroup(const std::string& _name); }; } } #endif