Ignore:
Timestamp:
05/02/11 19:04:13 (12 years ago)
Author:
tbretz
Message:
Moved exit handler to DimErrorRedirecter.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/StateMachineDim.h

    r10484 r10510  
    2020    DimStart(const std::string &name, MessageImp &imp) : DimErrorRedirecter(imp)
    2121    {
    22         DimServer::addErrorHandler(this);
    2322        DimServer::start(name.c_str());
    2423    }
    25     ~DimStart() { DimServer::stop(); }
     24    ~DimStart()
     25    {
     26        DimServer::stop();
     27    }
    2628};
    2729
    28 class StateMachineDim : public DimCommandHandler, public DimExitHandler, public StateMachine, public DimStart
     30class StateMachineDim : public DimCommandHandler, public StateMachine, public DimStart
    2931{
    3032private:
Note: See TracChangeset for help on using the changeset viewer.