![]() |
VR-Forces 4.1.1 Class Documentation
|
Creator that is registered with create menu to create this action. More...

Public Member Functions | |
| DtSignalCreateObjectActionCreator (makVrv::DtDe &) | |
| virtual | ~DtSignalCreateObjectActionCreator () |
| virtual makVrf::DtCreateObjectAction * | create (makVrv::DtDe &, const std::string &menuId, const QString &menuName, const makVrf::DtEntityMapperKey &key, const std::string &keywords="", const std::string &menuIcon="", const std::string &toolTip="") |
| Create object actions already support signaling but when we add to the create menu the default of no signal is used so we just subclass the creator and set signaling in the createObjectAction to the type of signal we want In this case we want to allow multi click creation but signal for each creation so we set the signal type to DtSignalCreationAndContinue( this enum is defined in vrfGuiCore/DtVrfObjectManipulationHandlerBaseClass.h. | |
Public Member Functions inherited from makVrf::DtCreateObjectActionCreator | |
| DtCreateObjectActionCreator () | |
| virtual | ~DtCreateObjectActionCreator () |
Public Attributes | |
| boost::signal< void(const DtEntityType &, std::string, int, const std::vector < DtVector > &, double, bool, bool, const QString &)> | signal_createObject |
| This signal will be sent when the object was signaled to be created via the create manager. | |
Protected Member Functions | |
| virtual void | slot_createObject (const DtEntityType &, std::string, int, const std::vector< DtVector > &, double, bool, bool, const QString &) |
| Slot called when create manager wants to create an object. Will emit signal. | |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| makVrv::DtSignalConnectionManager | myConnectionManager |
Creator that is registered with create menu to create this action.
| makVrf::DtSignalCreateObjectActionCreator::DtSignalCreateObjectActionCreator | ( | makVrv::DtDe & | ) |
|
virtual |
|
virtual |
Create object actions already support signaling but when we add to the create menu the default of no signal is used so we just subclass the creator and set signaling in the createObjectAction to the type of signal we want In this case we want to allow multi click creation but signal for each creation so we set the signal type to DtSignalCreationAndContinue( this enum is defined in vrfGuiCore/DtVrfObjectManipulationHandlerBaseClass.h.
Reimplemented from makVrf::DtCreateObjectActionCreator.
|
protectedvirtual |
Slot called when create manager wants to create an object. Will emit signal.
| boost::signal<void (const DtEntityType&, std::string, int, const std::vector<DtVector>&,double,bool, bool, const QString& )> makVrf::DtSignalCreateObjectActionCreator::signal_createObject |
This signal will be sent when the object was signaled to be created via the create manager.
|
protected |
|
mutableprotected |