Ignore:
Timestamp:
Dec 16, 2009, 2:40:09 PM (16 years ago)
Author:
Tillmann Crueger <crueger@…>
Children:
38546d
Parents:
c2c893
Message:

Improved documentation for menu framework.

Location:
molecuilder/src/Actions
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/Actions/Action.cpp

    rc2c893 rda09909  
    99
    1010Action::Action()
    11 {
    12   // TODO Auto-generated constructor stub
    13 
    14 }
     11{}
    1512
    1613Action::~Action()
    17 {
    18   // TODO Auto-generated destructor stub
    19 }
     14{}
  • molecuilder/src/Actions/Action.hpp

    rc2c893 rda09909  
    99#define ACTION_H_
    1010
     11/**
     12 * Base class for all actions.
     13 *
     14 * Actions describe something that has to be done.
     15 * Actions can be passed around, stored, performed and undone (Command-Pattern).
     16 *
     17 * TODO: Add queues of actions that have been performed to allow easy implementation of multiple-step undo
     18 */
    1119class Action
    1220{
  • molecuilder/src/Actions/MethodAction.hpp

    rc2c893 rda09909  
    1313#include "Actions/Action.hpp"
    1414
     15/**
     16 * Wrapper class that allows the construction of Actions from any kind of Method
     17 */
    1518class MethodAction : public Action
    1619{
     
    2326  virtual bool canUndo();
    2427
    25   boost::function<void()> executeMethod;
     28  boost::function<void()> executeMethod; //!< this stores the method to be called
    2629
    2730
Note: See TracChangeset for help on using the changeset viewer.