![]() |
VR-Forces 4.0.4 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. | |
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 | 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 Attributes | |
| DtVrfAggregateCopyPasteHandler | myCopyPasteHandler |
| makVrv::DtSignalConnectionManager | myCopyConnections |
| makVrv::DtSignalConnectionManager | myPasteConnections |
| int | myWaitingForChildren |
| bool | myPasteComplete |
| bool | myAwaitingSubordinateCreation |
| DtVector | myAggregatePasteLocation |
| std::vector < makVrv::DtVrlinkSimulatedEntityState * > | myPastedSubordinates |
| AwaitingMap | myAwaitingOrganization |
| makVrv::DtStateView < makVrv::DtVrlinkSimulatedBaseState > * | myAggregateStateView |
typedef std::map<std::string, makVrv::DtElementID> makVrf::DtAggregateCopyObject::AwaitingMap [protected] |
| virtual makVrf::DtAggregateCopyObject::~DtAggregateCopyObject | ( | ) | [virtual] |
| virtual void makVrf::DtAggregateCopyObject::write | ( | std::ostringstream & | str, |
| const makVrv::DtVrlinkSimulatedEntityState * | data, | ||
| makVrv::DtUniqueID | id | ||
| ) | [protected, virtual] |
Copies aggregate specific information and starts hierarchy copy.
Reimplemented from makVrf::DtEntityCopyObject.
| virtual void makVrf::DtAggregateCopyObject::read | ( | std::istringstream & | str, |
| makVrv::DtVrlinkSimulatedEntityState * | data | ||
| ) | [protected, virtual] |
Reads in data specific to this aggregate and all subordinates.
Reimplemented from makVrf::DtEntityCopyObject.
| virtual void makVrf::DtAggregateCopyObject::copied | ( | DtCopyObject * | , |
| const std::string & | |||
| ) | [protected, virtual] |
Called when subordinate object has successfully copied. Re-emits signal.
| virtual void makVrf::DtAggregateCopyObject::copyOperationPending | ( | DtCopyObject * | , |
| const std::string & | |||
| ) | [protected, virtual] |
Reemits copy operation pending signal.
| virtual void makVrf::DtAggregateCopyObject::createObject | ( | const DtVector & | ) | [protected, virtual] |
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.
| virtual void makVrf::DtAggregateCopyObject::pasteCompleted | ( | ) | [protected, virtual] |
Called when all child objects have been created. Completes aggregate process.
| virtual bool makVrf::DtAggregateCopyObject::pasteComplete | ( | ) | const [protected, virtual] |
Returns true if paste operation is complete. Default is true.
Reimplemented from makVrf::DtEntityCopyObject.
| virtual std::string makVrf::DtAggregateCopyObject::pastePendingMessage | ( | ) | const [protected, virtual] |
Message that is describing what this object is waiting for as far as pasting goes.
Reimplemented from makVrf::DtEntityCopyObject.
| virtual void makVrf::DtAggregateCopyObject::readComplete | ( | std::istringstream & | str | ) | [protected, virtual] |
Called when reading of buffer for object is complete.
Reimplemented from makVrf::DtCopyObject.
| virtual void makVrf::DtAggregateCopyObject::pasted | ( | DtCopyObject * | ) | [protected, virtual] |
Called when paste operation has completed for the supplied object. Re-emits pasted signal.
| virtual void makVrf::DtAggregateCopyObject::pasteOperationPending | ( | DtCopyObject * | , |
| const std::string & | |||
| ) | [protected, virtual] |
Called when a paste operation is pending, emits signal_pasteOperationPending.
| virtual void makVrf::DtAggregateCopyObject::pasteCancelled | ( | DtCopyObject * | ) | [protected, virtual] |
Called when a paste operation is cancelled.
Will remove from objectsBeingPasted list, and, if list is empty, signals pasteComplete message
| virtual bool makVrf::DtAggregateCopyObject::copyOperationsPending | ( | ) | const [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.
| virtual void makVrf::DtAggregateCopyObject::copyChildren | ( | const makVrv::DtElementIDHierarchy::ElementIDs & | ) | [protected, virtual] |
Schedules to copy all children found. Will use copy/paste manager to create copy objects.
| virtual void makVrf::DtAggregateCopyObject::cancel | ( | ) | [protected, virtual] |
Cancels pending operations. If awaiting plan, unregisters callback.
Reimplemented from makVrf::DtEntityCopyObject.
| virtual std::string makVrf::DtAggregateCopyObject::copyPendingMessage | ( | ) | const [protected, virtual] |
Message that is describing what this object is waiting for as far as copying goes.
Reimplemented from makVrf::DtEntityCopyObject.
| virtual bool makVrf::DtAggregateCopyObject::cancelComplete | ( | ) | const [protected, virtual] |
Returns true if cancel is complete.
Reimplemented from makVrf::DtCopyObject.
| virtual void makVrf::DtAggregateCopyObject::copy | ( | makVrv::DtSimEntry * | ) | [protected, virtual] |
Starts copy process. Subclasses need to implement specific copy procedures.
Reimplemented from makVrf::DtCopyObject.
| virtual void makVrf::DtAggregateCopyObject::copyComplete | ( | ) | [protected, virtual] |
Copies all paste data into the output buffer before calling parent method.
Reimplemented from makVrf::DtCopyObject.
| virtual makVrv::DtVrlinkSimulatedBaseState* makVrf::DtAggregateCopyObject::createReadableStateData | ( | ) | const [protected, virtual] |
Creates state data that will be used to read into a readable buffer.
Will persist until object is deleted
Reimplemented from makVrf::DtEntityCopyObject.
| virtual DtEntityCreationData makVrf::DtAggregateCopyObject::entityCreationData | ( | const DtVector & | ) | [protected, virtual] |
Return entity creation data for this entity.
Reimplemented from makVrf::DtEntityCopyObject.
| virtual void makVrf::DtAggregateCopyObject::processPasteStep | ( | ) | [protected, virtual] |
If all other steps are complete, do aggregatation and setting of formation.
Reimplemented from makVrf::DtEntityCopyObject.
int makVrf::DtAggregateCopyObject::myWaitingForChildren [protected] |
bool makVrf::DtAggregateCopyObject::myPasteComplete [protected] |
std::vector<makVrv::DtVrlinkSimulatedEntityState*> makVrf::DtAggregateCopyObject::myPastedSubordinates [protected] |
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>* makVrf::DtAggregateCopyObject::myAggregateStateView [protected] |