ScanListIterator Class Reference

class ScanListIterator

Iterator for TScanList.

Public Member Functions
const ScanFrame * Current ()
const ScanFrame * First ()
bool_t IsDone ()
const ScanFrame * Next ()
u16_t Size ()
Protected Member Functions
ScanListIterator (const ScanList &)
Private Member Functions
ScanListIterator (const ScanListIterator &)
ScanListIterator & operator= (const ScanListIterator &)
Protected Attributes
const ScanFrame * current_m
Private Attributes
const ScanList & scan_list_m

Constructor & Destructor Documentation

ScanListIterator(const ScanList &)

ScanListIterator ( const ScanList & scan_list ) [protected, explicit]

Private C++ constructor to prevent instantiation.

Parameters

const ScanList & scan_list Reference to the scan list container.

ScanListIterator(const ScanListIterator &)

ScanListIterator ( const ScanListIterator & ) [private]

Prohibit copy constructor.

Parameters

const ScanListIterator &

Member Functions Documentation

Current()

const ScanFrame * Current ( ) const

Return the beacon/probe response frame currently iterated.

First()

const ScanFrame * First ( )

Return the first beacon/probe response frame.

IsDone()

bool_t IsDone ( ) const

Check whether the are more beacon/probe response frames to be iterated.

Next()

const ScanFrame * Next ( )

Return the next beacon/probe response frame.

Size()

u16_t Size ( ) const [inline]

Return the size of the scan info. The size includes the static control information header and the actual frame data.

operator=(const ScanListIterator &)

ScanListIterator & operator= ( const ScanListIterator & ) [private]

Prohibit assigment operator.

Parameters

const ScanListIterator &

Member Data Documentation

const ScanFrame * current_m

const ScanFrame * current_m [protected]

Pointer to the beginning of the current frame.

const ScanList & scan_list_m

const ScanList & scan_list_m [private]

Reference to the scan list container.