VR-Forces 4.1.1 Class Documentation
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
makVrf::DtCommandAssignmentWidgetLogic Class Reference

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

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

makVrf::DtCommandAssignmentWidgetLogic::DtCommandAssignmentWidgetLogic ( makVrv::DtDe ,
DtCommandAssignmentWidgetInterface iFace 
)
virtual makVrf::DtCommandAssignmentWidgetLogic::~DtCommandAssignmentWidgetLogic ( )
virtual

DTOR.

Member Function Documentation

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

Sets up the UI.

virtual void makVrf::DtCommandAssignmentWidgetLogic::setAllowBroadcast ( bool  )
virtual

Tells the interface broadcast mode is valid or not.

virtual void makVrf::DtCommandAssignmentWidgetLogic::broadcastChanged ( )
virtual

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

virtual void makVrf::DtCommandAssignmentWidgetLogic::attachExtension ( DtCommandDialogExtensionInterface )
virtual
virtual void makVrf::DtCommandAssignmentWidgetLogic::detachExtension ( DtCommandDialogExtensionInterface )
virtual
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.

virtual void makVrf::DtCommandAssignmentWidgetLogic::pickOK ( const DtSimCommandObjectWrapper )
virtual

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

virtual DtSimStatement* makVrf::DtCommandAssignmentWidgetLogic::editableStatement ( const DtSimStatement ) const
virtual

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

Caller must delete returned pointer

virtual bool makVrf::DtCommandAssignmentWidgetLogic::valid ( ) const
virtual
virtual void makVrf::DtCommandAssignmentWidgetLogic::slot_validStateChanged ( bool  b)
virtual
virtual void makVrf::DtCommandAssignmentWidgetLogic::slot_onCancel ( )
virtual
virtual void makVrf::DtCommandAssignmentWidgetLogic::slot_onNameChanged ( const QString &  )
virtual
virtual void makVrf::DtCommandAssignmentWidgetLogic::slot_taskRequest ( std::vector< std::string >  names,
const DtSimTask  
)
protectedvirtual
virtual void makVrf::DtCommandAssignmentWidgetLogic::slot_setRequest ( std::vector< std::string >  names,
const DtSetDataRequest  
)
protectedvirtual
virtual void makVrf::DtCommandAssignmentWidgetLogic::slot_commandRequest ( const DtSimCommandObjectWrapper )
protectedvirtual
virtual void makVrf::DtCommandAssignmentWidgetLogic::slot_commandActivated ( std::vector< std::string >  names,
const DtSimTask  
)
protectedvirtual
virtual void makVrf::DtCommandAssignmentWidgetLogic::addFilter ( const DtVrfSelectionFilter filter)
protectedvirtual
virtual void makVrf::DtCommandAssignmentWidgetLogic::setSelectedName ( const QString &  s)
protectedvirtual
virtual QString makVrf::DtCommandAssignmentWidgetLogic::selectedName ( ) const
protectedvirtual
virtual void makVrf::DtCommandAssignmentWidgetLogic::selectFilter ( int  )
protectedvirtual
virtual std::vector<std::string> makVrf::DtCommandAssignmentWidgetLogic::names ( ) const
protectedvirtual

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 
)
protectedvirtual
virtual bool makVrf::DtCommandAssignmentWidgetLogic::allowBroadcasting ( ) const
protectedvirtual
virtual void makVrf::DtCommandAssignmentWidgetLogic::addFiltersFromCollection ( const std::string &  filterCollection)
protectedvirtual

Member Data Documentation

makVrv::DtDe& makVrf::DtCommandAssignmentWidgetLogic::myDe
protected
DtCommandAssignmentWidgetInterface* makVrf::DtCommandAssignmentWidgetLogic::myIFace
protected
bool makVrf::DtCommandAssignmentWidgetLogic::myIsPossiblyImmediate
protected

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

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)