Fang-Robotics-MCB
Fang Robotics Team Codebase
Loading...
Searching...
No Matches
robot_singleton.hpp
Go to the documentation of this file.
1
#ifndef FANG_ROBOTICS_MCB_ROBOT_HPP
2
#define FANG_ROBOTICS_MCB_ROBOT_HPP
3
#include "
irobot.hpp
"
4
namespace
fang
5
{
6
// TODO: Make into singleton with api like RobotSingleton::getRobot()
7
class
RobotSingleton
8
{
9
public
:
10
static
robot::IRobot
&
getRobot
();
11
12
private
:
13
static
robot::IRobot
& robot;
14
};
15
}
16
17
#endif
fang::RobotSingleton
Definition
robot_singleton.hpp:8
fang::RobotSingleton::getRobot
static robot::IRobot & getRobot()
Definition
robot_singleton.cpp:90
fang::robot::IRobot
Definition
irobot.hpp:11
irobot.hpp
fang
Definition
janky_float.cpp:4
fang-mcb-project
src
robot
robot_singleton.hpp
Generated by
1.9.8