WURDE Namespace Reference


Detailed Description

This namespace contains all of the base objects for the framework.

In general, only members of this namespace should be used directly in programs.


Classes

class  Blob
class  BlobFinderInfoStruct
class  BlobFinderDataStruct
class  BlobFinder
 Instantiation of BlobFinder interface. More...
class  BumperInfoStruct
class  BumperDataStruct
class  Bumper
 Instantiation of Bumper interface. More...
class  EgomotionInfoStruct
class  EgomotionDataStruct
class  Egomotion
 Instantiation of Egomotion interface. More...
class  FaceLocation
class  FaceDetectorInfoStruct
class  FaceDetectorDataStruct
class  FaceDetector
 Instantiation of FaceDetector interface. More...
class  FooInfoStruct
class  FooDataStruct
class  Foo
 Instantiation of Foo interface. More...
class  InterfaceStream
class  HeartbeatInfoStruct
class  HeartbeatDataStruct
class  Heartbeat
 Instantiation of Heartbeat interface. More...
class  ImageDisplayInfoStruct
class  ImageDisplayDataStruct
class  ImageDisplay
 Instantiation of ImageDisplay interface. More...
class  ImageTransportInfoStruct
class  ImageTransportDataStruct
class  ImageTransport
 Instantiation of ImageTransport interface. More...
class  LoggerTransportInfoStruct
class  LoggerTransportDataStruct
class  LoggerTransport
 Instantiation of LoggerTransport interface. More...
class  MCPControlInfoStruct
class  MCPControlDataStruct
class  MCPControl
 Instantiation of MCPControl interface. More...
class  McpRequestInfoStruct
class  McpRequestDataStruct
class  McpRequest
 Instantiation of McpRequest interface. More...
class  ObstacleAvoiderTransportInfoStruct
class  ObstacleAvoiderTransportDataStruct
class  ObstacleAvoiderTransport
 Instantiation of ObstacleAvoiderTransport interface. More...
class  PlaybackControlInfoStruct
class  PlaybackControlDataStruct
class  PlaybackControl
 Instantiation of PlaybackControl interface. More...
class  PowerInfoStruct
class  PowerDataStruct
class  Power
 Instantiation of Power interface. More...
class  PTUnitInfoStruct
class  PTUnitDataStruct
class  PTUnit
 Instantiation of PTUnit interface. More...
class  RangeFinderInfoStruct
class  RangeFinderDataStruct
class  RangeFinder
 Instantiation of RangeFinder interface. More...
class  RobotDriveInfoStruct
class  RobotDriveDataStruct
class  RobotDrive
 Instantiation of RobotDrive interface. More...
class  SoundControllerInfoStruct
class  SoundControllerDataStruct
class  SoundController
 Instantiation of SoundController interface. More...
class  VectorMoverTransportInfoStruct
class  VectorMoverTransportDataStruct
class  VectorMoverTransport
 Instantiation of VectorMoverTransport interface. More...
class  VisionOption
class  VisionOperatorSpec
class  VisionControlInfoStruct
class  VisionControlDataStruct
class  VisionControl
 Instantiation of VisionControl interface. More...
class  WallSpec
class  WallBuilderInfoStruct
class  WallBuilderDataStruct
class  WallBuilder
 Instantiation of WallBuilder interface. More...
class  Capability
 Virtual class so that all robot types can be handled generically. More...
class  CommsHelper
 This is the class template for communication adaptor helper classes. More...
class  CommsManager
 Provides a wrapper around communication functions. More...
class  COMBase
 This class allows us to totally decouple the interface/com/api layers. More...
class  COMObject
 Mixed class that serves as glue between the communication adaptor and the interface object. More...
class  Logger
 Instantiation of Logger interface. More...
class  LoggerStreamBuf
class  LoggerStringBuf
class  LoggerStreamBuf_init
class  LoggerStream
class  ObstacleAvoider
 The ObstacleAvoider class is a wrapper around ObstacleAvoiderTransport. More...
class  Time
 Provides an easy way to compare time values. More...
class  Point
 2D Point class. More...
class  Point3D
 3D Point class. More...
class  Pose
 2D Pose class. More...
class  Pose3D
 3D Pose class. More...
