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.
|
|
#ifndef __ARGUS_NODE_HEADER__
#define __ARGUS_NODE_HEADER__
#include "../components/base/basicPosition.h"
#include "../components/base/basicObject.h"
#include "rgooseDBConnector.h"
class argusNetNode: public basicObject{ protected: argusDBC * m_pDBC; uint32_t m_nDBID; DBC_NODE_DATA m_sNodeData; basicPosition * m_pPosition; public: explicit argusNetNode( uint32_t id ); explicit argusNetNode( DBC_NODE_DATA *Data ); virtual ~argusNetNode(); uint32_t getDbId() const { return m_nDBID;}; ARGUS_NODE_TYPE getType() const { return m_sNodeData.type; }; bool isOnline( void ) const { return m_sNodeData.online; }; virtual bool isDetached() { return true; }; virtual bool isAttached() { return false; }; virtual bool startService(){ return false; }; virtual bool stopService(){ return true; }; virtual bool validate(){ return false; };};
#endif
|