110 lines
2.7 KiB
C++
110 lines
2.7 KiB
C++
#pragma once
|
|
|
|
#ifndef BASEMOVERSIGHT_H
|
|
#define BASEMOVERSIGHT_H
|
|
|
|
#include "common/Defines.h"
|
|
#include "common/transport/TransportAddress.h"
|
|
#include "app/PeerDescription.h"
|
|
|
|
#if UBEEME
|
|
#include "core/network/network_message.h"
|
|
#endif
|
|
|
|
namespace ubeeme {
|
|
namespace moversight {
|
|
|
|
/**
|
|
* @defgroup Moversight Moversight
|
|
* @brief Defines the base interface for the Moversight protocol.
|
|
* @class BaseMoversight
|
|
* @author Jan Gäbler
|
|
*
|
|
* The Moversight group communication protocol.
|
|
*/
|
|
class BaseMoversight {
|
|
public:
|
|
|
|
virtual TransportAddress & getLocalAddress() = 0;
|
|
|
|
bool isPrintDebugDIS();
|
|
void setPrintDebugDIS(bool value);
|
|
|
|
bool isPrintDebugNFD();
|
|
void setPrintDebugNFD(bool value);
|
|
|
|
bool isPrintDebugMT();
|
|
void setPrintDebugMT(bool value);
|
|
|
|
bool isPrintDebugMS();
|
|
void setPrintDebugMS(bool value);
|
|
|
|
bool isPrintDebugTC();
|
|
void setPrintDebugTC(bool value);
|
|
|
|
bool isPrintDebugST();
|
|
void setPrintDebugST(bool value);
|
|
|
|
bool isPrintDebugMOB();
|
|
void setPrintDebugMOB(bool value);
|
|
|
|
bool isPrintDebugCT();
|
|
void setPrintDebugCT(bool value);
|
|
|
|
bool isPrintDebugUT();
|
|
void setPrintDebugUT(bool value);
|
|
|
|
bool isPrintDebugAPP();
|
|
void setPrintDebugAPP(bool value);
|
|
|
|
bool isPrintDebugVISU();
|
|
void setPrintDebugVISU(bool value);
|
|
|
|
bool isPrintDebugES();
|
|
void setPrintDebugES(bool value);
|
|
|
|
bool isPrintDebugUC();
|
|
void setPrintDebugUC(bool value);
|
|
|
|
bool isPrintDebugAC();
|
|
void setPrintDebugAC(bool value);
|
|
|
|
bool isNFDEnabled();
|
|
void setNFDEnabled(bool value);
|
|
|
|
bool isRecordStats() const;
|
|
void setRecordStats(bool enableRecordStats);
|
|
|
|
BaseMoversight & operator =(BaseMoversight const & other);
|
|
|
|
protected:
|
|
|
|
BaseMoversight();
|
|
virtual ~BaseMoversight();
|
|
|
|
private:
|
|
|
|
bool printDebugAC;
|
|
bool printDebugUC;
|
|
bool printDebugDIS;
|
|
bool printDebugNFD;
|
|
bool printDebugMT;
|
|
bool printDebugMS;
|
|
bool printDebugTC;
|
|
bool printDebugAPP;
|
|
bool printDebugMOB;
|
|
bool printDebugST;
|
|
bool printDebugCT;
|
|
bool printDebugUT;
|
|
bool printDebugVISU;
|
|
bool printDebugES;
|
|
|
|
bool enableNFD;
|
|
bool enableRecordStats;
|
|
|
|
};
|
|
}
|
|
}
|
|
|
|
#endif // BASEMOVERSIGHT_H
|