Changeset 11733 for trunk/FACT++/src/datalogger.cc
- Timestamp:
- 07/31/11 12:04:44 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/datalogger.cc
r11719 r11733 138 138 Fits runFile; 139 139 #endif 140 ///the actual dimInfo pointer141 shared_ptr<DimStampedInfo> dimInfo;142 140 ///the server 143 141 string server; … … 153 151 bool fitsBufferAllocated; 154 152 153 ///the actual dimInfo pointer (must be the last in the list to ensure 154 /// that it is the first which is deleted -- and consequently none of 155 /// the other members can still be in use in an infoHandler) 156 shared_ptr<DimStampedInfo> dimInfo; 157 155 158 ///Dim info constructor 156 159 SubscriptionType(DimStampedInfo* info=NULL) 157 160 { 158 dimInfo = shared_ptr<DimStampedInfo>(info);159 161 fConv = shared_ptr<Converter>(); 160 162 runNumber = 0; 161 163 lastReceivedEvent = Time::None; 162 164 fitsBufferAllocated = false; 165 166 // Should be the last instantiated to make sure that all other 167 // variables which might be used are already initialized 168 dimInfo = shared_ptr<DimStampedInfo>(info); 163 169 } 164 170 … … 360 366 void AddService(const string&, const string&, const string&, bool); 361 367 ///Remove a given service subscription 362 void RemoveService(const string &, const string&, bool);368 void RemoveService(const string, const string, bool); 363 369 ///Remove all the services associated with a given server 364 370 void RemoveAllServices(const string&); … … 516 522 //! @param isCmd whether or not this is a command 517 523 // 518 void DataLogger::RemoveService( const string& server, const string&service, bool isCmd)524 void DataLogger::RemoveService(string server, string service, bool isCmd) 519 525 { 520 526 if (fDestructing)//this function is called by the super class, after the destructor has deleted its own subscriptions … … 962 968 // } 963 969 964 // dim_lock();965 970 966 971 //now clear the services subscriptions
Note:
See TracChangeset
for help on using the changeset viewer.