Files
FairMQ/fairmq/FairMQConfigurable.h
Mohammad Al-Turany 231c7c8f7e Zero MQ implimentation and example (Tutorial3)
git-svn-id: https://subversion.gsi.de/fairroot/fairbase/trunk@20162 0381ead4-6506-0410-b988-94b70fbc4730
2013-06-07 08:07:48 +00:00

30 lines
664 B
C++

/*
* FairMQConfigurable.h
*
* Created on: Oct 25, 2012
* Author: dklein
*/
#ifndef FAIRMQCONFIGURABLE_H_
#define FAIRMQCONFIGURABLE_H_
#include "Rtypes.h"
#include "TString.h"
class FairMQConfigurable
{
public:
enum {
Last = 1
};
FairMQConfigurable();
virtual void SetProperty(Int_t key, TString value, Int_t slot = 0);
virtual TString GetProperty(Int_t key, TString default_ = "", Int_t slot = 0);
virtual void SetProperty(Int_t key, Int_t value, Int_t slot = 0);
virtual Int_t GetProperty(Int_t key, Int_t default_ = 0, Int_t slot = 0);
virtual ~FairMQConfigurable();
};
#endif /* FAIRMQCONFIGURABLE_H_ */