ArPiRobot-CoreLib C++
C++ library for ArPiRobot robots
Static Public Member Functions | Friends | List of all members
arpirobot::NetworkManager Class Reference

#include <arpirobot/core/network/NetworkManager.hpp>

Static Public Member Functions

static void startNetworking (std::function< void()> enableFunc, std::function< void()> disableFunc)
 
static void stopNetworking ()
 

Friends

class MainVmon
 
class Logger
 
class NetworkTable
 
class Gamepad
 

Detailed Description

Used by BaseRobot to manage networking (with drive station) Should not be used directly from user code

Member Function Documentation

◆ startNetworking()

static void arpirobot::NetworkManager::startNetworking ( std::function< void()>  enableFunc,
std::function< void()>  disableFunc 
)
static

Start networking protocol

Parameters
enableFuncThe function to call when the enable command is received
disableFuncThe function to call when the disable function is received

◆ stopNetworking()

static void arpirobot::NetworkManager::stopNetworking ( )
static

Stop networking


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