class  CVector
 2D Cartesian Vector class. More...
class  PVector
 2D Polar vector class. More...
class  DataCounter
 Counter class -- holds a chunk of data and an integer value. More...
class  Timer
 this class sets up a timer. More...
class  PlaybackTimer
class  Trigger
 Triggers provide general purpose execution rate control. More...
class  Callback
 The Callback object is just a trigger that, when activated, runs a function. More...
class  VectorMover
 The VectorMover class is a wrapper around VectorMoverTransport. More...
class  Writable
 Class template to allow write-protected variables. More...
class  WURDEConfiguration
 This is an object to manage the configuration of the RoLE robot framework. More...
class  FileEntry
 Simple class for keeping track of basic file meta-information. More...
class  DirectoryScanner
 Helper class to extract the names, frame numbers, and timestamps of all the conforming files in a directory. More...
class  ImageSource
 Wrapper for the ImageTransport class: does not respond to pings by default ( must do this manually). More...

Typedefs

typedef std::pair< WURDE::Time,
IplImage * > 
WURDEImage

Enumerations

enum  Protocols { PROTOCOL_NULL, PROTOCOL_CMUIPC, PROTOCOL_SHMEM }
 Enumeration for specifying available communication adaptors. More...
enum  WriteMode {
  W_NULL, W_SUPPLIER_ONLY, W_CONSUMER_ONLY, W_ALL,
  W_LOCKED
}
 Indicates the write mode for a WritableType object. More...
enum  ConsumeMode { C_NULL, C_CONSUMER, C_SUPPLIER }
 Used by a WritableType so it knows what sort of process holds it. More...
enum  StatusMode {
  STAT_NULL, STAT_OKAY, STAT_FAIL, STAT_PENDING,
  STAT_REQUEST
}
 Used by a supplier to indicate that a request failed. More...
enum  RunState {
  STATE_NULL, STATE_RUN, STATE_IDLE, STATE_QUIT,
  STATE_RESTART, STATE_REQUEST, STATE_RESET, STATE_ZOMBIE,
  STATE_FAIL, STATE_INACTIVE, STATE_INFO, STATE_STARTUP
}
 Gives the current state of the process. More...
enum  ProcessLocale { LOCALE_NULL, LOCALE_EXTERNAL, LOCALE_INTERNAL }
 Provides information about whether the process is running on the local system. More...
enum  ProcessType { PROC_NULL, PROC_MANAGED, PROC_UNMANAGED, PROC_CRITICAL }
 Gives the managed state of the process. More...
enum  ConnectionStrategy { STRAT_NULL, STRAT_AUTO, STRAT_ASSIGNED, STRAT_NORMAL }
 Determines strategy for finding an appropriate stream for an object. More...
enum  MessageType { MESSAGE_NULL, MESSAGE_INFO, MESSAGE_REQUEST, MESSAGE_PING }
 Gives the type of the info message. More...
enum  ImageFormat {
  FORMAT_NULL, FORMAT_CHAR_111_YUV24, FORMAT_CHAR_11_YUV422, FORMAT_CHAR_111_RGB,
  FORMAT_CHAR_1_GRAY, FORMAT_INT, FORMAT_DOUBLE, FORMAT_FLOAT,
  FORMAT_LONG, FORMAT_SHORT, FORMAT_CHAR, FORMAT_BOOL
}
 Enumeration for image types. More...
enum  ImageCompression { COMPRESSION_NULL, COMPRESSION_UNCOMPRESSED, COMPRESSION_RLE_HIGHQUALITY, COMPRESSION_RLE_LOWQUALITY }
enum  TriggerType { TRIGGER_TIMED, TRIGGER_DATA_AND, TRIGGER_DATA_OR }
 Enumerated type to describe the type of trigger. More...

Functions

bool registerSupplier (Capability *someObject)
bool registerConsumer (Capability *someObject)
const char * priorityToString (int priority)
void g_log (std::string logString, int priority)
 Functions to provide logging at any scope to a global logger.
void g_debug (std::string logString)
 Logs a message at debug priority using the global logger.
void g_info (std::string logString)
 Logs a message at info priority using the global logger.
void g_notice (std::string logString)
 Logs a message at notice priority using the global logger.
