#ifndef __MAS_STRATEGY_STATION_H #define __MAS_STRATEGY_STATION_H #include "StrategyLib.h" #include "MAS_Definition.h" #include "HTTP_Definition.h" #include "StreamDef.h" #include NAMESPACE_MAS_BEGIN class StrategyStation { public: StrategyStation(); ~StrategyStation(); TZ_INT Initialize(); TZ_INT Dispose(); TZ_INT QueryStrategy(const QueryCondition & reqInfo, PageResult & info,std::list & infos); TZ_INT EditStrategy(const StrategyInfo & info); SPtr BuildPipe( TZ_INT sceneId, const std::string & sceneName, TZ_INT straId, const std::string & straParams); private: TZ_INT loadStraLibs(); TZ_INT updateDbByStrategy(StrategyInfo & stra, const std::string & libpath); SPtr genStraLibIns( const std::string & libpath, StrategyInfo & stra); TZ_INT getDetIdByKey(const std::string & key); private: std::map> m_straLib; }; NAMESPACE_MAS_END #endif