3 #ifndef __dcf_manager_hpp 
    4 #define __dcf_manager_hpp 
   11 #include <dcf/types.hpp> 
error_t
Definition: types.hpp:11
 
Definition: manager.hpp:19
 
mantype_t
Definition: types.hpp:24
 
virtual dcf::error_t unitAlloc(int unit_id)=0
 
virtual Manager * clone() const =0
 
virtual dcf::error_t unitsFree()=0
 
virtual size_t getUnitsCount() const =0
 
virtual dcf::error_t unitFree(int unit_id)=0
 
dcf::mantype_t type() const 
Definition: manager.hpp:55
 
dcf::mantype_t m_type
Definition: manager.hpp:60
 
virtual dcf::error_t unitPower(int unit_id, double &power) const =0
 
virtual dcf::error_t isAllocatedUnit(int unit_id, bool &is_allocated) const =0