Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
Config Class Referencethe root configuration object, provides some global functionality like porting pathnames (portPath()) More...
Inheritance diagram for Config:
Detailed Descriptionthe root configuration object, provides some global functionality like porting pathnames (portPath()) Definition at line 100 of file Config.h.
Member Enumeration Documentation
Constructor & Destructor DocumentationMember Function Documentation
returns fsRoot Definition at line 121 of file Config.h. Referenced by CameraData::loadCameraData(), KoduConfig::loadFile(), and CameraData::saveCameraData().
Load from a saved buffer in memory.
Reimplemented from XMLLoadSave.
initiate opening of the specified file and loading/saving of all appropriate information.
Reimplemented from XMLLoadSave. Definition at line 201 of file Config.cc. Referenced by Config().
Used recursively on member objects once a file is already open - DON'T CLOSE the file in your overridden functions.
Reimplemented from XMLLoadSave.
Definition at line 402 of file Config.cc. Referenced by loadBuffer(), loadFile(), and loadFileStream().
returns an absolute path if is relative (to root), otherwise just name Definition at line 127 of file Config.h. Referenced by GaitedFootstepMC::GaitedFootstepMC(), Kinematics::init(), and XWalkMC::XWalkMC().
Definition at line 432 of file Config.cc. Referenced by loadOldFormat().
returns a portable version of path which should be usable on either the simulator or the robot Definition at line 274 of file Config.cc. Referenced by SensorObserverControl::checkLogFile(), EventLogger::checkLogFile(), CameraBehavior::getNextName(), CameraBehavior::initIndex(), SegmentedColorGenerator::loadColorInfo(), loadFile(), SegmentedColorGenerator::loadThresholdMap(), Config::sound_config::makePath(), PostureEditor::PostureEditor(), WalkCalibration::saveData(), searchPath(), LoadCalibration::selectedFile(), FileBrowserControl::setRoot(), and WaypointWalkControl::WaypointWalkControl().
saves the dictionary into the specified node
seen is not cleared before being used. Reimplemented from plist::DictionaryBase.
searches for name at root/target/name, root/name, and finally just name, returns root/target/name if not found. Definition at line 549 of file Config.cc. Referenced by Config::motion_config::makePath(), and makePath().
pass the section, item name string, item value string - sets the value and returns pointer to the item changed this is the older deprecated interface -- use the inherited resolveEntry() instead to support sub-sections Definition at line 289 of file Config.cc. Referenced by parseLine(), and Controller::setConfig(). Member Data Documentationplace for users to put their own configuration you can dynamically "link in" external configuration settings by passing them to the addEntry() of the plist::Dictionary superclass. You may want to call writeParseTree() first to flush current settings, and then readParseTree() afterward to pull any pre-existing values from the configuration file into the instances you've just registered. Of course, you could also just write your values into the configuration file first, and just rely on getEntry/setEntry to read/write the value. This may be more convenient if you use the value infrequently and don't need an instance of it sitting around. Referenced by Config(), FlashIPAddrBehavior::doStart(), and FlashIPAddrBehavior::setupSequence(). controller information Referenced by Config(), ControlBase::doCancel(), CameraBehavior::doEvent(), ControlBase::doNextItem(), ControlBase::doPrevItem(), ControlBase::doReadStdIn(), WaypointWalkControl::WaypointEditControl::doSelect(), WaypointWalkControl::doSelect(), WalkCalibration::doSelect(), SensorObserverControl::doSelect(), EventLogger::doSelect(), ControlBase::doSelect(), Controller::doStart(), Controller::doStop(), WalkCalibration::err(), CameraBehavior::openNextFile(), WalkCalibration::processEvent(), ControlBase::setHilights(), and WalkCalibration::takeInput().
Definition at line 701 of file Config.h. Referenced by localeToLower().
a prefix representing the file system root, usually indicating the robot's storage root. When running in the simulator, this is used to pretend that a subdirectory in the project folder (e.g. 'ms') is the root file system Definition at line 710 of file Config.h. Referenced by getFileSystemRoot(), portPath(), and setFileSystemRoot(). general configuration options Referenced by HelpControl::activate(), ControlBase::clearMenu(), Config(), Controller::console_callback(), ControlBase::deactivate(), WorldStateSerializerBehavior::doEvent(), ControlBase::doSelect(), WorldStateSerializerBehavior::doStart(), WMMonitorBehavior::doStart(), HeadController::doStart(), EStopController::doStart(), ArmController::doStart(), WorldStateSerializerBehavior::getClassDescription(), WMMonitorBehavior::getClassDescription(), WalkController::getClassDescription(), UPennWalkControllerBehavior::getClassDescription(), HeadController::getClassDescription(), GamepadController::getClassDescription(), EStopController::getClassDescription(), ArmController::getClassDescription(), WorldStateSerializerBehavior::getPort(), WMMonitorBehavior::getPort(), Aibo3DControllerBehavior::getPort(), ControlBase::refresh(), HelpControl::report(), CameraStreamBehavior::sendSensors(), GamepadController::start(), and ControlBase::takeInput(). motion information Referenced by WorldState::applyCalibration(), Config(), PostureMC::defaultMaxSpeed(), HeadPointerMC::defaultMaxSpeed(), GaitedFootstepMC::GaitedFootstepMC(), MotionManager::getOutputs(), Kinematics::init(), WaypointEngine::loadFile(), PostureEngine::loadFile(), MotionSequenceEngine::loadFile(), PostureEditor::PostureEditor(), WorldState::read(), WaypointWalkControl::refresh(), PostureEditor::refresh(), WaypointEngine::saveFile(), PostureEngine::saveFile(), MotionSequenceEngine::saveFile(), EmergencyStopMC::setStopped(), setValue(), SaveWalkControl::takeInput(), SavePostureControl::takeInput(), WaypointWalkControl::WaypointWalkControl(), XWalkEdit::XWalkEdit(), and XWalkMC::XWalkMC().
number of transports available sound information Referenced by Config(), SoundManager::CopyTo(), SoundManager::endPlay(), SoundManager::getRemainTime(), PitchDetector::is_pitch(), SoundManager::loadBuffer(), SoundManager::loadFile(), SoundManager::playFile(), SoundManager::release(), SoundManager::releaseFile(), SoundManager::speak(), and SoundManager::stopPlay().
string names for transports vision configuration options (this is a *big* section, with sub-sections) Referenced by RawCameraGenerator::calcImage(), JPEGGenerator::calcImage(), Config(), SegCam::doEvent(), RegionCam::doEvent(), RawCameraGenerator::doEvent(), RawCam::doEvent(), DepthCam::doEvent(), CameraBehavior::doEvent(), BallDetectionGenerator::doEvent(), RawCam::drawShapesIntoBuffer(), DualCoding::Lookout::findLocationFor(), SegCam::getClassDescription(), RegionCam::getClassDescription(), RawCam::getClassDescription(), DepthCam::getClassDescription(), RawCam::getSourceLayer(), DualCoding::MapBuilder::isLineVisible(), DualCoding::MapBuilder::isPointVisible(), RawCam::openPacket(), DepthCam::openPacket(), projectShapeToCamera(), Kinematics::projectToGround(), SegCam::setupServer(), RegionCam::setupServer(), RawCam::setupServer(), DepthCam::setupServer(), setValue(), BallDetectionGenerator::testSendEvent(), RawCam::writeColor(), DepthCam::writeDepth(), RegionCam::writeRegions(), SegCam::writeRLE(), SegCam::writeSeg(), and RawCam::writeSingleChannel(). wireless configuration options Referenced by Config().
Definition at line 697 of file Config.h. Referenced by loadBuffer(), loadFile(), and loadFileStream().
Definition at line 698 of file Config.h. Referenced by loadBuffer(), loadFile(), and loadFileStream().
Definition at line 699 of file Config.h. Referenced by loadBuffer(), loadFile(), and loadFileStream(). The documentation for this class was generated from the following files: |
Tekkotsu v5.1CVS |
Generated Mon May 9 04:59:06 2016 by Doxygen 1.6.3 |