void g_warn (std::string logString)
 Logs a message at warn priority using the global logger.
void g_error (std::string logString)
 Logs a message at error priority using the global logger.
void g_fatal (std::string logString)
 Logs a message at fatal priority using the global logger.
double normalizeAngle (double angle)
 Normalizes an angle to the range [-pi,pi].
void parseWURDEConfig (std::string config)
long GCM_rleEncodeGreyLow (unsigned char *data, const long rows, const long cols)
int GCM_rleDecodeGreyLow (unsigned char *source, const long rleSize, unsigned char *target)
long GCM_rleEncodeGreyMed (unsigned char *data, const long rows, const long cols)
int GCM_rleDecodeGreyMed (unsigned char *source, const long rleSize, unsigned char *target)
long GCM_rleEncodePixLow (unsigned char *data, const long rows, const long cols)
int GCM_rleDecodePixLow (unsigned char *data, const long rleSize, unsigned char *target)
long GCM_rleEncodePixMed (unsigned char *data, const long rows, const long cols)
int GCM_rleDecodePixMed (unsigned char *data, const long rleSize, unsigned char *target)

Variables

CommsManagerg_globalCommsManager_ptr
CommsManagerg_globalCommsManager_ptr
Loggerg_robotLoggerPtr
 Global logger object, which helps simplify things.
LoggerStream g_logdebug (LOG_DEBUG)
LoggerStream g_loginfo (LOG_INFO)
LoggerStream g_lognotice (LOG_NOTICE)
LoggerStream g_logwarn (LOG_WARNING)
LoggerStream g_logerror (LOG_ERR)
LoggerStream g_logfatal (LOG_CRIT)
Loggerg_robotLoggerPtr
 Global logger object, which helps simplify things.
LoggerStream g_logdebug
LoggerStream g_loginfo
LoggerStream g_lognotice
LoggerStream g_logwarn
LoggerStream g_logerror
LoggerStream g_logfatal
WURDEConfiguration g_globalConfiguration
WURDEConfiguration g_globalConfiguration


Typedef Documentation

typedef std::pair<WURDE::Time,IplImage *> WURDEImage

Definition at line 10 of file ImageSource.H.


Enumeration Type Documentation

enum ConnectionStrategy

Determines strategy for finding an appropriate stream for an object.

Enumerator:
STRAT_NULL  Null type
STRAT_AUTO  Find a stream automatically
STRAT_ASSIGNED  Request a pre-assigned streamname from MCP
STRAT_NORMAL  Streamname is supplied.

Definition at line 115 of file RobotTypes.H.

enum ConsumeMode

Used by a WritableType so it knows what sort of process holds it.

Enumerator:
C_NULL 
C_CONSUMER 
C_SUPPLIER 

Definition at line 61 of file RobotTypes.H.

enum ImageCompression

Enumerator:
COMPRESSION_NULL 
COMPRESSION_UNCOMPRESSED 
COMPRESSION_RLE_HIGHQUALITY 
COMPRESSION_RLE_LOWQUALITY 

Definition at line 152 of file RobotTypes.H.

enum ImageFormat

Enumeration for image types.

Please make sure you adjust communication adaptor definitions if you change this.

Enumerator:
FORMAT_NULL 
FORMAT_CHAR_111_YUV24 
FORMAT_CHAR_11_YUV422 
FORMAT_CHAR_111_RGB 
FORMAT_CHAR_1_GRAY 
FORMAT_INT 
FORMAT_DOUBLE 
FORMAT_FLOAT 
FORMAT_LONG 
FORMAT_SHORT 
FORMAT_CHAR 
FORMAT_BOOL 

Definition at line 137 of file RobotTypes.H.

enum MessageType

Gives the type of the info message.

Enumerator:
MESSAGE_NULL 
MESSAGE_INFO 
MESSAGE_REQUEST 
MESSAGE_PING 

Definition at line 124 of file RobotTypes.H.

enum ProcessLocale

Provides information about whether the process is running on the local system.

Used by mcp

Enumerator:
LOCALE_NULL 
LOCALE_EXTERNAL  < Null type Process is running on separate machine or this machine, we cannot start/stop
LOCALE_INTERNAL  Process is running on this machine, we can start/stop

