![]() |
VR-Forces 4.3.1 Class Documentation
|

Public Member Functions | |
| DtAggregateCopyObject (makVrv::DtDe &) | |
| virtual | ~DtAggregateCopyObject () |
| virtual bool | copyOperationsPending () const |
| Return true if copy operations are complete, else false will signal that there are other operations yet to be done. | |
Public Member Functions inherited from makVrf::DtEntityCopyObject | |
| DtEntityCopyObject (makVrv::DtDe &) | |
| virtual | ~DtEntityCopyObject () |
| virtual DtGeodeticCoord | calculateCenter () const |
| Returns the center of the object in geocentric coordinates. | |
| virtual void | createFacade () |
| Creates the facade that will be used to display a temp item during paste operation. | |
| virtual void | setOrigin (const DtGeodeticCoord &) |
| Should shift (rather than absolute location set) points by amount specified. | |
| virtual DtVector | pasteOrigin () const |
| Origin at which to paste the object. Will take into account offsets (if they exist) | |
| virtual DtVector | origin () const |
| If facade is available, returns the origin of the facade, else returns center(). Returns in local coordinates. | |
Public Member Functions inherited from makVrf::DtCopyObject | |
| DtCopyObject (makVrv::DtDe &) | |
| virtual | ~DtCopyObject () |
| virtual void | read (const std::string &buf) |
| Reads data from the buffer. | |
| const std::string & | name () const |
| virtual void | setAltitudeClampType (DtAltitudeClampType) |
| Sets the clamp type to used when calculating localLocation. Default is above terrain. | |
| DtAltitudeClampType | altitudeClampType () const |
| void | setType (int t) |
| int | type () const |
| void | setBuffer (const std::string &b) |
| const std::string & | buffer () const |
| virtual bool | preserveOffsets () const |
| Returns true if offsets from origin should be preserved on paste. Default is false. | |
| virtual DtGeodeticCoord | center () const |
| Returns the center of the object in geocentric coordinates. | |
| virtual DtVector | localCenter () const |
| virtual void | setGeometricCenter (const DtGeodeticCoord &) |
| Sets the center of all objects being painted (in geocentric as per center() call). | |
| const DtGeodeticCoord & | geometricCenter () const |
| const makVrv::DtVrlinkSimulatedBaseState * | readableStateData () const |
| virtual bool | updateDataBeforeCopy () const |
| Returns true as to whether or not to force a data update before copy. Default is false. | |
| virtual void | setUpdateDataBeforeCopy (bool) |
Protected Types | |
| typedef std::map< std::string, makVrv::DtElementID > | AwaitingMap |
Protected Member Functions | |
| virtual void | write (std::ostringstream &str, const makVrv::DtVrlinkSimulatedEntityState *data, makVrv::DtUniqueID id) |
| Copies aggregate specific information and starts hierarchy copy. | |
| virtual void | read (std::istringstream &str, makVrv::DtVrlinkSimulatedEntityState *data) |
| Reads in data specific to this aggregate and all subordinates. | |
| virtual void | copied (DtCopyObject *, const std::string &) |
| Called when subordinate object has successfully copied. Re-emits signal. | |
| virtual void | copyOperationPending (DtCopyObject *, const std::string &) |
| Reemits copy operation pending signal. | |
| virtual void | createObject (const DtVector &) |
| Creates this object and all sub objects. | |
| virtual void | pasteCompleted () |
| Called when all child objects have been created. Completes aggregate process. | |
| virtual bool | pasteComplete () const |
| Returns true if paste operation is complete. Default is true. | |
| virtual std::string | pastePendingMessage () const |
| Message that is describing what this object is waiting for as far as pasting goes. | |
| virtual void | readComplete (std::istringstream &str) |
| Called when reading of buffer for object is complete. | |
| virtual void | pasted (DtCopyObject *) |
| Called when paste operation has completed for the supplied object. Re-emits pasted signal. | |
| virtual void | pasteOperationPending (DtCopyObject *, const std::string &) |
| Called when a paste operation is pending, emits signal_pasteOperationPending. | |
| virtual void | pasteCancelled (DtCopyObject *) |
| Called when a paste operation is cancelled. | |
| virtual void | addStateData (std::map< std::string, std::string > &, const DtRwVariableBindings &, const DtString &var) |
| Adds state data that will be used to set when the aggregate is pased. | |
| virtual void | paste (const DtVector &geocLocation, int flags) |
| Pastes object given the current information. | |
| virtual void | copyChildren (const makVrv::DtElementIDHierarchy::ElementIDs &) |
| Schedules to copy all children found. Will use copy/paste manager to create copy objects. | |
| virtual void | cancel () |
| Cancels pending operations. If awaiting plan, unregisters callback. | |
| virtual std::string | copyPendingMessage () const |
| Message that is describing what this object is waiting for as far as copying goes. | |
| virtual bool | cancelComplete () const |
| Returns true if cancel is complete. | |
| virtual void | copy (makVrv::DtSimEntry *simEntry) |
| Starts copy process. Subclasses need to implement specific copy procedures. | |
| virtual void | copyComplete () |
| Copies all paste data into the output buffer before calling parent method. | |
| virtual makVrv::DtVrlinkSimulatedBaseState * | createReadableStateData () const |
| Creates state data that will be used to read into a readable buffer. | |
| virtual DtEntityCreationData | entityCreationData (const DtVector &) |
| Return entity creation data for this entity. | |
| virtual void | processPasteStep () |
| If all other steps are complete, do aggregatation and setting of formation. | |
Protected Member Functions inherited from makVrf::DtEntityCopyObject | |
| virtual void | write (std::ostringstream &str, const makVrv::DtVrlinkSimulatedBaseState *data, makVrv::DtUniqueID id) |
| Writes data to stream. | |
| virtual void | write (std::ostringstream &str, const DtVrfObjectDataState *data) |
| Writes vrf object data state. | |
| virtual void | read (std::istringstream &str, makVrv::DtVrlinkSimulatedBaseState *data) |
| Reads data from stream. | |
| virtual void | read (std::istringstream &str, DtVrfObjectDataState *data) |
| Reads vrf object data state. | |
| virtual void | requestPlan () |
| Requests plan from back-end. | |
| virtual void | processReceivedPlan (DtSimMessage *) |
| Call back in response to receiving plan. | |
| virtual DtVrfObjectFacadeInterface * | facade () const |
| Returns the facade. | |
| virtual void | processObjectCreated (DtString, const DtEntityIdentifier &) |
| Called in response to object being created. | |
| virtual void | sendRulesOfEngagement () |
| Called to send rules of engagement. | |
| virtual void | sendPlan () |
| Sends plan for entity to back-end. | |
Protected Member Functions inherited from makVrf::DtCopyObject | |
| virtual DtVrfObjectDataState * | createReadableObjectStateData () const |
| Creates state data that will be used to read into a readable buffer. | |
| virtual void | checkCopyComplete () |
| Checks whether or not the copy is complete, and, if it is, calls copyComplet() | |
| virtual void | checkPasteComplete () |
| Checks to see if paste operation is complete. | |
| virtual int | generateRequestId () |
| Generates a request id to match our request. | |
| virtual double | groundHeight (const DtVector ¤tLocal) const |
| Returns the height at the given local position. | |
| virtual void | setupOffsets (const DtGeodeticCoord &) |
| Sets up offsets from geometric center. | |
| virtual void | slot_onStateViewUpdated (DtVrlinkSimulatedBaseStateView *state, makVrv::DtSimEntry *simEntry) |
| virtual DtVector | offsetLocation (int, const DtVector &loc) const |
| Returns the geocentric location of the point at offset location index offset by geocentric loc. | |
| virtual DtGeodeticCoord | calculateOffsetPoint (const DtGeodeticCoord &start, const DtGeodeticCoord &end, double &altAboveTerrain, double &altAboveSeaLevel) const |
| Calculates an offset point based on the start and end positions. | |
| virtual DtVector | localLocation (const DtGeodeticCoord &, int) const |
| Given an origin and an index, return local location as an offset from that origin. | |
Additional Inherited Members | |
Public Types inherited from makVrf::DtCopyObject | |
| enum | DtPasteFlags { DtPasteNewName = 0x00000001, DtPasteAppearance = 0x00000002, DtPasteHeading = 0x00000004, DtPasteEngagement = 0x00000008, DtPastePlan = 0x00000010, DtPasteAboveSeaLevel = 0x00000020, DtPasteAboveTerrain = 0x00000040, DtPasteFormation = 0x00000080, DtPasteStateProperties = 0x00000100, DtAllPasteFlags } |
Public Attributes inherited from makVrf::DtCopyObject | |
| boost::signal< void(DtCopyObject *)> | signal_copyCancelled |
| boost::signal< void(DtCopyObject *, const std::string &)> | signal_copied |
| boost::signal< void(DtCopyObject *, const std::string &)> | signal_copyOperationPending |
| boost::signal< void(DtCopyObject *)> | signal_pasted |
| boost::signal< void(DtCopyObject *, const std::string &)> | signal_pasteOperationPending |
| boost::signal< void(DtCopyObject *)> | signal_pasteCancelled |
|
protected |
| makVrf::DtAggregateCopyObject::DtAggregateCopyObject | ( | makVrv::DtDe & | ) |
|
virtual |
|
protectedvirtual |
Copies aggregate specific information and starts hierarchy copy.
Reimplemented from makVrf::DtEntityCopyObject.
|
protectedvirtual |
Reads in data specific to this aggregate and all subordinates.
Reimplemented from makVrf::DtEntityCopyObject.
|
protectedvirtual |
Called when subordinate object has successfully copied. Re-emits signal.
|
protectedvirtual |
Reemits copy operation pending signal.
|
protectedvirtual |
Creates this object and all sub objects.
Will wait until sub objects are created before creating this object and then aggregating sub objects. The vector supplied is in geocentric
Reimplemented from makVrf::DtEntityCopyObject.
|
protectedvirtual |
Called when all child objects have been created. Completes aggregate process.
|
protectedvirtual |
Returns true if paste operation is complete. Default is true.
Reimplemented from makVrf::DtEntityCopyObject.
|
protectedvirtual |
Message that is describing what this object is waiting for as far as pasting goes.
Reimplemented from makVrf::DtEntityCopyObject.
|
protectedvirtual |
Called when reading of buffer for object is complete.
Reimplemented from makVrf::DtCopyObject.
|
protectedvirtual |
Called when paste operation has completed for the supplied object. Re-emits pasted signal.
|
protectedvirtual |
Called when a paste operation is pending, emits signal_pasteOperationPending.
|
protectedvirtual |
Called when a paste operation is cancelled.
Will remove from objectsBeingPasted list, and, if list is empty, signals pasteComplete message
|
protectedvirtual |
Adds state data that will be used to set when the aggregate is pased.
Pastes object given the current information.
If paste is not complete, will send out pasteOperationPending signal. The geocentric coordinate given the the center around which this item should be placed. This object will figure out the correct placement based on that center (in geocentric coordinates)
Reimplemented from makVrf::DtCopyObject.
|
virtual |
Return true if copy operations are complete, else false will signal that there are other operations yet to be done.
Will return true if waiting for plan or subordinates
Reimplemented from makVrf::DtEntityCopyObject.
|
protectedvirtual |
Schedules to copy all children found. Will use copy/paste manager to create copy objects.
|
protectedvirtual |
Cancels pending operations. If awaiting plan, unregisters callback.
Reimplemented from makVrf::DtEntityCopyObject.
|
protectedvirtual |
Message that is describing what this object is waiting for as far as copying goes.
Reimplemented from makVrf::DtEntityCopyObject.
|
protectedvirtual |
Returns true if cancel is complete.
Reimplemented from makVrf::DtCopyObject.
|
protectedvirtual |
Starts copy process. Subclasses need to implement specific copy procedures.
Reimplemented from makVrf::DtCopyObject.
|
protectedvirtual |
Copies all paste data into the output buffer before calling parent method.
Reimplemented from makVrf::DtCopyObject.
|
protectedvirtual |
Creates state data that will be used to read into a readable buffer.
Will persist until object is deleted
Reimplemented from makVrf::DtEntityCopyObject.
|
protectedvirtual |
Return entity creation data for this entity.
Reimplemented from makVrf::DtEntityCopyObject.
|
protectedvirtual |
If all other steps are complete, do aggregatation and setting of formation.
Reimplemented from makVrf::DtEntityCopyObject.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |