Changeset 10476 for trunk/FACT++/src
- Timestamp:
- 04/28/11 11:07:25 (14 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/MessageDim.cc
r10439 r10476 35 35 // 36 36 MessageDimTX::MessageDimTX(const std::string &name, std::ostream &out) 37 : DimService((name + "/MESSAGE").c_str(), const_cast<char*>("")), 37 : DimDescribedService((name + "/MESSAGE").c_str(), const_cast<char*>(""), 38 "A general logging service providing a quality of service (severity)" 39 "|Message[string]:The message"), 38 40 MessageImp(out), fDebug(false) 39 41 { -
trunk/FACT++/src/MessageDim.h
r10439 r10476 6 6 7 7 8 #include <dis.hxx> // DimService 8 #include "DimDescriptionService.h" 9 //#include <dis.hxx> // DimService 9 10 10 class MessageDimTX : public Dim Service, public MessageImp11 class MessageDimTX : public DimDescribedService, public MessageImp 11 12 { 12 13 private: -
trunk/FACT++/src/StateMachineDim.cc
r10436 r10476 67 67 // 68 68 StateMachineDim::StateMachineDim(ostream &out, const std::string &name) 69 : StateMachine(out, name), DimStart(name, *this), fLog(name, out), 70 fSrvState((name+"/STATE").c_str(), const_cast<char*>("")), 71 // fSrvVersion((name+"/VERSION").c_str(), const_cast<int&>(fVersion)), 72 fDescriptionStates((name+"/STATE_LIST").c_str(), const_cast<char*>("")) 69 : StateMachine(out, name), DimStart(name, *this), fLog(name, out), 70 fSrvState((name+"/STATE").c_str(), const_cast<char*>(""), 71 "Provides the state of the state machine as quality of service." 72 "|Text[string]:A human readable string sent by the last state change."), 73 // 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") 73 77 { 74 78 // WARNING: This exit handler is GLOBAL! -
trunk/FACT++/src/StateMachineDim.h
r10436 r10476 33 33 static const int fVersion; /// Version number 34 34 35 Dim Service fSrvState; /// DimService offering fCurrentState35 DimDescribedService fSrvState; /// DimService offering fCurrentState 36 36 // DimService fSrvVersion; /// DimService offering fVersion 37 37 38 Dim Service fDescriptionStates; /// DimService propagating the state descriptions38 DimDescribedService fDescriptionStates; /// DimService propagating the state descriptions 39 39 40 40 void exitHandler(int code); /// Overwritten DimCommand::exitHandler.
Note:
See TracChangeset
for help on using the changeset viewer.