![]() |
VR-Forces Developer's Guide
|
Description: This class will look at parameter and state data to publish range rings (via the object data message) for each range ring item found.
Public Member Functions | |
| DtRangeRingsParametersPublisher (DtLocalObject *) | |
| virtual | ~DtRangeRingsParametersPublisher () |
| virtual void | setTickRate (double, double varianceRange=1.0) |
| virtual double | tickRate () const |
| virtual void | tick () |
| virtual void | rangeItemsFromProperties (const DtRwVariableBindings &, std::string prefix) |
Protected Types | |
| typedef std::map< int, DtRangeItem > | DtRangeItemMap |
Protected Member Functions | |
| virtual void | firstTickInit () |
| virtual void | updateRangeRings (DtRangeItemMap &, DtReaderWriter *, const DtRwPropertiesList *sectorSizes, std::string prefix) |
| virtual int | fillInFrom (DtRangeItems::RangeItems ¤t, const DtRangeItemMap &from, int start) const |
|
protected |
| DtRangeRingsParametersPublisher::DtRangeRingsParametersPublisher | ( | DtLocalObject * | ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Sets the tick rate to tick the publisher. Default is -1 (fast as possible). Time is in simulation seconds.
|
virtual |
|
virtual |
Ticks the "publisher". Will iterate over parameter data (first time as parameter data does not change) and state data (each tick) to come up with a list of range rings.
|
virtual |
Updates myRangeItems for all range item properties.
|
protectedvirtual |
Called for first tick.
|
protectedvirtual |
Adds range rings into the given vector. Prefixes names by the supplied prefix.
|
protectedvirtual |
Fills in the list from the give range rings, adding as needed.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |