Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
BeaconInfoList Class Reference

For applications to use to manage list of unique beacons. More...

#include <WifiSniffer.h>

Inheritance diagram for BeaconInfoList:
Vector< BeaconInfo > Countable< BeaconInfo >

Public Types

typedef int(* Comparer) (const BeaconInfo &lhs, const BeaconInfo &rhs)
 

Public Member Functions

int indexOf (const uint8_t bssid[])
 
unsigned int capacity () const
 
bool contains (const BeaconInfo &elem) const
 
const BeaconInfofirstElement () const
 
int indexOf (const BeaconInfo &elem) const
 
bool isEmpty () const
 
const BeaconInfolastElement () const
 
int lastIndexOf (const BeaconInfo &elem) const
 
unsigned int count () const override
 
unsigned int size () const
 
void copyInto (BeaconInfo *array) const
 
bool add (const BeaconInfo &obj)
 
void addElement (const BeaconInfo &obj)
 
void addElement (BeaconInfo *objp)
 
void clear ()
 
void ensureCapacity (unsigned int minCapacity)
 
void removeAllElements ()
 
bool removeElement (const BeaconInfo &obj)
 
void setSize (unsigned int newSize)
 
void trimToSize ()
 
const BeaconInfoelementAt (unsigned int index) const
 
void insertElementAt (const BeaconInfo &obj, unsigned int index)
 
const void remove (unsigned int index)
 
void removeElementAt (unsigned int index)
 
void setElementAt (const BeaconInfo &obj, unsigned int index)
 
const BeaconInfoget (unsigned int index) const
 
const BeaconInfooperator[] (unsigned int index) const override
 
BeaconInfooperator[] (unsigned int index) override
 
void sort (Comparer compareFunction)
 
const BeaconInfoat (unsigned int i) const
 

Protected Member Functions

void copyFrom (const Vector &rhv)
 

Protected Attributes

unsigned int _size
 
unsigned int _capacity
 
unsigned int _increment
 
BeaconInfo ** _data
 

Detailed Description

For applications to use to manage list of unique beacons.