14 lines
276 B
C++
14 lines
276 B
C++
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "./profinet/profinet.hpp"
|
||
|
|
#include "./interprocess/profinet_shared_data.hpp"
|
||
|
|
#include <string>
|
||
|
|
|
||
|
|
class App {
|
||
|
|
public:
|
||
|
|
bool Init(std::string profinet_config_file);
|
||
|
|
void Run();
|
||
|
|
private:
|
||
|
|
Profinet profinet_;
|
||
|
|
ProfinetSharedData shared_data_;
|
||
|
|
};
|