Definition at line 97 of file RobotTypes.H.

enum ProcessType

Gives the managed state of the process.

Used by MCP

Enumerator:
PROC_NULL  Null type
PROC_MANAGED  Process is managed. reports heartbeat, and we should try to restart if it fails.
PROC_UNMANAGED  Process is unmanaged. does not report heartbeat. if internal, start when requested.
PROC_CRITICAL  Process is managed, and if it stops responding, we should send an idle command to all processes until it is online.

Definition at line 105 of file RobotTypes.H.

enum Protocols

Enumeration for specifying available communication adaptors.

All adaptors should be included here, even if they are not linked.

Enumerator:
PROTOCOL_NULL  Null value
PROTOCOL_CMUIPC  CMU IPC protocol
PROTOCOL_SHMEM  Shared memory protocol

Definition at line 42 of file RobotTypes.H.

enum RunState

Gives the current state of the process.

Used by heartbeat, simplecontrol, and mcp

Enumerator:
STATE_NULL  Null state
STATE_RUN  Process is running normally
STATE_IDLE  Process is running, but not processing or publishing data
STATE_QUIT  Process is quitting
STATE_RESTART  Process is restarting
STATE_REQUEST  Process should be started.
STATE_RESET  Process should clear all state information (maps, etc.) and begin processing again
STATE_ZOMBIE  Process has failed to send heartbeat recently, and will be restarted
STATE_FAIL  Process is unable to restart, so we must give up
STATE_INACTIVE  Process is inactive, and should be.
STATE_INFO  Process is active only to send informational message to the MCP.
STATE_STARTUP  Process is starting up. Additional time will be allowed before timing out

Definition at line 80 of file RobotTypes.H.

enum StatusMode

Used by a supplier to indicate that a request failed.

Enumerator:
STAT_NULL 
STAT_OKAY 
STAT_FAIL 
STAT_PENDING 
STAT_REQUEST 

Definition at line 69 of file RobotTypes.H.

enum TriggerType

Enumerated type to describe the type of trigger.

Enumerator:
TRIGGER_TIMED  A trigger that activates after a certain interval
TRIGGER_DATA_AND  A trigger that activates when all of its watched objects receive new data
TRIGGER_DATA_OR  A trigger that activates when any of its watched objects receive new data

Definition at line 41 of file Trigger.H.

enum WriteMode

Indicates the write mode for a WritableType object.

Enumerator:
W_NULL  Null type
W_SUPPLIER_ONLY  Only suppliers may write to the variable
W_CONSUMER_ONLY  Only consumers may write to the variable
W_ALL  Anyone may write to the variable
W_LOCKED  Only a specific process may write to the variable

Definition at line 51 of file RobotTypes.H.


Function Documentation

void WURDE::g_debug ( std::string  logString  )  [inline]

Logs a message at debug priority using the global logger.

Definition at line 231 of file Logger.H.

References g_log().

Referenced by BlobOperator::BlobOperator(), WURDE1394Camera::captureYUV24(), CommsManager::cleanUp(), FaceOperator::FaceOperator(), ImageWriter::fileWriterThread1(), DataCollector::fileWriterThread1(), ImageWriter::fileWriterThread2(), DataCollector::fileWriterThread2(), ImageWriter::fileWriterThread3(), DataCollector::fileWriterThread3(), Module::findObjectMapping(), WURDE1394Camera::WURDE1394CameraFinder::getCameraByID(), WURDECameraFinder::getCameraByID(), VisionOperator::getSuppliers(), CommsManager::handleMCP(), CommsManager::handleMCPReply(), handleRequest(), Module::hasSupplier(), FaceOperator::initOperator(), BlobOperator::initOperator(), WURDEVision::loadCameras(), WURDEVision::loadOperators(), main(), CommsManager::parseOptions(), WURDEVision::parseVisionFile(), Module::refresh(), WURDE1394Camera::resetFrame(), ImageWriter::runOperator(), ImagePublisher::runOperator(), and CommsManager::updateObjects().

void WURDE::g_error ( std::string  logString  )  [inline]

Logs a message at error priority using the global logger.

Definition at line 251 of file Logger.H.

References g_log().

