22 lines
354 B
C++
22 lines
354 B
C++
#ifndef _GYR_LOW_SENDER_H
|
|
#define _GYR_LOW_SENDER_H
|
|
|
|
#include "protocol.h"
|
|
#include "group.h"
|
|
#include "clock.h"
|
|
#include "message.h"
|
|
|
|
class LowSender{
|
|
private:
|
|
Group & _group;
|
|
Clock & _clock;
|
|
Protocol::Type _type;
|
|
|
|
protected:
|
|
|
|
public:
|
|
LowSender::LowSender(Group &grp, Clock &clk, Protocol::Type type);
|
|
void run(); // thread part
|
|
};
|
|
|
|
#endif
|