#ifndef __MAS_DETECTOR_STATION_H #define __MAS_DETECTOR_STATION_H #include "DetectorLib.h" #include "HTTP_Definition.h" #include "StreamDef.h" NAMESPACE_MAS_BEGIN class DetectorStation { public: DetectorStation(); ~DetectorStation(); TZ_INT Initialize(); TZ_INT Dispose(); TZ_INT QueryDetectorUnit(const QueryCondition& reqInfo, PageResult & info, std::list & infos); SPtr BuildPipe(TZ_INT rscID, TZ_INT detId); TZ_INT SetInitParam(const DetectorInfo& info); private: TZ_INT loadDetLibs(); TZ_INT updateDbByDetector(const DetectorInfo & det, const std::string & libpath); SPtr genDetLibIns(const std::string & libpath, const DetectorInfo & det); private: std::map> m_detLib; }; NAMESPACE_MAS_END #endif // __MAS_DETECTOR_STATION_H