VR-Forces 4.0.4 Class Documentation
Public Member Functions | Public Attributes | Protected Slots | Protected Attributes | Private Member Functions
makVrf::DtIssueEntityPlanWidget Class Reference
Inheritance diagram for makVrf::DtIssueEntityPlanWidget:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtIssueEntityPlanWidget (makVrv::DtDe &, QWidget *parent=NULL, const Qt::WindowFlags &flags=0)
 default constructor
virtual ~DtIssueEntityPlanWidget ()
 destructor
virtual bool init ()
 Initializer.
virtual const DtPlanplan () const
 Provide access to the plan so it may be put into the issuePlanCommand.
virtual void setPlan (DtPlan *plan)
 Passes plan to logic where it will set its plan to this one.
virtual void setPlanName (const QString &name)
 Calls myLogic->setPlanName() which is defined in base class DtBasePlanWidgetLogic As user may change entity selection, need to be able to update the plan accordingly.

Public Attributes

boost::signal< void()> signal_send_command
 Used to signal parent dialog that a plan is ready to be assigned.

Protected Slots

virtual void onSendPlanAndClose ()
 Connected to the okbutton of the dialog. Sends the boost signal signal_send_command.
virtual void onClose ()
 Connected to the cancel button.

Protected Attributes

DtIssueEntityPlanWidgetLogicmyLocalLogic

Private Member Functions

 DtIssueEntityPlanWidget (const DtIssueEntityPlanWidget &orig)
 copy constructor. Not Implemented.
DtIssueEntityPlanWidgetoperator= (const DtIssueEntityPlanWidget &rhs)
 assignment operator. Not Implemented.

Constructor & Destructor Documentation

makVrf::DtIssueEntityPlanWidget::DtIssueEntityPlanWidget ( makVrv::DtDe ,
QWidget parent = NULL,
const Qt::WindowFlags &  flags = 0 
)

default constructor

destructor

copy constructor. Not Implemented.


Member Function Documentation

Initializer.

virtual const DtPlan* makVrf::DtIssueEntityPlanWidget::plan ( ) const [virtual]

Provide access to the plan so it may be put into the issuePlanCommand.

virtual void makVrf::DtIssueEntityPlanWidget::setPlan ( DtPlan plan) [virtual]

Passes plan to logic where it will set its plan to this one.

Basically since we are not recieving a plan from an entity itself in the backed but instead from a simCommand( and the entity the plan is to be assigned to may not yet exist) we need to set the plan here from the simCommand which has already been recieved by the front end in the CommandAssignWidget and it's extenstion the simCommandIssuePlan

virtual void makVrf::DtIssueEntityPlanWidget::setPlanName ( const QString &  name) [virtual]

Calls myLogic->setPlanName() which is defined in base class DtBasePlanWidgetLogic As user may change entity selection, need to be able to update the plan accordingly.

virtual void makVrf::DtIssueEntityPlanWidget::onSendPlanAndClose ( ) [protected, virtual, slot]

Connected to the okbutton of the dialog. Sends the boost signal signal_send_command.

Reimplemented from makVrf::DtEditPlanWidget.

virtual void makVrf::DtIssueEntityPlanWidget::onClose ( ) [protected, virtual, slot]

Connected to the cancel button.

DtIssueEntityPlanWidget& makVrf::DtIssueEntityPlanWidget::operator= ( const DtIssueEntityPlanWidget rhs) [private]

assignment operator. Not Implemented.


Member Data Documentation

Used to signal parent dialog that a plan is ready to be assigned.


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)