19 lines
508 B
C++
19 lines
508 B
C++
#pragma once
|
|
|
|
#include "./profinet/profinet.hpp"
|
|
#include "./interprocess/shared_memory/profinet_shared_data.hpp"
|
|
#include "./interprocess/pipes/profinet_pipes.hpp"
|
|
#include <string>
|
|
#include "user_data.hpp"
|
|
|
|
class App {
|
|
public:
|
|
bool Init(std::string profinet_config_file);
|
|
void Run();
|
|
private:
|
|
ProfinetPipes pipes_;
|
|
ProfinetSharedData shared_data_;
|
|
Profinet profinet_;
|
|
|
|
UserDataMap user_data_map_; /// Для конвертации данных из rpc json и обратно
|
|
}; |