Ignore:
Timestamp:
Apr 18, 2011, 10:56:51 AM (9 years ago)
Author:
tbretz
Message:
Added service to provide the STATE_LIST with the available descriptions of the states.
File:
1 edited

Legend:

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

    r10373 r10379  
    3333    static const int fVersion;   /// Version number
    3434
    35     DimService fSrvState;        /// DimService offering fCurrentState
    36     DimService fSrvVersion;      /// DimService offering fVersion
     35    DimService fSrvState;          /// DimService offering fCurrentState
     36    DimService fSrvVersion;        /// DimService offering fVersion
     37
     38    DimService fDescriptionStates; /// DimService propagating the state descriptions
    3739
    3840    void exitHandler(int code);  /// Overwritten DimCommand::exitHandler.
     
    5052public:
    5153    StateMachineDim(std::ostream &out=std::cout, const std::string &name="DEFAULT");
     54
     55    void AddStateName(const int state, const std::string &name, const std::string &doc="");
     56    void DistStateName(const int state, const std::string &name, const std::string &doc="");
    5257};
    5358
Note: See TracChangeset for help on using the changeset viewer.