apoxi/include/Atl/Features/FeaturePool.hpp
Kirill Zhumarin d7d9bcf23a apoxi headers
2025-03-27 22:28:46 +03:00

36 lines
1.1 KiB
C++

/* ------------------------------------------------------------------------
Copyright (C) COMNEON electronic technology GmbH & Co. OHG.
All rights reserved.
------------------------------------------------------------------------
This document contains proprietary information belonging to COMNEON.
Passing on and copying of this document, use and communication of its
contents is not permitted without prior written authorisation.
------------------------------------------------------------------------ */
#if !defined(Atl_Features_FeaturePool_hpp)
#define Atl_Features_FeaturePool_hpp
#include <Atl/Features/FeatureID.hpp>
#include <Auxiliary/SimpleMap.hpp>
class Feature;
class FeaturePool {
public:
virtual Feature* GetFeature(const FeatureID& id) const;
virtual BOOLEAN AddFeature(Feature* feature);
virtual BOOLEAN AddFeatures(Feature features[], INT size);
protected:
typedef SimpleMap<FeatureID,Feature*> FeaturePoolF;
private:
FeaturePoolF m_features;
};
#endif // Atl_Features_FeaturePool_hpp