Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
plist::OutputSelector Class ReferenceHandles mapping <string> elements to the appropriate numeric offset using Capabilities database. More...
Inheritance diagram for plist::OutputSelector:
Detailed DescriptionHandles mapping <string> elements to the appropriate numeric offset using Capabilities database. Values can be prefixed with the name of a model and '/' -- this is recommended for numeric values so they can be mapped portably to corresponding outputs on other models. This is not necessary when specifying output names, as the name is semantic and allows mapping through Capabilities. By default, this class will accept any output offset, but through setRange(), can be configured to accept unactuated reference frames as well (e.g. CameraFrame). Invalid offsets can either trigger an exception or simply reset to UNUSED depending on throwOnInvalid. This class stores the numeric output offset so it can be indexed into arrays. Definition at line 28 of file plistSpecialty.h.
Member Enumeration Documentation
Definition at line 30 of file plistSpecialty.h. Constructor & Destructor Documentation
constructor Definition at line 50 of file plistSpecialty.h.
casting constructor Definition at line 51 of file plistSpecialty.h. Member Function Documentation
clone definition for OutputSelector implements the clone function for Primitive<char> Reimplemented from plist::Primitive< unsigned int >. Definition at line 364 of file plistSpecialty.cc.
return current value as a string Reimplemented from plist::Primitive< unsigned int >. Definition at line 299 of file plistSpecialty.cc. Referenced by ShapeSpaceCollisionCheckerBase< 2 >::addDisplayRobotObstacles(), ShapeSpaceCollisionCheckerBase< 2 >::addRobotObstacles(), KinematicJoint::getIK(), KinematicJoint::getPath(), RRTNode3DR< N >::CollisionChecker::JointObstacle::JointObstacle(), RRTNode2DR< N >::CollisionChecker::JointObstacle::JointObstacle(), ShapeSpacePlanner3DR< N >::plotPath(), XWalkMC::sendLoadPredictions(), IKThreeLink::solve(), and XWalkMC::stop().
returns defModel Definition at line 67 of file plistSpecialty.h.
returns useNumeric Definition at line 64 of file plistSpecialty.h.
returns rangeBegin Definition at line 76 of file plistSpecialty.h.
returns rangeEnd Definition at line 77 of file plistSpecialty.h.
returns saveModel Definition at line 70 of file plistSpecialty.h.
interprets node as holding the specialization type Reimplemented from plist::Primitive< unsigned int >. Definition at line 65 of file plistSpecialty.cc.
Definition at line 54 of file plistSpecialty.h. Referenced by operator=().
assignment from value type (template specializations add in-place modiciation (e.g. +=, *=)) Reimplemented from plist::Primitive< unsigned int >. Definition at line 43 of file plistSpecialty.cc.
assignment from std::string, wraps it in a plist::Primitive and passes on to operator=(PrimitiveBase) Reimplemented from plist::PrimitiveBase. Definition at line 52 of file plistSpecialty.h.
saves val into node Reimplemented from plist::Primitive< unsigned int >. Definition at line 160 of file plistSpecialty.cc.
assign a new value Reimplemented from plist::Primitive< unsigned int >. Definition at line 177 of file plistSpecialty.cc.
sets defModel Definition at line 66 of file plistSpecialty.h.
sets useNumeric Definition at line 63 of file plistSpecialty.h.
Sets range of acceptable output offsets between begin (inclusive) and end (exclusive). You could use this to restrict the type of outputs which can be assigned (e.g. LEDOffset to LEDOffset+NumLEDs), or to expand the range to include unactuated reference frames (0 to NumReferenceFrames) Definition at line 346 of file plistSpecialty.cc. Referenced by DriverMessaging::ContactPoint::init(), and KinematicJoint::initEntries().
sets saveModel Definition at line 69 of file plistSpecialty.h.
returns throwInvalid Definition at line 80 of file plistSpecialty.h.
sets throwInvalid Definition at line 79 of file plistSpecialty.h. Member Data Documentation
Stores the model to assume when loading a numeric output offset without a model specifier *from a string/file*, blank means current global capabilities. Definition at line 88 of file plistSpecialty.h. Referenced by getDefaultModel(), loadXML(), set(), and setDefaultModel().
the first acceptable output offset, lower offsets will be set as UNUSED Definition at line 93 of file plistSpecialty.h. Referenced by getRangeBegin(), loadXML(), operator=(), set(), and setRange().
The one-past-last acceptable output offset, higher offsets will be set as UNUSED. Definition at line 95 of file plistSpecialty.h. Referenced by getRangeEnd(), loadXML(), operator=(), set(), and setRange().
If non-empty, indicates the model specifier to use when saving as a numeric (useNumeric). This is set whenever a value with a specifier is loaded from a file. Definition at line 91 of file plistSpecialty.h. Referenced by get(), getSaveModel(), loadXML(), saveXML(), set(), and setSaveModel().
If true, out-of-range or unknown values will throw an OutputSelector::bad_value exception instead of being marked UNUSED. Definition at line 97 of file plistSpecialty.h. Referenced by loadXML(), operator=(), set(), setRange(), and throwOnInvalid().
If true, will throw an OutputSelector::bad_value exception for attempts to explicitly mark the output UNUSED (e.g. empty string, -1U numeric...). Definition at line 99 of file plistSpecialty.h. Referenced by loadXML(), operator=(), and set().
If true, requests that saves store the numeric value instead of corresponding output name. Definition at line 83 of file plistSpecialty.h. Referenced by get(), getNumeric(), loadXML(), saveXML(), and setNumeric(). The documentation for this class was generated from the following files: |
Tekkotsu v5.1CVS |
Generated Mon May 9 04:59:25 2016 by Doxygen 1.6.3 |