Robot Devastation
|
Static Public Member Functions | |
static bool | RegisterManager () |
Static Public Member Functions inherited from rd::YarpNetworkManager | |
static bool | RegisterManager () |
Register this manager in the NetworkManager registry so that can be used. More... | |
Static Public Member Functions inherited from rd::NetworkManager | |
static NetworkManager * | getNetworkManager () |
Get a reference to the NetworkManager. More... | |
static NetworkManager * | getNetworkManager (const std::string &id) |
Get a reference to the NetworkManager. More... | |
static bool | destroyNetworkManager () |
Deallocate all the registered NetworkManager. | |
Static Public Attributes | |
static const std::string | id = "YARP_NO_KEEP_ALIVE" |
Static Public Attributes inherited from rd::YarpNetworkManager | |
static const std::string | id = "YARP" |
String that identifies this manager. | |
Protected Member Functions | |
void | run () |
Protected Member Functions inherited from rd::YarpNetworkManager | |
YarpNetworkManager () | |
Constructor. More... | |
void | onRead (yarp::os::Bottle &b) |
Yarp callback for incoming messages. | |
void | run () |
Static Private Attributes | |
static YarpNetworkManagerNoKeepAlive * | uniqueInstance = NULL |
Additional Inherited Members | |
Public Member Functions inherited from rd::YarpNetworkManager | |
virtual bool | start () |
Start the network manager. More... | |
virtual bool | stop () |
Stop the network manager. | |
virtual bool | isStopped () const |
Returns true if manager is stopped (obviously) | |
virtual bool | configure (const std::string ¶meter, const Player &value) |
Configures a parameter with a value. | |
virtual bool | sendPlayerHit (const Player &player, int damage) |
Communicate to the network that a player has been hit by the user. | |
virtual bool | login () |
Log the user into the network. | |
virtual bool | logout () |
Log the user out of the network. | |
virtual bool | keepAlive () |
Keeps the user connected to the server (requires to be called periodically) | |
Public Member Functions inherited from rd::NetworkManager | |
bool | addNetworkEventListener (NetworkEventListener *listener) |
Adds a NetworkEventListener to the list of observers to be notified of events. | |
bool | removeNetworkEventListeners () |
Unregisters all the NetworkEventListener stored. | |
bool | onTargetHit (const Target &target, const Player &player, const Weapon &weapon) |
Implementation of MentalMapEventListener interface. | |
bool | onRespawn (const Player &player) |
Implementation of MentalMapEventListener interface. | |
Static Protected Member Functions inherited from rd::NetworkManager | |
static bool | Register (NetworkManager *manager, const std::string &id) |
This function allows subclasses to install their unique instances in the singleton register to be selected later by the user. | |
Protected Attributes inherited from rd::NetworkManager | |
std::vector< NetworkEventListener * > | listeners |
Observers registered to be notified of network events. | |