#include "cli_utils.h"#include <rcdiscover/utils.h>#include <rcdiscover/discover.h>#include <stdexcept>#include <array>#include <chrono>
Go to the source code of this file.
Functions | |
| std::vector< rcdiscover::DeviceInfo > | discoverWithFilter (const DeviceFilter &filter) |
| bool | filterDevice (const rcdiscover::DeviceInfo &device_info, const DeviceFilter &filter) |
| int | parseFilterArguments (int argc, char **argv, DeviceFilter &filter) |
| void | printDeviceTable (std::ostream &oss, const std::vector< rcdiscover::DeviceInfo > &devices, bool print_header, bool iponly, bool serialonly) |
| void | printTable (std::ostream &oss, const std::vector< std::vector< std::string >> &to_be_printed) |
| std::vector<rcdiscover::DeviceInfo> discoverWithFilter | ( | const DeviceFilter & | filter | ) |
Definition at line 116 of file cli_utils.cc.
| bool filterDevice | ( | const rcdiscover::DeviceInfo & | device_info, |
| const DeviceFilter & | filter | ||
| ) |
Definition at line 87 of file cli_utils.cc.
| int parseFilterArguments | ( | int | argc, |
| char ** | argv, | ||
| DeviceFilter & | filter | ||
| ) |
Definition at line 50 of file cli_utils.cc.
| void printDeviceTable | ( | std::ostream & | oss, |
| const std::vector< rcdiscover::DeviceInfo > & | devices, | ||
| bool | print_header, | ||
| bool | iponly, | ||
| bool | serialonly | ||
| ) |
Definition at line 186 of file cli_utils.cc.
| void printTable | ( | std::ostream & | oss, |
| const std::vector< std::vector< std::string >> & | to_be_printed | ||
| ) |
Definition at line 152 of file cli_utils.cc.