![]() |
VR-Forces 4.0.4 Class Documentation
|
The Master DtVrfCopyPasteManager. More...

Public Member Functions | |
| DtVrfCopyPasteManager (makVrv::DtDe &) | |
| virtual | ~DtVrfCopyPasteManager () |
| virtual void | addCopyObject (int, DtCopyObjectCreator *) |
| Adds the class that will be used to copy the object of the specified type to the given stream. | |
| virtual void | copy (const makVrv::DtSelectionManager::IdSet &) |
| Copies all objects to a selection buffer. | |
| virtual DtCopyObject * | createCopyObject (int) const |
| Creates a copy object based on object state. Returns 0 if no creator registered. | |
Static Public Member Functions | |
| static DtVrfCopyPasteManager & | instance (makVrv::DtDe &de) |
| Returns instance of the messager. | |
Protected Attributes | |
| DtCopyObjectMap | myCopyObjects |
Private Types | |
| typedef std::map< int, DtCopyObjectCreator * > | DtCopyObjectMap |
The Master DtVrfCopyPasteManager.
typedef std::map<int, DtCopyObjectCreator*> makVrf::DtVrfCopyPasteManager::DtCopyObjectMap [private] |
| virtual makVrf::DtVrfCopyPasteManager::~DtVrfCopyPasteManager | ( | ) | [virtual] |
| static DtVrfCopyPasteManager& makVrf::DtVrfCopyPasteManager::instance | ( | makVrv::DtDe & | de | ) | [static] |
Returns instance of the messager.
| virtual void makVrf::DtVrfCopyPasteManager::addCopyObject | ( | int | , |
| DtCopyObjectCreator * | |||
| ) | [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 void makVrf::DtVrfCopyPasteManager::copy | ( | const makVrv::DtSelectionManager::IdSet & | ) | [virtual] |
Copies all objects to a selection buffer.
Emits signals during copying and when the items are ready to be pasted
| virtual DtCopyObject* makVrf::DtVrfCopyPasteManager::createCopyObject | ( | int | ) | const [virtual] |
Creates a copy object based on object state. Returns 0 if no creator registered.
Implements makVrf::DtVrfCopyPasteHandler.