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

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

#include <WifiSniffer.h>

Inheritance diagram for ClientInfoList:
Vector< ClientInfo > Countable< ClientInfo >

Public Types

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

Public Member Functions

int indexOf (const uint8_t station[])
 
unsigned int capacity () const
 
bool contains (const ClientInfo &elem) const
 
const ClientInfofirstElement () const
 
int indexOf (const ClientInfo &elem) const
 
bool isEmpty () const
 
const ClientInfolastElement () const
 
int lastIndexOf (const ClientInfo &elem) const
 
unsigned int count () const override
 
unsigned int size () const
 
void copyInto (ClientInfo *array) const
 
bool add (const ClientInfo &obj)
 
void addElement (const ClientInfo &obj)
 
void addElement (ClientInfo *objp)
 
void clear ()
 
void ensureCapacity (unsigned int minCapacity)
 
void removeAllElements ()
 
bool removeElement (const ClientInfo &obj)
 
void setSize (unsigned int newSize)
 
void trimToSize ()
 
const ClientInfoelementAt (unsigned int index) const
 
void insertElementAt (const ClientInfo &obj, unsigned int index)
 
const void remove (unsigned int index)
 
void removeElementAt (unsigned int index)
 
void setElementAt (const ClientInfo &obj, unsigned int index)
 
const ClientInfoget (unsigned int index) const
 
const ClientInfooperator[] (unsigned int index) const override
 
ClientInfooperator[] (unsigned int index) override
 
void sort (Comparer compareFunction)
 
const ClientInfoat (unsigned int i) const
 

Protected Member Functions

void copyFrom (const Vector &rhv)
 

Protected Attributes

unsigned int _size
 
unsigned int _capacity
 
unsigned int _increment
 
ClientInfo ** _data
 

Detailed Description

For applications to use to manage list of unique clients.