MakeSequence.h 1.33 KB
Newer Older
gsell's avatar
gsell committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
#ifndef OPAL_MakeSequence_HH
#define OPAL_MakeSequence_HH

// ------------------------------------------------------------------------
// $RCSfile: MakeSequence.h,v $
// ------------------------------------------------------------------------
// $Revision: 1.2 $
// ------------------------------------------------------------------------
// Copyright: see Copyright.readme
// ------------------------------------------------------------------------
//
// Class: MakeSequence
//
// ------------------------------------------------------------------------
//
// $Date: 2001/08/13 15:22:04 $
// $Author: jowett $
//
// ------------------------------------------------------------------------

#include "AbstractObjects/Action.h"


// Class MakeSequence
// ------------------------------------------------------------------------
/// The MAKESEQ command.

class MakeSequence: public Action {

public:

    /// Exemplar constructor.
    MakeSequence();

    virtual ~MakeSequence();

    /// Make clone.
38
    virtual MakeSequence *clone(const std::string &name);
gsell's avatar
gsell committed
39 40 41 42 43 44 45 46 47 48 49

    /// Execute the command.
    virtual void execute();

private:

    // Not implemented.
    MakeSequence(const MakeSequence &);
    void operator=(const MakeSequence &);

    // Clone constructor.
50
    MakeSequence(const std::string &name, MakeSequence *parent);
gsell's avatar
gsell committed
51 52 53
};

#endif // __MakeSequence_HH