VR-Forces 4.1 Class Documentation
List of all members | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes
makVrf::DtSignalCreateObjectActionCreator Class Reference

Creator that is registered with create menu to create this action. More...

Inheritance diagram for makVrf::DtSignalCreateObjectActionCreator:
Inheritance graph
[legend]

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::DtDemyDe
makVrv::DtSignalConnectionManager myConnectionManager

Detailed Description

Creator that is registered with create menu to create this action.

Constructor & Destructor Documentation

makVrf::DtSignalCreateObjectActionCreator::DtSignalCreateObjectActionCreator ( makVrv::DtDe )
virtual makVrf::DtSignalCreateObjectActionCreator::~DtSignalCreateObjectActionCreator ( )
virtual

Member Function Documentation

virtual makVrf::DtCreateObjectAction* makVrf::DtSignalCreateObjectActionCreator::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 = "" 
)
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.

virtual void makVrf::DtSignalCreateObjectActionCreator::slot_createObject ( const DtEntityType &  ,
std::string  ,
int  ,
const std::vector< DtVector > &  ,
double  ,
bool  ,
bool  ,
const QString &   
)
protectedvirtual

Slot called when create manager wants to create an object. Will emit signal.

Member Data Documentation

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.

makVrv::DtDe& makVrf::DtSignalCreateObjectActionCreator::myDe
protected
makVrv::DtSignalConnectionManager makVrf::DtSignalCreateObjectActionCreator::myConnectionManager
mutableprotected

The documentation for this class was generated from the following file:

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)