Referenced by Module::beat(), WURDE1394Camera::captureGray(), WURDE1394Camera::captureRGB(), WURDE1394Camera::captureYUV24(), WURDE1394Camera::captureYUV422(), WURDE1394Camera::getBrightness(), WURDE1394Camera::getExposure(), WURDE1394Camera::getFocus(), WURDE1394Camera::getGain(), WURDE1394Camera::getGamma(), WURDE1394Camera::getHue(), ImageSource::getImage(), WURDE1394Camera::getIris(), WURDE1394Camera::getOpticalFilter(), WURDE1394Camera::getPan(), WURDE1394Camera::getSaturation(), WURDE1394Camera::getSharpness(), WURDE1394Camera::getShutter(), WURDE1394Camera::getTilt(), WURDE1394Camera::getTriggerDelay(), WURDE1394Camera::getZoom(), CommsManager::handleMCP(), WURDEVision::loadOperatorMap(), WURDEVision::loadOperators(), WURDEVision::parseVisionFile(), ImageSource::publishImage(), Module::refresh(), WURDE1394Camera::resetFrame(), WURDE1394Camera::setAutoIris(), WURDE1394Camera::setBrightness(), WURDE1394Camera::setExposure(), WURDE1394Camera::setFocus(), WURDE1394Camera::setGain(), WURDE1394Camera::setGamma(), WURDE1394Camera::setHue(), WURDE1394Camera::setIris(), WURDE1394Camera::setOpticalFilter(), WURDE1394Camera::setPan(), WURDE1394Camera::setSaturation(), WURDE1394Camera::setSharpness(), WURDE1394Camera::setShutter(), WURDE1394Camera::setTilt(), WURDE1394Camera::setTriggerDelay(), WURDE1394Camera::setZoom(), and WURDE1394Camera::startCapture().

void WURDE::g_fatal ( std::string  logString  )  [inline]

Logs a message at fatal priority using the global logger.

Definition at line 256 of file Logger.H.

References g_log().

Referenced by WallBuilder::activateConsumer(), VisionControl::activateConsumer(), VectorMoverTransport::activateConsumer(), SoundController::activateConsumer(), RobotDrive::activateConsumer(), RangeFinder::activateConsumer(), PTUnit::activateConsumer(), Power::activateConsumer(), PlaybackControl::activateConsumer(), ObstacleAvoiderTransport::activateConsumer(), McpRequest::activateConsumer(), MCPControl::activateConsumer(), LoggerTransport::activateConsumer(), ImageTransport::activateConsumer(), ImageDisplay::activateConsumer(), Heartbeat::activateConsumer(), Foo::activateConsumer(), FaceDetector::activateConsumer(), Egomotion::activateConsumer(), Bumper::activateConsumer(), BlobFinder::activateConsumer(), WallBuilder::activateSupplier(), VisionControl::activateSupplier(), VectorMoverTransport::activateSupplier(), SoundController::activateSupplier(), RobotDrive::activateSupplier(), RangeFinder::activateSupplier(), PTUnit::activateSupplier(), Power::activateSupplier(), PlaybackControl::activateSupplier(), ObstacleAvoiderTransport::activateSupplier(), McpRequest::activateSupplier(), MCPControl::activateSupplier(), LoggerTransport::activateSupplier(), ImageTransport::activateSupplier(), ImageDisplay::activateSupplier(), Heartbeat::activateSupplier(), Foo::activateSupplier(), FaceDetector::activateSupplier(), Egomotion::activateSupplier(), Bumper::activateSupplier(), BlobFinder::activateSupplier(), initialize(), WURDEVision::loadCameras(), and main().

void WURDE::g_info ( std::string  logString  )  [inline]

Logs a message at info priority using the global logger.

Definition at line 236 of file Logger.H.

References g_log().

Referenced by main().

void WURDE::g_log ( std::string  logString,
int  priority 
) [inline]

Functions to provide logging at any scope to a global logger.

Globals are ugly, but this is necessary unless we pass the logger into every function. This will now correctly log to standard out if there's no global logger.

Definition at line 220 of file Logger.H.

References g_robotLoggerPtr, Logger::log(), and priorityToString().

Referenced by g_debug(), g_error(), g_fatal(), g_info(), g_notice(), g_warn(), LoggerStringBuf::sync(), and LoggerStreamBuf::sync().

