#include <src/orxonox/objects/Radar.h>
Public Member Functions | |
RadarViewable::Shape | addObjectDescription (const std::string name) |
const RadarViewable * | getFocus () |
void | listObjects () const |
Radar () | |
virtual void | tick (float dt) |
Gets called every frame. | |
~Radar () | |
Static Public Member Functions | |
static void | cycleNavigationFocus () |
static Radar & | getInstance () |
static Radar * | getInstancePtr () |
static void | releaseNavigationFocus () |
Private Member Functions | |
void | cycleFocus () |
Radar (Radar &instance) | |
void | releaseFocus () |
void | updateFocus () |
Private Attributes | |
RadarViewable * | focus_ |
ObjectListIterator< RadarViewable > | itFocus_ |
int | objectTypeCounter_ |
std::map< std::string, RadarViewable::Shape > | objectTypes_ |
Static Private Attributes | |
static Radar * | instance_s |
orxonox::Radar::Radar | ( | ) |
orxonox::Radar::~Radar | ( | ) |
References instance_s.
orxonox::Radar::Radar | ( | Radar & | instance | ) | [private] |
RadarViewable::Shape orxonox::Radar::addObjectDescription | ( | const std::string | name | ) |
References objectTypes_, and orxonox::RadarViewable::Square.
Referenced by orxonox::RadarViewable::setRadarObjectDescription().
void orxonox::Radar::cycleFocus | ( | ) | [private] |
void orxonox::Radar::cycleNavigationFocus | ( | ) | [static] |
References cycleFocus(), and instance_s.
const RadarViewable * orxonox::Radar::getFocus | ( | ) |
Radar & orxonox::Radar::getInstance | ( | ) | [static] |
static Radar* orxonox::Radar::getInstancePtr | ( | ) | [inline, static] |
Referenced by orxonox::RadarViewable::setRadarObjectDescription().
void orxonox::Radar::listObjects | ( | ) | const |
References COUT.
void orxonox::Radar::releaseFocus | ( | ) | [private] |
void orxonox::Radar::releaseNavigationFocus | ( | ) | [static] |
References instance_s, and releaseFocus().
void orxonox::Radar::tick | ( | float | dt | ) | [virtual] |
Gets called every frame.
dt | The time since the last frame in seconds |
Implements orxonox::Tickable.
void orxonox::Radar::updateFocus | ( | ) | [private] |
RadarViewable* orxonox::Radar::focus_ [private] |
Referenced by cycleFocus(), releaseFocus(), and tick().
Radar* orxonox::Radar::instance_s [static, private] |
Referenced by cycleNavigationFocus(), getInstance(), Radar(), releaseNavigationFocus(), and ~Radar().
Referenced by cycleFocus(), getFocus(), releaseFocus(), and tick().
int orxonox::Radar::objectTypeCounter_ [private] |
std::map<std::string, RadarViewable::Shape> orxonox::Radar::objectTypes_ [private] |
Referenced by addObjectDescription(), and Radar().