AusweisApp
Lade ...
Suche ...
Keine Treffer
FinalState.h
gehe zur Dokumentation dieser Datei
1
4
5
#pragma once
6
7
#include "
AbstractState.h
"
8
#include "
GenericContextContainer.h
"
9
10
namespace
governikus
11
{
12
13
class
FinalState
14
:
public
AbstractState
15
,
public
GenericContextContainer
<WorkflowContext>
16
{
17
Q_OBJECT
18
19
private
:
20
void
run()
override
;
21
22
protected
:
23
void
onEntry
(QEvent* pEvent)
override
24
{
25
getContext
()->setWorkflowFinished(
true
);
26
AbstractState::onEntry
(pEvent);
27
}
28
29
public
:
30
explicit
FinalState
(
const
QSharedPointer<WorkflowContext>& pContext)
31
:
AbstractState
(pContext)
32
,
GenericContextContainer
(pContext)
33
{
34
}
35
36
37
};
38
39
}
// namespace governikus
AbstractState.h
GenericContextContainer.h
governikus::AbstractState::onEntry
void onEntry(QEvent *pEvent) override
Definition
AbstractState.cpp:79
governikus::AbstractState::AbstractState
AbstractState(const QSharedPointer< WorkflowContext > &pContext)
Definition
AbstractState.cpp:22
governikus::FinalState::FinalState
FinalState(const QSharedPointer< WorkflowContext > &pContext)
Definition
FinalState.h:30
governikus::FinalState::onEntry
void onEntry(QEvent *pEvent) override
Definition
FinalState.h:23
governikus::GenericContextContainer< WorkflowContext >::getContext
QSharedPointer< WorkflowContext > getContext() const
Definition
GenericContextContainer.h:27
governikus::GenericContextContainer< WorkflowContext >::GenericContextContainer
GenericContextContainer(const QSharedPointer< WorkflowContext > &pContext)
Definition
GenericContextContainer.h:20
governikus
Defines the AccessRight and AccessRole enum.
Definition
CommandApdu.h:17
src
workflows
base
states
FinalState.h
Erzeugt von
1.13.2