void WURDE::g_notice ( std::string  logString  )  [inline]

Logs a message at notice priority using the global logger.

Definition at line 241 of file Logger.H.

References g_log().

void WURDE::g_warn ( std::string  logString  )  [inline]

Logs a message at warn priority using the global logger.

Definition at line 246 of file Logger.H.

References g_log().

Referenced by WURDE1394Camera::captureGray(), WURDE1394Camera::captureRGB(), WURDE1394Camera::captureYUV24(), WURDE1394Camera::captureYUV422(), ImageSource::getImage(), handleRequest(), WURDEVision::loadOperators(), and CommsManager::parseOptions().

int GCM_rleDecodeGreyLow ( unsigned char *  source,
const long  rleSize,
unsigned char *  target 
)

Definition at line 56 of file rleCoding.cpp.

Referenced by ImageSource::getImage().

int GCM_rleDecodeGreyMed ( unsigned char *  source,
const long  rleSize,
unsigned char *  target 
)

Definition at line 116 of file rleCoding.cpp.

Referenced by ImageSource::getImage().

int GCM_rleDecodePixLow ( unsigned char *  data,
const long  rleSize,
unsigned char *  target 
)

Definition at line 177 of file rleCoding.cpp.

Referenced by ImageSource::getImage().

int GCM_rleDecodePixMed ( unsigned char *  data,
const long  rleSize,
unsigned char *  target 
)

Definition at line 236 of file rleCoding.cpp.

Referenced by ImageSource::getImage().

long GCM_rleEncodeGreyLow ( unsigned char *  data,
const long  rows,
const long  cols 
)

Definition at line 20 of file rleCoding.cpp.

Referenced by ImageSource::publishImage().

long GCM_rleEncodeGreyMed ( unsigned char *  data,
const long  rows,
const long  cols 
)

Definition at line 82 of file rleCoding.cpp.

Referenced by ImageSource::publishImage().

long GCM_rleEncodePixLow ( unsigned char *  data,
const long  rows,
const long  cols 
)

Definition at line 145 of file rleCoding.cpp.

Referenced by ImageSource::publishImage().

long GCM_rleEncodePixMed ( unsigned char *  data,
const long  rows,
const long  cols 
)

Definition at line 212 of file rleCoding.cpp.

Referenced by ImageSource::publishImage().

double normalizeAngle ( double  angle  ) 

Normalizes an angle to the range [-pi,pi].

This should eventually be moot, as it'd be nice to have an angle primitive.

Definition at line 31 of file RobotUtil.cpp.

Referenced by main(), and updateWaypoint().

void parseWURDEConfig ( std::string  config  ) 

Definition at line 46 of file xmlparser.cpp.

References g_globalConfiguration, g_logdebug, g_logfatal, g_logwarn, WURDEConfiguration::setBinDirectory(), WURDEConfiguration::setConfigDirectory(), WURDEConfiguration::setDataDirectory(), WURDEConfiguration::setLogDirectory(), WURDEConfiguration::setLogLevel(), WURDEConfiguration::setMCPConfigFile(), WURDEConfiguration::setModuleOption(), and WURDEConfiguration::setOption().

Referenced by CommsManager::parseOptions().

const char * priorityToString ( int  priority  ) 

Definition at line 186 of file Logger.cpp.

Referenced by g_log(), and Logger::log().

bool registerConsumer ( Capability someObject  ) 

Definition at line 724 of file CommsManager.cpp.

References g_globalCommsManager_ptr, g_logerror, and CommsManager::registerConsumer().

Referenced by FaceOperator::FaceOperator().

bool registerSupplier ( Capability someObject  ) 

Definition at line 715 of file CommsManager.cpp.

References g_globalCommsManager_ptr, g_logerror, and CommsManager::registerSupplier().

Referenced by BlobOperator::BlobOperator(), and FaceOperator::FaceOperator().


Variable Documentation

CommsManager* g_globalCommsManager_ptr

Definition at line 42 of file CommsManager.cpp.

Referenced by CommsManager::CommsManager(), registerConsumer(), and registerSupplier().

CommsManager* g_globalCommsManager_ptr

Definition at line 42 of file CommsManager.cpp.

