Changeset 16537 for trunk/FACT++/src/StateMachineDim.h
- Timestamp:
- 06/01/13 12:03:09 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/StateMachineDim.h
r16483 r16537 32 32 class DimStart : public DimErrorRedirecter 33 33 { 34 const bool fIsValidServer; 35 34 36 protected: 35 DimStart(const std::string &name, MessageImp &imp) : DimErrorRedirecter(imp) 37 DimStart(const std::string &name, MessageImp &imp) : DimErrorRedirecter(imp), fIsValidServer(!name.empty()) 36 38 { 37 39 DimClient::setNoDataCopy(); 38 if ( !name.empty())40 if (fIsValidServer) 39 41 { 40 42 DimServer::start(name.c_str()); … … 47 49 ~DimStart() 48 50 { 51 if (!fIsValidServer) 52 return; 53 49 54 // Give some time for pending log messages to be 50 55 // transmitted before the network is stopped
Note:
See TracChangeset
for help on using the changeset viewer.