ADTF
|
Helper class to store ethernet adapter infos, see cSystem::GetEthernetAdapterInfo. More...
Classes | |
struct | tAdapterInfo |
Internal struct used for storing the retrieved data. More... | |
Public Member Functions | |
tResult | HandleAdapterInfo (const tChar *strName, const tChar *strDescription, tUInt8 *pui8PhysicalAddress) |
This will be called for each available ethernet adapter. More... | |
tBool | Empty () const |
Returns whether or not object is empty. More... | |
tSize | Size () const |
Returns the amount of adapter infos stored in this object. More... | |
const tAdapterInfo & | At (tUInt nPos) |
Returns the given adapter information at position nPos. More... | |
Private Attributes | |
std::vector< tAdapterInfo > | m_vecAdapters |
internal | |
Helper class to store ethernet adapter infos, see cSystem::GetEthernetAdapterInfo.
Definition at line 46 of file builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/src/libraries/a_utils/include/a_utils/sys/system.h.
|
inline |
Returns the given adapter information at position nPos.
[in] | nPos | - Position of adapter information within the adapter info vector. |
Definition at line 102 of file builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/src/libraries/a_utils/include/a_utils/sys/system.h.
|
inline |
Returns whether or not object is empty.
Definition at line 83 of file builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/src/libraries/a_utils/include/a_utils/sys/system.h.
|
inlinevirtual |
This will be called for each available ethernet adapter.
[in] | strName | The name of the adapter. |
[in] | strDescription | An additional description of the adapter |
[in] | pui8PhysicalAddress | The physical address (MAC) of the adapter, an array of 6 bytes. |
Implements cSystem::IAdapterInfoCallback.
Definition at line 66 of file builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/src/libraries/a_utils/include/a_utils/sys/system.h.
References MAX_ETHERNET_PHYSICAL_ADDRESS_LENGTH, cMemoryBlock::MemCopy(), and RETURN_NOERROR.
|
inline |
Returns the amount of adapter infos stored in this object.
Definition at line 92 of file builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/src/libraries/a_utils/include/a_utils/sys/system.h.