Referenced by CommsManager::CommsManager(), registerConsumer(), and registerSupplier().

WURDEConfiguration g_globalConfiguration

Definition at line 38 of file WURDEConfiguration.cpp.

Referenced by initializeLaser(), Logger::initLogger(), StereoDataCollector::initOperator(), ImageWriter::initOperator(), ImagePublisher::initOperator(), FaceOperator::initOperator(), DataCollector::initOperator(), BlobOperator::initOperator(), main(), parseLaserConfig(), CommsManager::parseOptions(), parseRflexConfig(), WURDEVision::parseVisionFile(), parseWURDEConfig(), and Module::startUp().

WURDEConfiguration g_globalConfiguration

Definition at line 38 of file WURDEConfiguration.cpp.

Referenced by initializeLaser(), Logger::initLogger(), BlobOperator::initOperator(), DataCollector::initOperator(), FaceOperator::initOperator(), ImagePublisher::initOperator(), ImageWriter::initOperator(), StereoDataCollector::initOperator(), main(), parseLaserConfig(), CommsManager::parseOptions(), parseRflexConfig(), WURDEVision::parseVisionFile(), parseWURDEConfig(), and Module::startUp().

LoggerStream g_logdebug

Referenced by StereoDataCollector::fileWriterThread(), Module::findObjectMapping(), GameController::GameController(), WURDEConfiguration::haveOption(), WURDEPlaybackCamera::init(), WURDEVision::loadOperators(), main(), Module::Module(), myHaarDetectObjects(), DirectoryScanner::openDirectory(), WURDEVision::parseCameraFile(), MCP::parseConfigFile(), MCP::parseMapFile(), CommsManager::parseOptions(), WURDEVision::parseVisionFile(), parseWURDEConfig(), ImageSource::publishImage(), GameController::readThread(), Module::refresh(), CommsManager::registerObject(), Module::setModuleName(), WURDEConfiguration::setOption(), WURDEPlaybackCamera::startCapture(), Module::startUp(), updateWaypoint(), and WURDEPlaybackCamera::WURDEPlaybackCamera().

LoggerStream g_logdebug(LOG_DEBUG)

Referenced by StereoDataCollector::fileWriterThread(), Module::findObjectMapping(), GameController::GameController(), WURDEConfiguration::haveOption(), WURDEPlaybackCamera::init(), WURDEVision::loadOperators(), main(), Module::Module(), myHaarDetectObjects(), DirectoryScanner::openDirectory(), WURDEVision::parseCameraFile(), MCP::parseConfigFile(), MCP::parseMapFile(), CommsManager::parseOptions(), WURDEVision::parseVisionFile(), parseWURDEConfig(), ImageSource::publishImage(), GameController::readThread(), Module::refresh(), CommsManager::registerObject(), Module::setModuleName(), WURDEConfiguration::setOption(), WURDEPlaybackCamera::startCapture(), Module::startUp(), updateWaypoint(), and WURDEPlaybackCamera::WURDEPlaybackCamera().

LoggerStream g_logerror

Referenced by WURDECamera::captureGray(), WURDECamera::captureRGB(), WURDECamera::captureYUV24(), WURDECamera::captureYUV422(), WURDEPlaybackCamera::init(), main(), DirectoryScanner::openDirectory(), MCP::parseConfigFile(), registerConsumer(), registerSupplier(), Module::startUp(), and WURDE1394Camera::WURDE1394Camera().

LoggerStream g_logerror(LOG_ERR)

Referenced by WURDECamera::captureGray(), WURDECamera::captureRGB(), WURDECamera::captureYUV24(), WURDECamera::captureYUV422(), WURDEPlaybackCamera::init(), main(), DirectoryScanner::openDirectory(), MCP::parseConfigFile(), registerConsumer(), registerSupplier(), Module::startUp(), and WURDE1394Camera::WURDE1394Camera().

LoggerStream g_logfatal

Referenced by configureJoystick(), WURDEVision::loadCameras(), WURDEVision::parseCameraFile(), MCP::parseConfigFile(), parseLaserConfig(), MCP::parseMapFile(), parseRflexConfig(), WURDEVision::parseVisionFile(), and parseWURDEConfig().

LoggerStream g_logfatal(LOG_CRIT)

