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.
19 lines
808 B
19 lines
808 B
#ifndef __DFSL_HARDWARE_RESOURCE_NETWORK_HEADER__
|
|
#define __DFSL_HARDWARE_RESOURCE_NETWORK_HEADER__
|
|
|
|
#include "hardwareResource.h"
|
|
|
|
class hardwareResourceNetwork: public hardwareResource {
|
|
private:
|
|
DBC_NET_IF_DATA m_sNetworkData;
|
|
public:
|
|
explicit hardwareResourceNetwork( uint32_t id, HARDWARE_PROVIDERS type = HARDWARE_PROVIDER_NETWORK );
|
|
virtual ~hardwareResourceNetwork();
|
|
CSTR getAddress( NETWORK_TYPE nt=NETWORK_IPV4 );
|
|
CSTR getBroadcast( NETWORK_TYPE nt=NETWORK_IPV4 );
|
|
CSTR getMask( NETWORK_TYPE nt=NETWORK_IPV4 );
|
|
CSTR getGateway( NETWORK_TYPE nt=NETWORK_IPV4 );
|
|
virtual bool create( void ){ return m_bValid; };
|
|
};
|
|
|
|
#endif
|