Holds identifiers and descriptions of different image sources. More...
#include <ImageSources.h>
Public Types | |
enum | SourceId { TopCamera = 0, CenterCamera = 1, BottomCamera = 4, ThermalCamera = 6, KinectCamera = 7, TopCameraStream = 100, CenterCameraStream = 101, BottomCameraStream = 104, KinectCameraStream = 105, WiiMoteStream = 109, ORPrimary = 300, OLPrimary = 400, OLSecondary = 401, OccupancyMap = 500, OccupancyUpdateMap = 501, ObstacleMap = 502, SonarMap = 520, ExplorationTransform = 530, PathTransform = 531, ObstacleTransform = 532, TargetMap = 533, CostTransform = 534, PeopleTracker = 600, LaserPainterTest = 601, ExplorationMap = 602, Roomba = 700, HRIDisplay = 800, GestureDebug1 = 900, GestureDebug2 = 901, GestureDebug3 = 902, GestureDebug4 = 903, TofFaceDetection = 1000, ImageFaceDetection = 1001, None = 9999 } |
Static Public Member Functions | |
static void | fillSourceDesc () |
Fill the description map with values. Is called once on initialization. | |
static std::map< SourceId, std::string > | getSourceDesc () |
static std::string | getSourceDesc (SourceId id) |
static void | initSourceDesc () |
Private Member Functions | |
ImageSources () | |
The constructor. | |
~ImageSources () | |
The destructor. | |
Static Private Attributes | |
static Mutex | mutex |
static std::map< SourceId, std::string > | sourceDesc |
Holds identifiers and descriptions of different image sources.
Definition at line 25 of file ImageSources.h.
Identifies the different image sources
Definition at line 34 of file ImageSources.h.
ImageSources::ImageSources | ( | ) | [private] |
The constructor.
ImageSources::~ImageSources | ( | ) | [private] |
The destructor.
static void ImageSources::fillSourceDesc | ( | ) | [inline, static] |
Fill the description map with values. Is called once on initialization.
Only entries present here will appear in the GUI
Definition at line 97 of file ImageSources.h.
static std::map< SourceId, std::string > ImageSources::getSourceDesc | ( | ) | [static] |
static std::string ImageSources::getSourceDesc | ( | SourceId | id | ) | [static] |
static void ImageSources::initSourceDesc | ( | ) | [static] |
Mutex ImageSources::mutex [static, private] |
Definition at line 168 of file ImageSources.h.
std::map<SourceId,std::string> ImageSources::sourceDesc [static, private] |
Definition at line 167 of file ImageSources.h.