KPlato::NodeModifyStartupCostCmd Class Reference

#include <kptcommand.h>

Inherits KPlato::NamedCommand.

Inheritance diagram for KPlato::NodeModifyStartupCostCmd:

[legend]
List of all members.

Public Member Functions

 NodeModifyStartupCostCmd (Part *part, Node &node, double value, QString name=0)
void execute ()
void unexecute ()

Private Attributes

Nodem_node
double m_oldvalue
double m_newvalue

Detailed Description

Definition at line 839 of file kptcommand.h.


Constructor & Destructor Documentation

KPlato::NodeModifyStartupCostCmd::NodeModifyStartupCostCmd ( Part part,
Node node,
double  value,
QString  name = 0 
)

Definition at line 1730 of file kptcommand.cc.

References m_newvalue, m_oldvalue, and KPlato::Node::startupCost().


Member Function Documentation

void KPlato::NodeModifyStartupCostCmd::execute (  ) 

Definition at line 1738 of file kptcommand.cc.

References m_newvalue, m_node, KPlato::NamedCommand::setCommandType(), and KPlato::Node::setStartupCost().

void KPlato::NodeModifyStartupCostCmd::unexecute (  ) 

Definition at line 1743 of file kptcommand.cc.

References m_node, m_oldvalue, KPlato::NamedCommand::setCommandType(), and KPlato::Node::setStartupCost().


Member Data Documentation

Node& KPlato::NodeModifyStartupCostCmd::m_node [private]

Definition at line 847 of file kptcommand.h.

Referenced by execute(), and unexecute().

double KPlato::NodeModifyStartupCostCmd::m_oldvalue [private]

Definition at line 848 of file kptcommand.h.

Referenced by NodeModifyStartupCostCmd(), and unexecute().

double KPlato::NodeModifyStartupCostCmd::m_newvalue [private]

Definition at line 849 of file kptcommand.h.

Referenced by execute(), and NodeModifyStartupCostCmd().


The documentation for this class was generated from the following files:
Generated on Wed Nov 22 23:21:47 2006 for KPlato by  doxygen 1.5.1-p1