Referenced by configureJoystick(), WURDEVision::loadCameras(), WURDEVision::parseCameraFile(), MCP::parseConfigFile(), parseLaserConfig(), MCP::parseMapFile(), parseRflexConfig(), WURDEVision::parseVisionFile(), and parseWURDEConfig().

LoggerStream g_loginfo

Referenced by main(), FaceOperator::quitOperator(), and GuiControl::Tick().

LoggerStream g_loginfo(LOG_INFO)

Referenced by main(), FaceOperator::quitOperator(), and GuiControl::Tick().

LoggerStream g_lognotice

LoggerStream g_lognotice(LOG_NOTICE)

LoggerStream g_logwarn

Referenced by WURDECamera::getBrightness(), WURDECamera::getExposure(), WURDECamera::getFocus(), WURDECamera::getGain(), WURDECamera::getGamma(), WURDECamera::getHue(), WURDECamera::getIris(), WURDECamera::getOpticalFilter(), WURDECamera::getPan(), WURDECamera::getSaturation(), WURDECamera::getSharpness(), WURDECamera::getShutter(), WURDECamera::getTilt(), WURDECamera::getTriggerDelay(), WURDECamera::getZoom(), WURDEPlaybackCamera::init(), initializeLaser(), DirectoryScanner::openDirectory(), MCP::parseConfigFile(), parseWURDEConfig(), WURDECamera::setAutoIris(), WURDECamera::setBrightness(), WURDECamera::setExposure(), WURDECamera::setFocus(), WURDECamera::setGain(), WURDECamera::setGamma(), WURDECamera::setHue(), WURDECamera::setIris(), WURDECamera::setOpticalFilter(), WURDECamera::setPan(), WURDECamera::setSaturation(), WURDECamera::setSharpness(), WURDECamera::setShutter(), WURDECamera::setTilt(), WURDECamera::setTriggerDelay(), WURDECamera::setTriggerMode(), WURDECamera::setZoom(), WURDE1394Camera::startCapture(), and updateModules().

LoggerStream g_logwarn(LOG_WARNING)

Referenced by WURDECamera::getBrightness(), WURDECamera::getExposure(), WURDECamera::getFocus(), WURDECamera::getGain(), WURDECamera::getGamma(), WURDECamera::getHue(), WURDECamera::getIris(), WURDECamera::getOpticalFilter(), WURDECamera::getPan(), WURDECamera::getSaturation(), WURDECamera::getSharpness(), WURDECamera::getShutter(), WURDECamera::getTilt(), WURDECamera::getTriggerDelay(), WURDECamera::getZoom(), WURDEPlaybackCamera::init(), initializeLaser(), DirectoryScanner::openDirectory(), MCP::parseConfigFile(), parseWURDEConfig(), WURDECamera::setAutoIris(), WURDECamera::setBrightness(), WURDECamera::setExposure(), WURDECamera::setFocus(), WURDECamera::setGain(), WURDECamera::setGamma(), WURDECamera::setHue(), WURDECamera::setIris(), WURDECamera::setOpticalFilter(), WURDECamera::setPan(), WURDECamera::setSaturation(), WURDECamera::setSharpness(), WURDECamera::setShutter(), WURDECamera::setTilt(), WURDECamera::setTriggerDelay(), WURDECamera::setTriggerMode(), WURDECamera::setZoom(), WURDE1394Camera::startCapture(), and updateModules().

Logger* g_robotLoggerPtr

Global logger object, which helps simplify things.

This makes it possible for us to log anywhere without passing around the Logger. The programmer is still responsible for creating a logger to fill this variable (for individual processes, anyway.)

Definition at line 35 of file Logger.cpp.

Referenced by g_log(), Logger::Logger(), and CommsManager::parseOptions().

Logger* g_robotLoggerPtr

Global logger object, which helps simplify things.

This makes it possible for us to log anywhere without passing around the Logger. The programmer is still responsible for creating a logger to fill this variable (for individual processes, anyway.)

Definition at line 35 of file Logger.cpp.

Referenced by g_log(), Logger::Logger(), and CommsManager::parseOptions().


Generated on Thu Feb 1 15:31:55 2007 for WURDE by  doxygen 1.5.1