VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes
makVrf::DtCommandAssignmentWidgetLogic Class Reference

A widget class for encapsulating radio commands for tasks or sets. More...

List of all members.

Public Member Functions

 DtCommandAssignmentWidgetLogic (makVrv::DtDe &, DtCommandAssignmentWidgetInterface *iFace)
virtual ~DtCommandAssignmentWidgetLogic ()
 DTOR.
virtual void setupUi (const std::vector< makVrv::DtSimEntry * > &, const DtSimStatement *stmt=NULL)
 Sets up the UI.
virtual void setAllowBroadcast (bool)
 Tells the interface broadcast mode is valid or not.
virtual void broadcastChanged ()
 Called when the value of the broadcast check box has changed.
virtual void attachExtension (DtCommandDialogExtensionInterface *)
virtual void detachExtension (DtCommandDialogExtensionInterface *)
virtual void pickOK (const DtSimTask *, const std::vector< std::string > &names)
 Called to resubmit the immediate task with new data when pick mode is active.
virtual void pickOK (const DtSimCommandObjectWrapper *)
 Called to resubmit the sim command with new data when pick mode is active.
virtual std::string objectNameFromStatement (const DtSimStatement *) const
 Given the task or set command, return the object name that it applies to.
virtual std::string objectNameFromStatement (const DtSimCommand *) const
 Given the sim command, return the object name that it applies to.
virtual DtSimStatementeditableStatement (const DtSimStatement *) const
 Given the task or set command, return a sim statement wrapper around the task or set contained within.
virtual bool valid () const
virtual void slot_validStateChanged (bool b)
virtual void slot_onCancel ()
virtual void slot_onNameChanged (const QString &)

Protected Member Functions

virtual void slot_taskRequest (std::vector< std::string > names, const DtSimTask &)
virtual void slot_setRequest (std::vector< std::string > names, const DtSetDataRequest &)
virtual void slot_commandRequest (const DtSimCommandObjectWrapper &)
virtual void slot_commandActivated (std::vector< std::string > names, const DtSimTask &)
virtual void addFilter (const DtVrfSelectionFilter *filter)
virtual void setSelectedName (const QString &s)
virtual QString selectedName () const
virtual void selectFilter (int)
virtual std::vector< std::string > names () const
 Iterates over the DtSimEntry objects returned by myIFace->connectedTo() looking up the marking text for each one.
virtual void editStatement (const std::vector< makVrv::DtSimEntry * > &, const DtSimStatement *stmt)
virtual bool allowBroadcasting () const
virtual void addFiltersFromCollection (const std::string &filterCollection)

Protected Attributes

makVrv::DtDemyDe
DtCommandAssignmentWidgetInterfacemyIFace
bool myIsPossiblyImmediate

Detailed Description

A widget class for encapsulating radio commands for tasks or sets.


Constructor & Destructor Documentation

DTOR.


Member Function Documentation

virtual void makVrf::DtCommandAssignmentWidgetLogic::setupUi ( const std::vector< makVrv::DtSimEntry * > &  ,
const DtSimStatement stmt = NULL 
) [virtual]

Sets up the UI.

Tells the interface broadcast mode is valid or not.

Called when the value of the broadcast check box has changed.

virtual void makVrf::DtCommandAssignmentWidgetLogic::pickOK ( const DtSimTask ,
const std::vector< std::string > &  names 
) [virtual]

Called to resubmit the immediate task with new data when pick mode is active.

Called to resubmit the sim command with new data when pick mode is active.

virtual std::string makVrf::DtCommandAssignmentWidgetLogic::objectNameFromStatement ( const DtSimStatement ) const [virtual]

Given the task or set command, return the object name that it applies to.

virtual std::string makVrf::DtCommandAssignmentWidgetLogic::objectNameFromStatement ( const DtSimCommand ) const [virtual]

Given the sim command, return the object name that it applies to.

Calls to sim command dialog manager to handle the request

Given the task or set command, return a sim statement wrapper around the task or set contained within.

Caller must delete returned pointer

virtual void makVrf::DtCommandAssignmentWidgetLogic::slot_onNameChanged ( const QString &  ) [virtual]
virtual void makVrf::DtCommandAssignmentWidgetLogic::slot_taskRequest ( std::vector< std::string >  names,
const DtSimTask  
) [protected, virtual]
virtual void makVrf::DtCommandAssignmentWidgetLogic::slot_setRequest ( std::vector< std::string >  names,
const DtSetDataRequest  
) [protected, virtual]
virtual void makVrf::DtCommandAssignmentWidgetLogic::slot_commandActivated ( std::vector< std::string >  names,
const DtSimTask  
) [protected, virtual]
virtual void makVrf::DtCommandAssignmentWidgetLogic::addFilter ( const DtVrfSelectionFilter filter) [protected, virtual]
virtual void makVrf::DtCommandAssignmentWidgetLogic::setSelectedName ( const QString &  s) [protected, virtual]
virtual QString makVrf::DtCommandAssignmentWidgetLogic::selectedName ( ) const [protected, virtual]
virtual void makVrf::DtCommandAssignmentWidgetLogic::selectFilter ( int  ) [protected, virtual]
virtual std::vector<std::string> makVrf::DtCommandAssignmentWidgetLogic::names ( ) const [protected, virtual]

Iterates over the DtSimEntry objects returned by myIFace->connectedTo() looking up the marking text for each one.

virtual void makVrf::DtCommandAssignmentWidgetLogic::editStatement ( const std::vector< makVrv::DtSimEntry * > &  ,
const DtSimStatement stmt 
) [protected, virtual]
virtual bool makVrf::DtCommandAssignmentWidgetLogic::allowBroadcasting ( ) const [protected, virtual]
virtual void makVrf::DtCommandAssignmentWidgetLogic::addFiltersFromCollection ( const std::string &  filterCollection) [protected, virtual]

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)