VR-Forces 4.1.1 Class Documentation
List of all members | Signals | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
makVrf::DtCreateObjectAction Class Reference
Inheritance diagram for makVrf::DtCreateObjectAction:
Inheritance graph
[legend]

Signals

void createObject (const DtEntityMapperKey &, int force, const std::string &)

Public Member Functions

 DtCreateObjectAction (const std::string &path, const QString &title, const DtEntityMapperKey &o, const std::string &keywords="", const std::string &menuIcon="", const std::string &toolTip="")
 Constructor.
virtual ~DtCreateObjectAction ()
 Destructor.
virtual DtEntityMapperKey objectType () const
virtual int forceType () const
virtual const std::string & keywords () const
virtual const std::string & menuIcon () const
virtual const std::string & toolTip () const
virtual void setSignalOnCreate (DtCreationSignalType creationSignal)
 Set to true to have this action specify that it should signal on create rather than create the object on the network.
virtual DtCreationSignalType signalOnCreate () const
virtual void on_triggered ()
virtual QActioncreateAction (makVrv::DtDe &, QWidget *parent)
 Build a menu item (via an action).
- Public Member Functions inherited from makVrv::DtMenuItem
 DtMenuItem (const std::string &menuItemIdName)
 CTOR.
virtual ~DtMenuItem ()
 DTOR.
virtual const std::string & menuItemIdName () const
 Get the menu id name, the menu id name is not the same thing as the visible menu text.

Protected Member Functions

virtual void setIconFromTick (makVrv::DtDe *de, QAction *act)
 Only should be called in response to a De tick.

Protected Attributes

DtEntityMapperKey myObjectType
QString myTitle
DtCreationSignalType mySignalOnCreate
std::string myKeywords
std::string myToolTip
std::string myMenuIcon
- Protected Attributes inherited from makVrv::DtMenuItem
std::string myMenuIdName

Private Member Functions

 DtCreateObjectAction (const DtCreateObjectAction &orig)
 Not implemented.
DtCreateObjectActionoperator= (const DtCreateObjectAction &orig)
 Not implemented.

Additional Inherited Members

- Protected Slots inherited from makVrv::DtMenuItem
virtual void on_checkStateChanged (bool)
virtual void on_aboutToShow ()

Constructor & Destructor Documentation

makVrf::DtCreateObjectAction::DtCreateObjectAction ( const std::string &  path,
const QString &  title,
const DtEntityMapperKey o,
const std::string &  keywords = "",
const std::string &  menuIcon = "",
const std::string &  toolTip = "" 
)

Constructor.

virtual makVrf::DtCreateObjectAction::~DtCreateObjectAction ( )
virtual

Destructor.

makVrf::DtCreateObjectAction::DtCreateObjectAction ( const DtCreateObjectAction orig)
private

Not implemented.

Member Function Documentation

virtual DtEntityMapperKey makVrf::DtCreateObjectAction::objectType ( ) const
virtual
virtual int makVrf::DtCreateObjectAction::forceType ( ) const
virtual
virtual const std::string& makVrf::DtCreateObjectAction::keywords ( ) const
virtual
virtual const std::string& makVrf::DtCreateObjectAction::menuIcon ( ) const
virtual
virtual const std::string& makVrf::DtCreateObjectAction::toolTip ( ) const
virtual
virtual void makVrf::DtCreateObjectAction::setSignalOnCreate ( DtCreationSignalType  creationSignal)
virtual

Set to true to have this action specify that it should signal on create rather than create the object on the network.

Default is false

virtual DtCreationSignalType makVrf::DtCreateObjectAction::signalOnCreate ( ) const
virtual
virtual void makVrf::DtCreateObjectAction::on_triggered ( )
virtual
virtual QAction* makVrf::DtCreateObjectAction::createAction ( makVrv::DtDe ,
QWidget parent 
)
virtual

Build a menu item (via an action).

Implements makVrv::DtMenuItem.

Reimplemented in makVrf::DtSimulationBasedCreateObjectAction.

virtual void makVrf::DtCreateObjectAction::setIconFromTick ( makVrv::DtDe de,
QAction act 
)
protectedvirtual

Only should be called in response to a De tick.

Set up when an action is created before the de is initialized

void makVrf::DtCreateObjectAction::createObject ( const DtEntityMapperKey ,
int  force,
const std::string &   
)
signal
DtCreateObjectAction& makVrf::DtCreateObjectAction::operator= ( const DtCreateObjectAction orig)
private

Not implemented.

Member Data Documentation

DtEntityMapperKey makVrf::DtCreateObjectAction::myObjectType
protected
QString makVrf::DtCreateObjectAction::myTitle
protected
DtCreationSignalType makVrf::DtCreateObjectAction::mySignalOnCreate
protected
std::string makVrf::DtCreateObjectAction::myKeywords
protected
std::string makVrf::DtCreateObjectAction::myToolTip
protected
std::string makVrf::DtCreateObjectAction::myMenuIcon
protected

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

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)