change argument passing by value/reference

This commit is contained in:
Alexey Rybalchenko
2014-01-27 16:51:23 +01:00
parent ee70113120
commit b45f968c67
12 changed files with 22 additions and 26 deletions

View File

@@ -39,10 +39,10 @@ class FairMQSampler: public FairMQDevice
void ResetEventCounter();
virtual void ListenToCommands();
virtual void SetProperty(const int& key, const string& value, const int& slot = 0);
virtual string GetProperty(const int& key, const string& default_ = "", const int& slot = 0);
virtual void SetProperty(const int& key, const int& value, const int& slot = 0);
virtual int GetProperty(const int& key, const int& default_ = 0, const int& slot = 0);
virtual void SetProperty(const int key, const string& value, const int slot = 0);
virtual string GetProperty(const int key, const string& default_ = "", const int slot = 0);
virtual void SetProperty(const int key, const int value, const int slot = 0);
virtual int GetProperty(const int key, const int default_ = 0, const int slot = 0);
protected:
FairRunAna* fFairRunAna;
int fNumEvents;