| Classes | |
| struct | PlayerContext | 
| Public Member Functions | |
| PongGame () | |
| Private Member Functions | |
| void | makeBallMarker () | 
| void | makeFieldMarker () | 
| void | makePaddleMarkers () | 
| void | normalizeVel () | 
| void | processPaddleFeedback (unsigned player, const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback) | 
| bool | reflect (float &pos, float last_pos, float limit, float &t) | 
| void | reset () | 
| void | setPaddlePos (unsigned player, float pos) | 
| void | spinOnce () | 
| void | updateBall () | 
| void | updateScore () | 
| Private Attributes | |
| float | ball_dir_x_ | 
| float | ball_dir_y_ | 
| float | ball_pos_x_ | 
| float | ball_pos_y_ | 
| InteractiveMarker | field_marker_ | 
| ros::Timer | game_loop_timer_ | 
| float | last_ball_pos_x_ | 
| float | last_ball_pos_y_ | 
| std::vector< PlayerContext > | player_contexts_ | 
| interactive_markers::InteractiveMarkerServer | server_ | 
| float | speed_ | 
| PongGame::PongGame | ( | ) |  [inline] | 
| void PongGame::makeBallMarker | ( | ) |  [inline, private] | 
| void PongGame::makeFieldMarker | ( | ) |  [inline, private] | 
| void PongGame::makePaddleMarkers | ( | ) |  [inline, private] | 
| void PongGame::normalizeVel | ( | ) |  [inline, private] | 
| void PongGame::processPaddleFeedback | ( | unsigned | player, | 
| const visualization_msgs::InteractiveMarkerFeedbackConstPtr & | feedback | ||
| ) |  [inline, private] | 
| bool PongGame::reflect | ( | float & | pos, | 
| float | last_pos, | ||
| float | limit, | ||
| float & | t | ||
| ) |  [inline, private] | 
| void PongGame::reset | ( | ) |  [inline, private] | 
| void PongGame::setPaddlePos | ( | unsigned | player, | 
| float | pos | ||
| ) |  [inline, private] | 
| void PongGame::spinOnce | ( | ) |  [inline, private] | 
| void PongGame::updateBall | ( | ) |  [inline, private] | 
| void PongGame::updateScore | ( | ) |  [inline, private] | 
| float PongGame::ball_dir_x_  [private] | 
| float PongGame::ball_dir_y_  [private] | 
| float PongGame::ball_pos_x_  [private] | 
| float PongGame::ball_pos_y_  [private] | 
| InteractiveMarker PongGame::field_marker_  [private] | 
| ros::Timer PongGame::game_loop_timer_  [private] | 
| float PongGame::last_ball_pos_x_  [private] | 
| float PongGame::last_ball_pos_y_  [private] | 
| std::vector<PlayerContext> PongGame::player_contexts_  [private] | 
| float PongGame::speed_  [private] |