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

List of all members.

Signals

void createObject (const DtEntityMapperKey &, int force)

Public Member Functions

 DtCreateObjectAction (const std::string &path, const QString &title, const DtEntityMapperKey &o)
 Constructor.
virtual ~DtCreateObjectAction ()
 Destructor.
virtual DtEntityMapperKey objectType () const
virtual int forceType () 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

Protected Member Functions

virtual QActioncreateAction (makVrv::DtDe &, QWidget *parent)
 Build a menu item (via an action).
virtual void on_triggered ()
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

Private Member Functions

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

Constructor & Destructor Documentation

makVrf::DtCreateObjectAction::DtCreateObjectAction ( const std::string &  path,
const QString &  title,
const DtEntityMapperKey o 
)

Constructor.

Destructor.

Not implemented.


Member Function Documentation

virtual int makVrf::DtCreateObjectAction::forceType ( ) 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 QAction* makVrf::DtCreateObjectAction::createAction ( makVrv::DtDe ,
QWidget parent 
) [protected, virtual]

Build a menu item (via an action).

Implements makVrv::DtMenuItem.

Reimplemented in makVrf::DtSimulationBasedCreateObjectAction.

virtual void makVrf::DtCreateObjectAction::on_triggered ( ) [protected, virtual]
virtual void makVrf::DtCreateObjectAction::setIconFromTick ( makVrv::DtDe de,
QAction act 
) [protected, virtual]

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 
) [signal]
DtCreateObjectAction& makVrf::DtCreateObjectAction::operator= ( const DtCreateObjectAction orig) [private]

Not implemented.


Member Data Documentation


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)