![]() |
VR-Forces Developer's Guide
|
The Master DtVrfCopyPasteManager.

Public Member Functions | |
| DtVrfCopyPasteManager (makVrv::DtDe &) | |
| virtual | ~DtVrfCopyPasteManager () override |
| virtual void | addCopyObject (int, DtCopyObjectCreator *) |
| virtual void | copy (const makVrv::DtSelectionManager::IdSet &) |
| virtual DtCopyObject * | createCopyObject (int) const override |
Public Member Functions inherited from makVrf::DtVrfCopyPasteHandler | |
| DtVrfCopyPasteHandler (makVrv::DtDe &) | |
| virtual | ~DtVrfCopyPasteHandler () |
| const PasteData & | pasteData () const |
| virtual int | numberOfObjectsInPasteData () const |
| virtual void | clearPasteData () |
| virtual void | copy (const makVrv::DtUniqueID &id) |
| virtual bool | canCopy () const |
| int | numCopying () const |
| virtual bool | canPaste () const |
| virtual void | stop () |
| virtual void | cancelPaste () |
| virtual void | cancelled (DtCopyObject *) |
| virtual void | copied (DtCopyObject *, const std::string &) |
| virtual void | tick () |
| virtual void | copyOperationPending (DtCopyObject *, const std::string &) |
| virtual DtCopyObject * | createCopyObject (const makVrv::DtElementEntry &) const |
| void | setPasteFlags (int f) |
| int | pasteFlags () const |
| bool | hasObjectsToPaste () const |
| virtual void | setPreserveOffsets (bool) |
| virtual bool | preserveOffsets () const |
| virtual void | paste (const DtVector &at=DtVector(), int flags=DtCopyObject::DtAllPasteFlags) |
| bool | pasting () const |
| void | setMaximumToProcessInPastePass (int i) |
| int | maximumToProcessInPastePass () const |
| virtual void | cleanup () |
| virtual DtCopyObject * | createObjectFromPasteData (int type, const std::string &buffer) const |
| virtual void | queueObjectsToPaste () |
| virtual void | slot_onPaste () |
| const ObjectsPasting & | objectsPasting () const |
| virtual void | setPasteData (const std::string &name, int type, const std::string &pasteBuffer) |
| virtual void | registerName (const DtString &) |
| virtual bool | nameIsRegistered (const DtString &) const |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| virtual | ~DtVirtualBaseClass () |
Static Public Member Functions | |
| static DtVrfCopyPasteManager & | instance (makVrv::DtDe &de) |
Protected Attributes | |
| DtCopyObjectMap | myCopyObjects |
Protected Attributes inherited from makVrf::DtVrfCopyPasteHandler | |
| makVrv::DtDe & | myDe |
| PasteData | myPasteData |
| ObjectsCopying | myObjectsCopying |
| ObjectsPasting | myObjectsPasting |
| ObjectsPasting | myObjectsBeingPasted |
| ObjectsPasting | myObjectsToPaste |
| ObjectsDeleting | myToDelete |
| DtVrfObjectManipulationEventProcessor * | myEventProcessor |
| int | myMaximumToProcessInPastePass |
| int | myPasteFlags |
| bool | myQueueing |
| DtGeodeticCoord | myOrigin |
| DtReferenceEllipsoid | myReferenceEllipsoid |
| bool | myPreserveOffsets |
| std::set< DtString > | myRegisteredNames |
Private Types | |
| typedef std::map< int, DtCopyObjectCreator * > | DtCopyObjectMap |
Additional Inherited Members | |
Public Types inherited from makVrf::DtVrfCopyPasteHandler | |
| typedef std::pair< std::string, int > | PasteInformation |
| typedef std::map< std::string, std::vector< PasteInformation > > | PasteData |
| typedef std::map< DtCopyObject *, int > | ObjectsCopying |
| typedef std::vector < DtCopyObject * > | ObjectsDeleting |
| typedef std::vector < DtCopyObject * > | ObjectsPasting |
Public Attributes inherited from makVrf::DtVrfCopyPasteHandler | |
| boost::signals2::signal< void(bool)> | signal_hasPasteData |
| boost::signals2::signal< void()> | signal_stopped |
| boost::signals2::signal< void(DtCopyObject *)> | signal_copyCancelled |
| boost::signals2::signal< void(DtCopyObject *, const std::string &)> | signal_copied |
| boost::signals2::signal< void()> | signal_copyComplete |
| boost::signals2::signal< void(DtCopyObject *, const std::string &)> | signal_copyOperationPending |
| boost::signals2::signal< void()> | signal_pasting |
| boost::signals2::signal< void()> | signal_pasteComplete |
| boost::signals2::signal< void(DtCopyObject *)> | signal_pasted |
| boost::signals2::signal< void(DtCopyObject *)> | signal_pasteCancelled |
| boost::signals2::signal< void(DtCopyObject *, const std::string &)> | signal_pasteOperationPending |
Protected Member Functions inherited from makVrf::DtVrfCopyPasteHandler | |
| virtual void | pasted (DtCopyObject *) |
| virtual void | removeFromCopying (DtCopyObject *) |
| virtual void | cleanupEventProcessor () |
| virtual void | slot_onLocationChanged (const DtVector &, double) |
| virtual void | pasteOperationPending (DtCopyObject *, const std::string &) |
| virtual void | pasteCancelled (DtCopyObject *) |
| virtual void | removeFromBeingPasted (DtCopyObject *) |
|
private |
| makVrf::DtVrfCopyPasteManager::DtVrfCopyPasteManager | ( | makVrv::DtDe & | ) |
|
overridevirtual |
|
static |
Returns instance of the messager.
|
virtual |
Adds the class that will be used to copy the object of the specified type to the given stream. If an object already exists for this entry, replaces while deleting the original. All memory allocated for the copy objects will be managed by this class.
|
virtual |
Copies all objects to a selection buffer. Emits signals during copying and when the items are ready to be pasted.
|
overridevirtual |
Creates a copy object based on object state. Returns 0 if no creator registered.
Implements makVrf::DtVrfCopyPasteHandler.
|
protected |