You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
708 B

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef __ARGUS_NODE_FACTORY_HEADER__
  2. #define __ARGUS_NODE_FACTORY_HEADER__
  3. #include <vector>
  4. #include "rgooseNode.h"
  5. #include "rgooseIPCamera.h"
  6. typedef std::vector<argusNetNode*> vectorNetNodes;
  7. class argusNodeFactory{
  8. private:
  9. basicLogCollection * m_pLog;
  10. ARGUS_DBC * m_pDBC;
  11. uint32_t m_nSiteID;
  12. vectorNetNodes m_vNetNodes;
  13. public:
  14. static argusNodeFactory * getInstance();
  15. virtual ~argusNodeFactory();
  16. argusNetNode * createNode( int id );
  17. bool loadNodes( uint32_t SiteID = 0 );
  18. void setDBC(ARGUS_DBC * tPtr);
  19. protected:
  20. argusNodeFactory();
  21. private:
  22. static argusNodeFactory * _instance;
  23. };
  24. #endif