5 #ifndef __ROBOT_DEVASTATION_HPP__ 
    6 #define __ROBOT_DEVASTATION_HPP__ 
   14 #include <yarp/os/RFModule.h> 
   15 #include <yarp/os/ResourceFinder.h> 
   17 #include <yarp/dev/PolyDriver.h> 
   19 #include "SDLAudioManager.hpp" 
   20 #include "MentalMap.hpp" 
   21 #include "InputManager.hpp" 
   22 #include "SDLInputManager.hpp" 
   23 #include "InputEventListener.hpp" 
   24 #include "YarpNetworkManager.hpp" 
   25 #include "IRobotManager.hpp" 
   26 #include "StateMachine.hpp" 
   27 #include "ImageManager.hpp" 
   28 #include "YarpImageManager.hpp" 
   29 #include "YarpLocalImageManager.hpp" 
   30 #include "MockImageManager.hpp" 
   31 #include "ProcessorImageEventListener.hpp" 
   32 #include "SDLScreenManager.hpp" 
   35 #include "StateMachine.hpp" 
   36 #include "StateMachineBuilder.hpp" 
   37 #include "InitState.hpp" 
   38 #include "GameState.hpp" 
   39 #include "DeadState.hpp" 
   52         virtual bool configure(yarp::os::ResourceFinder &rf);
 
   56         template<
typename T> 
void getInfoFromUser(
const std::string& question, T& info, 
const bool& no_empty=
false)
 
   61                 std::printf(
"%s?>",question.c_str());
 
   62                 std::getline(std::cin, answer);
 
   63             } 
while(no_empty && answer.empty());
 
   67                 std::stringstream ss(answer);
 
   78         asrob::IRobotManager * robotManager;
 
   82         yarp::dev::PolyDriver robotDevice;
 
   84         bool interruptModule();
 
   88         bool initPlayerInfo(yarp::os::ResourceFinder &rf);
 
   89         bool initSound(yarp::os::ResourceFinder &rf);
 
   97         std::string robotName;
 
  102 #endif  // __ROBOT_DEVASTATION_HPP__ 
  
Mental map is a repository for information about the players, targets and weapons.
Definition: MentalMap.hpp:38
 
Music and sound effects manager.
Definition: AudioManager.hpp:28
 
The main, catch-all namespace for Robot Devastation.
Definition: groups.dox:4
 
Class implementing a finite state machine.
Definition: StateMachine.hpp:19
 
virtual bool configure(yarp::os::ResourceFinder &rf)
Definition: RobotDevastation.cpp:18
 
The parent Robot Devastation class of the robotDevastation program.
Definition: RobotDevastation.hpp:48
 
Manage game screens.
Definition: ScreenManager.hpp:35
 
Manages the communications between the user and the RobotDevastation network.
Definition: NetworkManager.hpp:37
 
Generic image input manager.
Definition: ImageManager.hpp:39