Qt IVI Generator Remote Objects Example

/**************************************************************************** ** Generated from 'Example.IVI.Remote.qface' ** ** Created by: The QFace generator (QtAS 5.12.8) ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/
#ifndef REMOTE_PROCESSINGSERVICEBACKEND_H_ #define REMOTE_PROCESSINGSERVICEBACKEND_H_ #include <QRemoteObjectNode> #include "processingservicebackendinterface.h" #include "rep_processingservice_replica.h" class ProcessingServiceBackend : public ProcessingServiceBackendInterface { Q_OBJECT public: explicit ProcessingServiceBackend(QObject *parent = nullptr); ~ProcessingServiceBackend(); void initialize() override; public Q_SLOTS: virtual void setLastMessage(const QString &lastMessage) override; virtual QIviPendingReply<int> process(const QString &data) override; protected Q_SLOTS: void onReplicaStateChanged(QRemoteObjectReplica::State newState, QRemoteObjectReplica::State oldState); void onNodeError(QRemoteObjectNode::ErrorCode code); protected: void setupConnections(); QSharedPointer<ProcessingServiceReplica> m_replica; QRemoteObjectNode* m_node= nullptr; }; #endif // REMOTE_PROCESSINGSERVICEBACKEND_H_