AusweisApp
Lade ...
Suche ...
Keine Treffer
StateProcessIfdMessages.h
gehe zur Dokumentation dieser Datei
1
5#pragma once
6
7
8#include "ReaderManager.h"
12
13class test_StateProcessIfdMessages;
14
15namespace governikus
16{
17
19 : public AbstractState
20 , public GenericContextContainer<IfdServiceContext>
21{
22 Q_OBJECT
23 friend class StateBuilder;
24 friend class ::test_StateProcessIfdMessages;
25
26 private:
27 bool mResetContextOnDisconnect;
28 QList<QMetaObject::Connection> mMessageConnections;
29
30 explicit StateProcessIfdMessages(const QSharedPointer<WorkflowContext>& pContext);
31 void run() override;
32
33 private Q_SLOTS:
34 void onMessageHandlerAdded(const QSharedPointer<ServerMessageHandler>& pHandler);
35 void onClosed();
36 void onConnectedChanged(bool pConnected) const;
37 void onReaderPropertiesUpdated(const ReaderInfo& pInfo) const;
38 void onCardConnected();
39 void onDisplayTextChanged(const QString& pDisplayText) const;
40 void onModifyPin(const QSharedPointer<const IfdModifyPin>& pMessage, const QSharedPointer<CardConnection>& pConnection);
41 void onEstablishPaceChannel(const QSharedPointer<const IfdEstablishPaceChannel>& pMessage, const QSharedPointer<CardConnection>& pConnection);
42 void onCardDisconnected() const;
43
44 protected:
45 void onExit(QEvent* pEvent) override;
46
47 public:
48 ~StateProcessIfdMessages() override = default;
49
50 Q_SIGNALS:
54};
55
56} // namespace governikus
Definition AbstractState.h:32
Definition GenericContextContainer.h:15
Definition ReaderInfo.h:18
Definition StateBuilder.h:15
Definition StateProcessIfdMessages.h:21
void onExit(QEvent *pEvent) override
Definition StateProcessIfdMessages.cpp:160
~StateProcessIfdMessages() override=default
Defines the AccessRight and AccessRole enum.
Definition CommandApdu.h:17