Classes | Functions | Variables
rcdiscover.cc File Reference
#include "rcdiscover-cli/rcdiscover_discover.h"
#include "rcdiscover-cli/rcdiscover_reconnect.h"
#include "rcdiscover-cli/rcdiscover_reset.h"
#include "rcdiscover-cli/rcdiscover_force_ip.h"
#include "rcdiscover-cli/cli_utils.h"
#include <iostream>
#include <map>
#include <functional>
Include dependency graph for rcdiscover.cc:

Go to the source code of this file.

Classes

struct  Command
 
class  WSA
 

Functions

int main (int argc, char *argv[])
 

Variables

static const std::map< std::string, Commandcommands
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 83 of file rcdiscover.cc.

Variable Documentation

◆ commands

const std::map<std::string, Command> commands
static
Initial value:
=
{
{"ls", {"List available devices", runDiscover}},
{"reconnect", {"Reconnect a device", runReconnect}},
{"forceip", {"Temporarily set the IP of a device", runForceIP}},
{"reset", {"Reset a device's parameters", runReset}}
}

Definition at line 56 of file rcdiscover.cc.

runReconnect
int runReconnect(const std::string &command, int argc, char **argv)
Definition: rcdiscover_reconnect.cc:61
runForceIP
int runForceIP(const std::string &command, int argc, char **argv)
Definition: rcdiscover_force_ip.cc:60
runReset
int runReset(const std::string &command, int argc, char **argv)
Definition: rcdiscover_reset.cc:90
runDiscover
int runDiscover(const std::string &command, int argc, char **argv)
Definition: rcdiscover_discover.cc:65


rcdiscover
Author(s): Heiko Hirschmueller , Raphael Schaller
autogenerated on Thu Aug 1 2024 02:55:56