Robot Devastation
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
rd::Server Class Reference

The parent Robot Devastation class of the rdServer program.

#include <Server.hpp>

Inheritance diagram for rd::Server:

Public Member Functions

bool configure (yarp::os::ResourceFinder &rf)
 Run the program. More...
 
double getPeriod ()
 

Protected Member Functions

bool interruptModule ()
 
bool updateModule ()
 

Protected Attributes

bool quiet
 
int serverStatus
 
std::map< int, Playerplayers
 
std::map< int, int > players_belief
 
std::mutex players_mutex
 
yarp::os::RpcServer rpcServer
 
RpcResponder rdRpcResponder
 
yarp::os::Port rdBroadcast
 

Member Function Documentation

◆ configure()

bool rd::Server::configure ( yarp::os::ResourceFinder &  rf)
Returns
true/false upon success/failure

◆ getPeriod()

double rd::Server::getPeriod ( )

Get the approximate periodicity at which updateModule() is called by runModule()

Returns
period between successive calls to updateModule()

Member Data Documentation

◆ quiet

bool rd::Server::quiet
protected

Disable stdout feedback.


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