Public Types | Static Public Member Functions | Private Member Functions | Static Private Attributes
ImageSources Class Reference

Holds identifiers and descriptions of different image sources. More...

#include <ImageSources.h>

List of all members.

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

Detailed Description

Holds identifiers and descriptions of different image sources.

Author:
David Gossow (RX)

Definition at line 25 of file ImageSources.h.


Member Enumeration Documentation

Identifies the different image sources

Warning:
Don't forget to add a description for all sources in fillSourceDesc()
Note:
Avoid changing existing constants for backwards compatibility
Enumerator:
TopCamera 
CenterCamera 
BottomCamera 
ThermalCamera 
KinectCamera 
TopCameraStream 
CenterCameraStream 
BottomCameraStream 
KinectCameraStream 
WiiMoteStream 
ORPrimary 
OLPrimary 
OLSecondary 
OccupancyMap 
OccupancyUpdateMap 
ObstacleMap 
SonarMap 
ExplorationTransform 
PathTransform 
ObstacleTransform 
TargetMap 
CostTransform 
PeopleTracker 
LaserPainterTest 
ExplorationMap 
Roomba 
HRIDisplay 
GestureDebug1 
GestureDebug2 
GestureDebug3 
GestureDebug4 
TofFaceDetection 
ImageFaceDetection 
None 

Definition at line 34 of file ImageSources.h.


Constructor & Destructor Documentation

The constructor.

The destructor.


Member Function Documentation

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]
Returns:
IDs and descriptions of all available image sources
static std::string ImageSources::getSourceDesc ( SourceId  id) [static]
Returns:
Description of a specific image source
static void ImageSources::initSourceDesc ( ) [static]
Returns:
Call fillSourceDesc if necessary and do some further initialization

Member Data Documentation

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.


The documentation for this class was generated from the following file:


obj_rec_gui
Author(s): AGAS/agas@uni-koblenz.de
autogenerated on Mon Oct 6 2014 02:53:43