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.
28 lines
708 B
28 lines
708 B
#ifndef __ARGUS_NODE_FACTORY_HEADER__
|
|
#define __ARGUS_NODE_FACTORY_HEADER__
|
|
|
|
#include <vector>
|
|
#include "rgooseNode.h"
|
|
#include "rgooseIPCamera.h"
|
|
|
|
typedef std::vector<argusNetNode*> vectorNetNodes;
|
|
|
|
class argusNodeFactory{
|
|
private:
|
|
basicLogCollection * m_pLog;
|
|
ARGUS_DBC * m_pDBC;
|
|
uint32_t m_nSiteID;
|
|
vectorNetNodes m_vNetNodes;
|
|
public:
|
|
static argusNodeFactory * getInstance();
|
|
virtual ~argusNodeFactory();
|
|
argusNetNode * createNode( int id );
|
|
bool loadNodes( uint32_t SiteID = 0 );
|
|
void setDBC(ARGUS_DBC * tPtr);
|
|
protected:
|
|
argusNodeFactory();
|
|
private:
|
|
static argusNodeFactory * _instance;
|
|
};
|
|
|
|
#endif
|