$treeview $search $mathjax
00001 #ifndef __AIRINV_FAC_FACBOMABSTRACT_HPP 00002 #define __AIRINV_FAC_FACBOMABSTRACT_HPP 00003 00004 // ////////////////////////////////////////////////////////////////////// 00005 // Import section 00006 // ////////////////////////////////////////////////////////////////////// 00007 // STL 00008 #include <string> 00009 #include <vector> 00010 00011 namespace AIRINV { 00012 00013 // Forward declarations 00014 class BomAbstract; 00015 00017 class FacBomAbstract { 00018 friend class FacSupervisor; 00019 public: 00020 00022 typedef std::vector<BomAbstract*> BomPool_T; 00023 00025 static std::size_t getID (const BomAbstract*); 00026 00028 static std::size_t getID (const BomAbstract&); 00029 00032 static std::string getIDString (const BomAbstract*); 00033 00036 static std::string getIDString (const BomAbstract&); 00037 00038 protected: 00041 FacBomAbstract() {} 00042 FacBomAbstract(const FacBomAbstract&) {} 00043 00045 virtual ~FacBomAbstract(); 00046 00047 private: 00049 void clean(); 00050 00051 protected: 00053 BomPool_T _pool; 00054 }; 00055 } 00056 #endif // __AIRINV_FAC_FACBOMABSTRACT_HPP