Changeset 10484 for trunk/FACT++/src


Ignore:
Timestamp:
04/28/11 14:02:00 (14 years ago)
Author:
tbretz
Message:
Exchanged the order of the STATE and the STATE_LIST for logical reasons.
Location:
trunk/FACT++/src
Files:
2 edited

Legend:

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

    r10476 r10484  
    6868StateMachineDim::StateMachineDim(ostream &out, const std::string &name)
    6969    : StateMachine(out, name), DimStart(name, *this), fLog(name, out),
     70    fDescriptionStates((name+"/STATE_LIST").c_str(), const_cast<char*>(""),
     71                       "Provides a list with descriptions for each service."
     72                       "|StateList[string]:A \\n separated list of the form id:name=description"),
    7073    fSrvState((name+"/STATE").c_str(), const_cast<char*>(""),
    7174              "Provides the state of the state machine as quality of service."
    72               "|Text[string]:A human readable string sent by the last state change."),
     75              "|Text[string]:A human readable string sent by the last state change.")
    7376    //    fSrvVersion((name+"/VERSION").c_str(), const_cast<int&>(fVersion)),
    74     fDescriptionStates((name+"/STATE_LIST").c_str(), const_cast<char*>(""),
    75                        "Provides a list with descriptions for each service."
    76                        "|StateList[string]:A \\n separated list of the form id:name=description")
    7777{
    7878    // WARNING: This exit handler is GLOBAL!
  • trunk/FACT++/src/StateMachineDim.h

    r10476 r10484  
    3333    static const int fVersion;   /// Version number
    3434
     35    DimDescribedService fDescriptionStates; /// DimService propagating the state descriptions
    3536    DimDescribedService fSrvState;          /// DimService offering fCurrentState
    3637//    DimService fSrvVersion;        /// DimService offering fVersion
    3738
    38     DimDescribedService fDescriptionStates; /// DimService propagating the state descriptions
    3939
    4040    void exitHandler(int code);  /// Overwritten DimCommand::exitHandler.
Note: See TracChangeset for help on using the changeset viewer.