/*! * \brief Controller for an external PersoSim process. * * \copyright Copyright (c) 2014-2019 Governikus GmbH & Co. KG, Germany */ #pragma once #include #include #include #include namespace governikus { class PersoSimController : public QObject { Q_OBJECT public: PersoSimController(); ~PersoSimController() = default; bool isEnabled() const; bool init(); bool write(const QByteArray& pData); bool shutdown(); private: QProcess* mProcess; const QSharedPointer mSocket; bool startProcess(); void newData(); }; } // namespace governikus