VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Types
makVrf::DtVrfSimulationCommandDialogManager Class Reference

Related Examples
Inheritance diagram for makVrf::DtVrfSimulationCommandDialogManager:
Inheritance graph
[legend]

Public Member Functions

 DtVrfSimulationCommandDialogManager (makVrv::DtDe &)
 
virtual ~DtVrfSimulationCommandDialogManager () override
 
virtual
DtCommandAssignmentWidgetInterface
createCommandDialogFor (const std::string &menuItemType, QWidget *parent, DtVrfSimulationCommandAction *forAction, const std::set< makVrv::DtUniqueID > &data, int partOfPlan)
 
virtual
DtCommandAssignmentWidgetInterface
createCommandDialogFor (const DtSimStatement *, QWidget *parent, int partOfPlan)
 
virtual
DtCommandAssignmentWidgetInterface
createCommandDialogFor (const DtSimCommand *simCommand, QWidget *parent, int partOfPlan)
 
virtual
DtSimulationCommandDialogInterface
createCommandDialogFor (const std::string &menuItemType, QWidget *parent)
 
virtual
DtCommandAssignmentWidgetInterface
createCommandDialogFor (QWidget *parent, DtCommandAssignmentWidgetInterface *, int partOfPlan)
 
virtual DtTaskStmtstatementFromSimCommand (const DtSimCommand *simCommand) const
 
virtual DtUUID objectFromStatement (const DtSimCommandStmt *)
 
virtual void addDialogCreator (const std::string &menuItemType, DtVrfSimulationCommandDialogCreator *)
 
virtual bool removeDialogCreator (const std::string &menuItemType)
 
virtual bool hasDialogCreator (const std::string &menuItemType)
 
virtual void removeAllDialogCreators ()
 
virtual bool statementIsEditable (const DtSimStatement *) const
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 
virtual ~DtVirtualBaseClass ()
 

Static Public Member Functions

static
DtVrfSimulationCommandDialogManager
instance (makVrv::DtDe &de)
 

Protected Member Functions

virtual bool prepDialog (DtCommandAssignmentWidgetInterface *, DtVrfSimulationCommandAction *forAction)
 

Protected Attributes

makVrv::DtDemyDe
 
DtVrfSimulationCommandDialogCreatorMap myDialogCreatorMap
 

Private Types

typedef std::map< std::string,
DtVrfSimulationCommandDialogCreator * > 
DtVrfSimulationCommandDialogCreatorMap
 

Member Typedef Documentation

Constructor & Destructor Documentation

makVrf::DtVrfSimulationCommandDialogManager::DtVrfSimulationCommandDialogManager ( makVrv::DtDe )

CTOR. Registers all known dialogs with manager.

virtual makVrf::DtVrfSimulationCommandDialogManager::~DtVrfSimulationCommandDialogManager ( )
overridevirtual

DTOR.

Member Function Documentation

static DtVrfSimulationCommandDialogManager& makVrf::DtVrfSimulationCommandDialogManager::instance ( makVrv::DtDe de)
static

Returns instance of the messager.

virtual DtCommandAssignmentWidgetInterface* makVrf::DtVrfSimulationCommandDialogManager::createCommandDialogFor ( const std::string &  menuItemType,
QWidget *  parent,
DtVrfSimulationCommandAction forAction,
const std::set< makVrv::DtUniqueID > &  data,
int  partOfPlan 
)
virtual

Creates dialog and then sends out various signals at creation process to allow user to add functionality. Connects to slot in the action to process the resulting simulation command request for the dialog.

virtual DtCommandAssignmentWidgetInterface* makVrf::DtVrfSimulationCommandDialogManager::createCommandDialogFor ( const DtSimStatement ,
QWidget *  parent,
int  partOfPlan 
)
virtual
virtual DtCommandAssignmentWidgetInterface* makVrf::DtVrfSimulationCommandDialogManager::createCommandDialogFor ( const DtSimCommand simCommand,
QWidget *  parent,
int  partOfPlan 
)
virtual

Create a dialog based on a DtTaskCommand or DtSetDataCommand. Will repackage as representative DtSendSetMessageTask or DtSendTaskMessageTask and pass to createCommandDialogFor passing in a sim statement.

virtual DtSimulationCommandDialogInterface* makVrf::DtVrfSimulationCommandDialogManager::createCommandDialogFor ( const std::string &  menuItemType,
QWidget *  parent 
)
virtual

Creates the interface used for the dialog – not the dialog itself.

virtual DtCommandAssignmentWidgetInterface* makVrf::DtVrfSimulationCommandDialogManager::createCommandDialogFor ( QWidget *  parent,
DtCommandAssignmentWidgetInterface ,
int  partOfPlan 
)
virtual
virtual DtTaskStmt* makVrf::DtVrfSimulationCommandDialogManager::statementFromSimCommand ( const DtSimCommand simCommand) const
virtual
virtual DtUUID makVrf::DtVrfSimulationCommandDialogManager::objectFromStatement ( const DtSimCommandStmt )
virtual

Given the simulation command, return the object it is applied to. Asks dialog creators to return name if the statement is editable by that type.

virtual void makVrf::DtVrfSimulationCommandDialogManager::addDialogCreator ( const std::string &  menuItemType,
DtVrfSimulationCommandDialogCreator  
)
virtual

Adds items into the factory. The memory will be taked as owned by the factory. The pattern should be passing in a subclass of DtVrfSimulationCommandDialogCreator and implementing the create(QWidget*) method.

virtual bool makVrf::DtVrfSimulationCommandDialogManager::removeDialogCreator ( const std::string &  menuItemType)
virtual

Removes the dialog creator. Returns true if removed.

virtual bool makVrf::DtVrfSimulationCommandDialogManager::hasDialogCreator ( const std::string &  menuItemType)
virtual

Returns true if the dialog has a creator.

virtual void makVrf::DtVrfSimulationCommandDialogManager::removeAllDialogCreators ( )
virtual

Removes all dialog creators.

virtual bool makVrf::DtVrfSimulationCommandDialogManager::statementIsEditable ( const DtSimStatement ) const
virtual

Returns true if statement is editable.

virtual bool makVrf::DtVrfSimulationCommandDialogManager::prepDialog ( DtCommandAssignmentWidgetInterface ,
DtVrfSimulationCommandAction forAction 
)
protectedvirtual

Emits signals about dialog state and makes connections on dialog to allow for simulation command activation.

Member Data Documentation

makVrv::DtDe& makVrf::DtVrfSimulationCommandDialogManager::myDe
protected
DtVrfSimulationCommandDialogCreatorMap makVrf::DtVrfSimulationCommandDialogManager::myDialogCreatorMap
protected

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

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)