#include <device_list.h>
|
void | add (const char *name, const char *manufacturer, const char *model, const char *sn, const char *ip, const char *mac, const char *interface, bool reachable) |
|
void | clear () |
|
| DeviceList (int x, int y, int w, int h) |
|
void | filter (const char *filter_value) |
|
void | filterRCDevices (bool filter_rc) |
|
std::string | getCell (int r, int c) |
|
std::vector< std::pair< std::string, std::string > > | getCurrentNameMACList (bool only_rc_visard) |
|
std::string | getSelectedMAC () |
|
int | getSelectedRow () |
|
void | getSorting (int &sort_col, bool &sort_down) |
|
bool | isRCVisardSelected () |
|
bool | isReachableRCDeviceSelected () |
|
void | openWebGUI (int r) |
|
void | setSelectionChangeCallback (Fl_Callback *_cb, void *p) |
|
void | setSorting (int sort_col, bool sort_down) |
|
|
void | draw_cell (TableContext context, int ROW, int COL, int X, int Y, int W, int H) |
|
int | handle (int event) |
|
Definition at line 22 of file device_list.h.
◆ DeviceList()
DeviceList::DeviceList |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
w, |
|
|
int |
h |
|
) |
| |
◆ add()
void DeviceList::add |
( |
const char * |
name, |
|
|
const char * |
manufacturer, |
|
|
const char * |
model, |
|
|
const char * |
sn, |
|
|
const char * |
ip, |
|
|
const char * |
mac, |
|
|
const char * |
interface, |
|
|
bool |
reachable |
|
) |
| |
◆ addDeviceIndex()
bool DeviceList::addDeviceIndex |
( |
size_t |
i | ) |
|
|
private |
◆ clear()
void DeviceList::clear |
( |
| ) |
|
◆ draw_cell()
void DeviceList::draw_cell |
( |
TableContext |
context, |
|
|
int |
ROW, |
|
|
int |
COL, |
|
|
int |
X, |
|
|
int |
Y, |
|
|
int |
W, |
|
|
int |
H |
|
) |
| |
|
protected |
◆ filter()
void DeviceList::filter |
( |
const char * |
filter_value | ) |
|
◆ filterRCDevices()
void DeviceList::filterRCDevices |
( |
bool |
filter_rc | ) |
|
◆ getCell()
std::string DeviceList::getCell |
( |
int |
r, |
|
|
int |
c |
|
) |
| |
◆ getCurrentNameMACList()
std::vector< std::pair< std::string, std::string > > DeviceList::getCurrentNameMACList |
( |
bool |
only_rc_visard | ) |
|
◆ getSelectedMAC()
std::string DeviceList::getSelectedMAC |
( |
| ) |
|
◆ getSelectedRow()
int DeviceList::getSelectedRow |
( |
| ) |
|
◆ getSorting()
void DeviceList::getSorting |
( |
int & |
sort_col, |
|
|
bool & |
sort_down |
|
) |
| |
◆ handle()
int DeviceList::handle |
( |
int |
event | ) |
|
|
protected |
◆ isRCVisardSelected()
bool DeviceList::isRCVisardSelected |
( |
| ) |
|
◆ isReachableRCDeviceSelected()
bool DeviceList::isReachableRCDeviceSelected |
( |
| ) |
|
◆ notifySelectionChange()
void DeviceList::notifySelectionChange |
( |
| ) |
|
|
private |
◆ openWebGUI()
void DeviceList::openWebGUI |
( |
int |
r | ) |
|
◆ setSelectionChangeCallback()
void DeviceList::setSelectionChangeCallback |
( |
Fl_Callback * |
_cb, |
|
|
void * |
p |
|
) |
| |
|
inline |
◆ setSorting()
void DeviceList::setSorting |
( |
int |
sort_col, |
|
|
bool |
sort_down |
|
) |
| |
◆ sortColumn()
void DeviceList::sortColumn |
( |
int |
c | ) |
|
|
private |
◆ updateDeviceIndices()
void DeviceList::updateDeviceIndices |
( |
| ) |
|
|
private |
◆ cb
Fl_Callback* DeviceList::cb |
|
private |
◆ device
◆ filter_rc
bool DeviceList::filter_rc |
|
private |
◆ filter_value
std::string DeviceList::filter_value |
|
private |
◆ index
std::vector<size_t> DeviceList::index |
|
private |
◆ new_discovery
bool DeviceList::new_discovery |
|
private |
◆ previous_mac_list
std::set<std::string> DeviceList::previous_mac_list |
|
private |
◆ sort_col
◆ sort_down
bool DeviceList::sort_down |
|
private |
◆ user
The documentation for this class was generated from the following files: