![]() |
VR-Forces 4.0.4 Class Documentation
|

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 QAction * | createAction (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. | |
| DtCreateObjectAction & | operator= (const DtCreateObjectAction &orig) |
| Not implemented. | |
| makVrf::DtCreateObjectAction::DtCreateObjectAction | ( | const std::string & | path, |
| const QString & | title, | ||
| const DtEntityMapperKey & | o | ||
| ) |
Constructor.
| virtual makVrf::DtCreateObjectAction::~DtCreateObjectAction | ( | ) | [virtual] |
Destructor.
| makVrf::DtCreateObjectAction::DtCreateObjectAction | ( | const DtCreateObjectAction & | orig | ) | [private] |
Not implemented.
| virtual DtEntityMapperKey makVrf::DtCreateObjectAction::objectType | ( | ) | const [virtual] |
| 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 DtCreationSignalType makVrf::DtCreateObjectAction::signalOnCreate | ( | ) | const [virtual] |
| 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] |
Reimplemented from makVrv::DtMenuItem.
Reimplemented in makVrf::DtSimulationBasedCreateObjectAction, and BHAVE::BHAVE3DGui::DtSignalCreateObjectAction.
| 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.
QString makVrf::DtCreateObjectAction::myTitle [protected] |