![]() |
VR-Forces Developer's Guide
|

Public Member Functions | |
| DtEntityCopyObject (makVrv::DtDe &) | |
| virtual | ~DtEntityCopyObject () override |
| virtual DtGeodeticCoord | calculateCenter () const override |
| virtual void | createFacade (const DtGeodeticCoord &origin) override |
| virtual void | setOrigin (const DtGeodeticCoord &) override |
| virtual DtVector | pasteOrigin () const override |
| virtual DtVector | origin () const override |
| virtual double | groundHeight (const DtVector ¤tLocal) const override |
| virtual void | multipleObjectsPasting () override |
Public Member Functions inherited from makVrf::DtCopyObject | |
| DtCopyObject (makVrv::DtDe &) | |
| virtual | ~DtCopyObject () |
| virtual void | copy (makVrv::DtUniqueID) |
| virtual void | read (const std::string &buf) |
| std::shared_ptr< DtGuiLocalObject > | readableStateData () |
| const std::string & | name () const |
| const DtUUID & | uuid () const |
| virtual void | setAltitudeClampType (DtAltitudeClampType) |
| 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 |
| virtual void | paste (const DtVector &, int flags=DtAllPasteFlags) |
| virtual DtGeodeticCoord | center () const |
| virtual DtVector | localCenter () const |
| virtual void | setGeometricCenter (const DtGeodeticCoord &) |
| const DtGeodeticCoord & | geometricCenter () const |
Protected Member Functions | |
| virtual void | pasteStateProperties () |
| virtual bool | canAdjustAltitude (const DtEntityType &) const |
| virtual void | write (std::ostringstream &str, DtSimObjectReference) override |
| virtual void | writePlanData (std::ostringstream &str, DtSimObjectReference) override |
| virtual void | writeResourceData (std::ostringstream &str, DtSimObjectReference) override |
| virtual void | readAdditionalData (std::istringstream &str) override |
| virtual void | readPlanData (std::istringstream &str) override |
| virtual void | readResourceData (std::istringstream &str) |
| virtual bool | copyOperationsPending () const override |
| virtual void | requestPlan () |
| virtual void | processReceivedPlan (DtSimMessage *) |
| virtual void | processResourceResponse (const makVrfEvents::DtResourceResponseEvent &) |
| virtual void | cancel () override |
| virtual std::string | copyPendingMessage () const override |
| virtual DtVrfObjectFacadeInterface * | facade () const override |
| virtual void | uuidChanged (const DtUUID &oldUUID, const DtUUID &newUUID, DtSimObjectReference) |
| virtual bool | pasteComplete () const override |
| virtual void | createObject (const DtVector &) override |
| virtual std::string | pastePendingMessage () const override |
| virtual void | processObjectCreated (DtString, const DtUUID &, const DtEntityIdentifier &, int) |
| virtual void | processPasteStep () |
| virtual void | sendRulesOfEngagement () |
| virtual void | sendPlan () |
| virtual void | sendResources () |
| virtual DtEntityCreationData | entityCreationData (const DtVector &) |
| virtual void | processObjectDiscovered (DtSimObjectReference) |
| virtual void | updatePotentialUUIDFromImport (DtRwProperties &rw, const DtUUID &oldUUID, const DtUUID &newUUID) const |
| virtual void | updatePotentialUUIDFromImport (DtReaderWriter *rw, const DtUUID &oldUUID, const DtUUID &newUUID) const |
Protected Member Functions inherited from makVrf::DtCopyObject | |
| virtual void | createReadableStateData (std::istringstream &) |
| virtual void | checkCopyComplete () |
| virtual void | copyComplete () |
| virtual bool | cancelComplete () const |
| virtual void | readComplete (std::istringstream &str) |
| virtual void | checkPasteComplete () |
| virtual int | generateRequestId () |
| virtual void | setupOffsets (const DtGeodeticCoord &) |
| virtual DtVector | offsetLocation (int, const DtVector &loc) const |
| virtual DtGeodeticCoord | calculateOffsetPoint (const DtGeodeticCoord &start, const DtGeodeticCoord &end, double &altAboveTerrain, double &altAboveSeaLevel) const |
| virtual DtVector | localLocation (const DtGeodeticCoord &, int) const |
| virtual void | createLocalDataCopy (DtSimObjectReference) |
Protected Attributes | |
| bool | myAwaitingPlan |
| bool | myAwaitingResources |
| DtIfPlan * | myPlan |
| int | myAwaiting |
| int | myRequestId |
| DtEntityFacadeCollection * | myFacade |
| bool | myClampToGround |
| DtVector | myPosition |
| unsigned int | myCreateCallbackId |
| makVrv::DtSignalConnectionManager | myAddedSignalManager |
| DtSimObjectReference | myStateView |
| std::map< DtUUID, DtUUID > | myUUIDUpdateMap |
| boost::signals2::connection | myResourceResponseConnection |
| std::vector< DtSimResource > | myResources |
Protected Attributes inherited from makVrf::DtCopyObject | |
| makVrv::DtDe & | myDe |
| std::ostringstream | myOutput |
| std::string | myName |
| int | myPasteFlags |
| std::shared_ptr< DtGuiLocalObject > | myReadableStateData |
| DtGeodeticCoord | myCenter |
| CopyOffsets | myOffsets |
| HeightOffsets | myAltitudeAboveTerrain |
| HeightOffsets | myAltitudeAboveSeaLevel |
| DtAltitudeClampType | myAltitudeClampType |
| DtReferenceEllipsoid | myReferenceEllipsoid |
| int | myType |
| std::string | myBuffer |
| DtGeodeticCoord | myGeometricCenter |
| bool | myIsLocal |
| DtUUID | myUUID |
| bool | myUpdated |
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, DtPasteResources = 0x00000200, DtAllPasteFlags } |
Public Attributes inherited from makVrf::DtCopyObject | |
| boost::signals2::signal< void(DtCopyObject *)> | signal_copyCancelled |
| boost::signals2::signal< void(DtCopyObject *, const std::string &)> | signal_copied |
| boost::signals2::signal< void(DtCopyObject *, const std::string &)> | signal_copyOperationPending |
| boost::signals2::signal< void(const DtString &name, const DtUUID &newUUID, const DtEntityIdentifier &eid, const DtUUID &oldUUID)> | signal_objectCreated |
| boost::signals2::signal< void(DtCopyObject *)> | signal_pasted |
| boost::signals2::signal< void(DtCopyObject *, const std::string &)> | signal_pasteOperationPending |
| boost::signals2::signal< void(DtCopyObject *)> | signal_pasteCancelled |
Protected Types inherited from makVrf::DtCopyObject | |
| typedef std::vector< double > | HeightOffsets |
| makVrf::DtEntityCopyObject::DtEntityCopyObject | ( | makVrv::DtDe & | ) |
|
overridevirtual |
|
overridevirtual |
Returns the center of the object in geocentric coordinates.
Reimplemented from makVrf::DtCopyObject.
|
overridevirtual |
Creates the facade that will be used to display a temp item during paste operation.
Reimplemented from makVrf::DtCopyObject.
|
overridevirtual |
Should shift (rather than absolute location set) points by amount specified.
Reimplemented from makVrf::DtCopyObject.
|
overridevirtual |
Origin at which to paste the object. Will take into account offsets (if they exist)
Reimplemented from makVrf::DtCopyObject.
|
overridevirtual |
If facade is available, returns the origin of the facade, else returns center(). Returns in local coordinates.
Reimplemented from makVrf::DtCopyObject.
|
overridevirtual |
Returns the height at the given local position.
Reimplemented from makVrf::DtCopyObject.
|
overridevirtual |
Turn off HAT lines in the facade.
Reimplemented from makVrf::DtCopyObject.
|
protectedvirtual |
|
protectedvirtual |
Returns whether or not this item can have it's altitude adjusted.
|
overrideprotectedvirtual |
Writes data to stream. Override to write own data, but, make sure to call parent method.
Reimplemented from makVrf::DtCopyObject.
Reimplemented in makVrf::DtAggregateCopyObject.
|
overrideprotectedvirtual |
Writes plan data (if there is a plan)
Reimplemented from makVrf::DtCopyObject.
|
overrideprotectedvirtual |
Writes resource data.
Reimplemented from makVrf::DtCopyObject.
|
overrideprotectedvirtual |
Reads data from stream. Override to read own data, but, make sure to call parent method.
Reimplemented from makVrf::DtCopyObject.
Reimplemented in makVrf::DtAggregateCopyObject.
|
overrideprotectedvirtual |
If a plan exists, read it.
Reimplemented from makVrf::DtCopyObject.
|
protectedvirtual |
Read resources.
Reimplemented from makVrf::DtCopyObject.
|
overrideprotectedvirtual |
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.
Reimplemented from makVrf::DtCopyObject.
Reimplemented in makVrf::DtAggregateCopyObject.
|
protectedvirtual |
Requests plan from back-end. When received, copies into stream and signals copy is complete.
|
protectedvirtual |
Callback in response to receiving plan. Calls processReceivedPlan if this plan is for us.
|
protectedvirtual |
Callback in response to receiving resource request.
|
overrideprotectedvirtual |
Cancels pending operations. If awaiting plan, unregisters callback.
Reimplemented from makVrf::DtCopyObject.
Reimplemented in makVrf::DtAggregateCopyObject.
|
overrideprotectedvirtual |
Message that is describing what this object is waiting for as far as copying goes.
Reimplemented from makVrf::DtCopyObject.
Reimplemented in makVrf::DtAggregateCopyObject.
|
inlineoverrideprotectedvirtual |
Returns the facade.
Reimplemented from makVrf::DtCopyObject.
|
protectedvirtual |
Called when the UUID has changed for an object. If the new UUID is this object then it is also discovered.
|
overrideprotectedvirtual |
Returns true if paste operation is complete. Default is true.
Reimplemented from makVrf::DtCopyObject.
Reimplemented in makVrf::DtAggregateCopyObject.
|
overrideprotectedvirtual |
Creates the object locally or on the network. The vector supplied is in geocentric.
Reimplemented from makVrf::DtCopyObject.
Reimplemented in makVrf::DtAggregateCopyObject.
|
overrideprotectedvirtual |
Message that is describing what this object is waiting for as far as copying goes.
Reimplemented from makVrf::DtCopyObject.
Reimplemented in makVrf::DtAggregateCopyObject.
|
protectedvirtual |
Called in response to object being created. Will see if it is the one we pasted, then, continue on with pasting operation.
|
protectedvirtual |
Called during tick, will process next step in the paste operation.
Reimplemented in makVrf::DtAggregateCopyObject.
|
protectedvirtual |
Called to send rules of engagement.
|
protectedvirtual |
Sends plan for entity to back-end.
|
protectedvirtual |
Sends resources for entity to back-end.
|
protectedvirtual |
Return entity creation data for this entity.
Reimplemented in makVrf::DtAggregateCopyObject.
|
protectedvirtual |
Called when the object that has just been created is fully discovered by the state view collection manager.
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |