OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ModalCommandHealing Class Reference

#include "ModalCommandHealing.h"

Inheritance diagram for ModalCommandHealing:
ot::ModalCommandBase

Public Member Functions

 ModalCommandHealing (ot::ApplicationBase *app, const std::string &actionMnuID, const std::string &actionBtnID)
 
virtual ~ModalCommandHealing ()
 
virtual bool executeAction (const std::string &action, rapidjson::Document &doc)
 
virtual void modelSelectionChanged (std::list< ot::UID > &selectedEntityID)
 
- Public Member Functions inherited from ot::ModalCommandBase
 ModalCommandBase (ot::ApplicationBase *app, const std::string &actionMnuID, const std::string &actionBtnID)
 
virtual ~ModalCommandBase ()
 

Protected Member Functions

virtual std::string initializeAndCreateUI (const ot::LockTypeFlags &modelRead, const ot::LockTypeFlags &modelWrite) override
 
- Protected Member Functions inherited from ot::ModalCommandBase
void setupUI (void)
 
void addMenuPage (const std::string &menu)
 
void addMenuGroup (const std::string &menu, const std::string &group)
 
void addMenuSubgroup (const std::string &menu, const std::string &group, const std::string &subgroup)
 
void addMenuAction (const std::string &menu, const std::string &group, const std::string &buttonName, const std::string &text, const LockTypeFlags &flags, const std::string &iconName, const std::string &iconFolder=std::string("Default"))
 
void addMenuAction (const std::string &menu, const std::string &group, const std::string &subgroup, const std::string &buttonName, const std::string &text, const LockTypeFlags &flags, const std::string &iconName, const std::string &iconFolder=std::string("Default"))
 
void addMenuCheckBox (const std::string &menu, const std::string &group, const std::string &subgroup, const std::string &boxName, const std::string &boxText, bool checked, const LockTypeFlags &flags)
 
void addMenuLineEdit (const std::string &menu, const std::string &group, const std::string &subgroup, const std::string &editName, const std::string &editText, const std::string &editLabel, const LockTypeFlags &flags)
 
void setMenuCheckBox (const std::string &menu, const std::string &group, const std::string &subgroup, const std::string &boxName, bool checked)
 
void setMenuLineEdit (const std::string &menu, const std::string &group, const std::string &subgroup, const std::string &editName, const std::string &editText, bool error)
 

Additional Inherited Members

- Protected Attributes inherited from ot::ModalCommandBase
ot::ApplicationBaseapplication
 

Constructor & Destructor Documentation

◆ ModalCommandHealing()

ModalCommandHealing::ModalCommandHealing ( ot::ApplicationBase * app,
const std::string & actionMnuID,
const std::string & actionBtnID )

◆ ~ModalCommandHealing()

ModalCommandHealing::~ModalCommandHealing ( )
virtual

Member Function Documentation

◆ executeAction()

bool ModalCommandHealing::executeAction ( const std::string & action,
rapidjson::Document & doc )
virtual

Implements ot::ModalCommandBase.

◆ initializeAndCreateUI()

std::string ModalCommandHealing::initializeAndCreateUI ( const ot::LockTypeFlags & modelRead,
const ot::LockTypeFlags & modelWrite )
overrideprotectedvirtual

Implements ot::ModalCommandBase.

◆ modelSelectionChanged()

void ModalCommandHealing::modelSelectionChanged ( std::list< ot::UID > & selectedEntityID)
virtual

Implements ot::ModalCommandBase.


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