iCub-main
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
simpleEthClient Class Reference

#include <yafu.h>

Public Member Functions

 simpleEthClient ()
 
 ~simpleEthClient ()
 
bool open (const char *ip, double rx_timeout_sec=5.0)
 
void closeSocket ()
 
bool sendRaw (const void *buf, size_t len)
 
bool discover ()
 
bool jump2updater ()
 
bool def2run_application ()
 
bool restart ()
 
bool blink ()
 
bool program ()
 
int ensureMaintenance (const char *ip, int max_retries, int retry_delay_sec, std::ostream &log)
 
bool findFirmwareForBoardWithVersion (const std::string &boardname, std::string &out_hexpath, int &out_major, int &out_minor)
 

Static Public Member Functions

static int orchestrateParallelProgram ()
 

Detailed Description

Definition at line 54 of file yafu.h.

Constructor & Destructor Documentation

◆ simpleEthClient()

simpleEthClient::simpleEthClient ( )
inline

Definition at line 58 of file yafu.h.

◆ ~simpleEthClient()

simpleEthClient::~simpleEthClient ( )
inline

Definition at line 59 of file yafu.h.

Member Function Documentation

◆ blink()

bool simpleEthClient::blink ( )

Definition at line 784 of file yafu.cpp.

◆ closeSocket()

void simpleEthClient::closeSocket ( )

Definition at line 670 of file yafu.cpp.

◆ def2run_application()

bool simpleEthClient::def2run_application ( )

Definition at line 763 of file yafu.cpp.

◆ discover()

bool simpleEthClient::discover ( )

Definition at line 682 of file yafu.cpp.

◆ ensureMaintenance()

int simpleEthClient::ensureMaintenance ( const char *  ip,
int  max_retries,
int  retry_delay_sec,
std::ostream &  log 
)

Definition at line 901 of file yafu.cpp.

◆ findFirmwareForBoardWithVersion()

bool simpleEthClient::findFirmwareForBoardWithVersion ( const std::string &  boardname,
std::string &  out_hexpath,
int &  out_major,
int &  out_minor 
)

Definition at line 192 of file yafu.cpp.

◆ jump2updater()

bool simpleEthClient::jump2updater ( )

Definition at line 750 of file yafu.cpp.

◆ open()

bool simpleEthClient::open ( const char *  ip,
double  rx_timeout_sec = 5.0 
)

Definition at line 588 of file yafu.cpp.

◆ orchestrateParallelProgram()

int simpleEthClient::orchestrateParallelProgram ( )
static

Definition at line 1173 of file yafu.cpp.

◆ program()

bool simpleEthClient::program ( )

Definition at line 309 of file yafu.cpp.

◆ restart()

bool simpleEthClient::restart ( )

Definition at line 774 of file yafu.cpp.

◆ sendRaw()

bool simpleEthClient::sendRaw ( const void *  buf,
size_t  len 
)

Definition at line 675 of file yafu.cpp.


The documentation for this class was generated from the following files: