Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

Config.cc File Reference

Implements Config, which provides global access to system configuration information. More...

#include "Config.h"
#include "Shared/plist.h"
#include "Shared/string_util.h"
#include "Shared/RobotInfo.h"
#include <jpeglib.h>
#include <vector>
#include <string>
#include <libxml/xmlmemory.h>
#include <libxml/parser.h>
#include <iostream>
#include <fstream>
#include <cstdio>
#include <cerrno>
#include <cstring>
#include <cctype>
#include <cmath>
#include <sys/param.h>
#include <unistd.h>
#include "Shared/ProjectInterface.h"
#include "Vision/RawCameraGenerator.h"
#include "Shared/debuget.h"
Include dependency graph for Config.cc:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

plist::NamedEnumeration statics

Explicitly declaring these values allows us to relegate storage to a single translation unit instead of having it reallocated every time the class is referenced. This actually adds up to megabytes of symbols (especially with debugging info). provides string names for enumeration values (see plist::NamedEnumeration and INSTANTIATE_NAMEDENUMERATION_STATICS)

 INSTANTIATE_NAMEDENUMERATION_STATICS (Config::main_config::consoleMode_t)
 INSTANTIATE_NAMEDENUMERATION_STATICS (Config::sound_config::volume_levels)
 INSTANTIATE_NAMEDENUMERATION_STATICS (Config::transports)
 INSTANTIATE_NAMEDENUMERATION_STATICS (Config::vision_config::RawCamConfig::compression_t)
 INSTANTIATE_NAMEDENUMERATION_STATICS (Config::vision_config::RawCamConfig::encoding_t)
 INSTANTIATE_NAMEDENUMERATION_STATICS (Config::vision_config::SegCamConfig::compression_t)
 INSTANTIATE_NAMEDENUMERATION_STATICS (Config::vision_config::gain_levels)
 INSTANTIATE_NAMEDENUMERATION_STATICS (Config::vision_config::shutter_speeds)
 INSTANTIATE_NAMEDENUMERATION_STATICS (Config::vision_config::white_balance_levels)
 INSTANTIATE_NAMEDENUMERATION_STATICS (J_DCT_METHOD)

Variables

Configconfig = NULL
 allows global access to current settings

Detailed Description

Implements Config, which provides global access to system configuration information.

Author:
ejt (Creator)
alokl (Original configuration system)
Author
ejt
Name
Revision
1.76
State
Exp
Date
2009/12/11 20:26:05

Definition in file Config.cc.


Function Documentation

INSTANTIATE_NAMEDENUMERATION_STATICS ( J_DCT_METHOD   ) 
INSTANTIATE_NAMEDENUMERATION_STATICS ( Config::vision_config::white_balance_levels   ) 
INSTANTIATE_NAMEDENUMERATION_STATICS ( Config::vision_config::shutter_speeds   ) 
INSTANTIATE_NAMEDENUMERATION_STATICS ( Config::vision_config::gain_levels   ) 
INSTANTIATE_NAMEDENUMERATION_STATICS ( Config::vision_config::SegCamConfig::compression_t   ) 
INSTANTIATE_NAMEDENUMERATION_STATICS ( Config::vision_config::RawCamConfig::encoding_t   ) 
INSTANTIATE_NAMEDENUMERATION_STATICS ( Config::vision_config::RawCamConfig::compression_t   ) 
INSTANTIATE_NAMEDENUMERATION_STATICS ( Config::transports   ) 
INSTANTIATE_NAMEDENUMERATION_STATICS ( Config::sound_config::volume_levels   ) 
INSTANTIATE_NAMEDENUMERATION_STATICS ( Config::main_config::consoleMode_t   ) 

Variable Documentation

Config* config = NULL

allows global access to current settings

Definition at line 44 of file Config.cc.

Referenced by HelpControl::activate(), WorldState::applyCalibration(), RawCameraGenerator::calcImage(), JPEGGenerator::calcImage(), SensorObserverControl::checkLogFile(), EventLogger::checkLogFile(), ControlBase::clearMenu(), Controller::console_callback(), SoundManager::CopyTo(), ControlBase::deactivate(), PostureMC::defaultMaxSpeed(), HeadPointerMC::defaultMaxSpeed(), ControlBase::doCancel(), ControlBase::doNextItem(), ControlBase::doPrevItem(), ControlBase::doReadStdIn(), WalkCalibration::doSelect(), SensorObserverControl::doSelect(), EventLogger::doSelect(), ControlBase::doSelect(), WorldStateSerializerBehavior::DoStart(), WMMonitorBehavior::DoStart(), ViewWMVarsBehavior::DoStart(), EStopControllerBehavior::DoStart(), Controller::DoStart(), Controller::DoStop(), SoundManager::endPlay(), WalkCalibration::err(), XWalkControllerBehavior::getClassDescription(), WorldStateSerializerBehavior::getClassDescription(), WMMonitorBehavior::getClassDescription(), WalkControllerBehavior::getClassDescription(), ViewWMVarsBehavior::getClassDescription(), UPennWalkControllerBehavior::getClassDescription(), SegCamBehavior::getClassDescription(), RegionCamBehavior::getClassDescription(), RawCamBehavior::getClassDescription(), HeadControllerBehavior::getClassDescription(), EStopControllerBehavior::getClassDescription(), ArmControllerBehavior::getClassDescription(), CameraBehavior::getNextName(), MotionManager::getOutputs(), WorldStateSerializerBehavior::getPort(), WMMonitorBehavior::getPort(), Aibo3DControllerBehavior::getPort(), SoundManager::getRemainTime(), WalkMC::init(), Kinematics::init(), ConfigurationEditor::init(), CameraBehavior::initIndex(), PitchDetector::is_pitch(), SoundManager::loadBuffer(), SegmentedColorGenerator::loadColorInfo(), WaypointEngine< MAX_WAY >::loadFile(), WalkMC::loadFile(), SoundManager::loadFile(), PostureEngine::loadFile(), MotionSequenceEngine::loadFile(), SegmentedColorGenerator::loadThresholdMap(), CameraBehavior::openNextFile(), SoundManager::playFile(), PostureEditor::PostureEditor(), WorldStateSerializerBehavior::processEvent(), WalkCalibration::processEvent(), RawCameraGenerator::processEvent(), CameraBehavior::processEvent(), BallDetectionGenerator::processEvent(), DualCoding::projectMarkerToCam(), Kinematics::projectToGround(), WorldState::read(), PostureEditor::refresh(), ControlBase::refresh(), SoundManager::release(), SoundManager::releaseFile(), HelpControl::report(), WalkCalibration::saveData(), WaypointEngine< MAX_WAY >::saveFile(), WalkMC::saveFile(), PostureEngine::saveFile(), MotionSequenceEngine::saveFile(), LoadCalibration::selectedFile(), CameraStreamBehavior::sendSensors(), Controller::setConfig(), ControlBase::setHilights(), FileBrowserControl::setRoot(), EmergencyStopMC::setStopped(), SoundManager::speak(), SoundManager::stopPlay(), WalkCalibration::takeInput(), SaveWalkControl::takeInput(), SavePostureControl::takeInput(), ControlBase::takeInput(), BallDetectionGenerator::testSendEvent(), WalkMC::updateOutputs(), and XWalkMC::XWalkMC().


Tekkotsu v5.0CVS
Generated Thu Mar 18 06:35:34 2010 by Doxygen 1.6.3