mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Rename device property to have a common format and some code cleanup.
FairMQDevice: Rename property for socket rate logging to have common format (old name is still available for compatibility). FairMQ: Avoid using std namespace in class headers (may require adding std namespace to some child devices). FairMQ: A bit of code cleanup FairMQConfigurable: Stop with an error if a property assignment failed due to incorrect key.
This commit is contained in:
committed by
Florian Uhlig
parent
61f24eb73a
commit
26a1033e9d
@@ -21,8 +21,6 @@
|
||||
#include <iomanip>
|
||||
#include <ctime>
|
||||
|
||||
using namespace std;
|
||||
|
||||
class FairMQLogger
|
||||
{
|
||||
public:
|
||||
@@ -36,10 +34,10 @@ class FairMQLogger
|
||||
};
|
||||
FairMQLogger();
|
||||
virtual ~FairMQLogger();
|
||||
ostringstream& Log(int type);
|
||||
std::ostringstream& Log(int type);
|
||||
|
||||
private:
|
||||
ostringstream os;
|
||||
std::ostringstream os;
|
||||
};
|
||||
|
||||
typedef unsigned long long timestamp_t;
|
||||
|
Reference in New Issue
Block a user