#include <string>
#include <vector>
#include <map>
#include <rcdiscover/deviceinfo.h>
Go to the source code of this file.
|
std::vector< rcdiscover::DeviceInfo > | discoverWithFilter (const DeviceFilter &filter) |
|
bool | filterDevice (const rcdiscover::DeviceInfo &device_info, const DeviceFilter &filter) |
|
template<typename K , typename V > |
int | getMaxCommandLen (const std::map< K, V > &commands) |
|
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) |
|
◆ discoverWithFilter()
◆ filterDevice()
◆ getMaxCommandLen()
template<typename K , typename V >
int getMaxCommandLen |
( |
const std::map< K, V > & |
commands | ) |
|
◆ parseFilterArguments()
int parseFilterArguments |
( |
int |
argc, |
|
|
char ** |
argv, |
|
|
DeviceFilter & |
filter |
|
) |
| |
◆ printDeviceTable()
void printDeviceTable |
( |
std::ostream & |
oss, |
|
|
const std::vector< rcdiscover::DeviceInfo > & |
devices, |
|
|
bool |
print_header, |
|
|
bool |
iponly, |
|
|
bool |
serialonly |
|
) |
| |
◆ printTable()
void printTable |
( |
std::ostream & |
oss, |
|
|
const std::vector< std::vector< std::string >> & |
to_be_printed |
|
) |
| |