mirror of
https://github.com/muccc/WomoLIN.git
synced 2026-03-11 11:36:48 +01:00
29 lines
622 B
C++
29 lines
622 B
C++
#pragma once
|
|
|
|
#include "iserial.h"
|
|
#include "iprotocol.h"
|
|
#include "signal.h"
|
|
|
|
#include <map>
|
|
|
|
namespace womolin::manager
|
|
{
|
|
class ManagerBase
|
|
{
|
|
public:
|
|
ManagerBase( womolin::interface::ISerial & serial, womolin::interface::IProtocol & protocol );
|
|
~ManagerBase() = default;
|
|
|
|
void doWork();
|
|
|
|
protected:
|
|
std::string message;
|
|
std::map<std::string, womolin::interface::ISignal*> signalVector;
|
|
|
|
private:
|
|
womolin::interface::ISerial & serial;
|
|
womolin::interface::IProtocol & protocol;
|
|
|
|
};
|
|
}
|