WSF
src
wizard
lib
source
application
Runner.hpp
Go to the documentation of this file.
1
// ****************************************************************************
2
// CUI
3
//
4
// The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
5
//
6
// Copyright 2016 Infoscitex, a DCS Company. All rights reserved.
7
//
8
// The use, dissemination or disclosure of data in this file is subject to
9
// limitation or restriction. See accompanying README and LICENSE for details.
10
// ****************************************************************************
11
12
#ifndef WIZARDRUNNER_HPP
13
#define WIZARDRUNNER_HPP
14
15
#include <memory>
16
17
#include "UtPath.hpp"
18
19
class
QApplication;
20
21
namespace
wizard
22
{
23
24
class
Runner
25
{
26
public
:
27
Runner
(
int
& argc,
28
char
* argv[],
29
const
char
* aCompanyStr,
30
const
char
* aCompanyDomainStr,
31
const
char
* aProductNameStr,
32
const
char
* aProductVersionStr);
33
Runner
(
const
Runner
&) =
delete
;
34
Runner
(
Runner
&&) =
default
;
35
Runner
&
operator=
(
const
Runner
&) =
delete
;
36
Runner
&
operator=
(
Runner
&&) =
default
;
37
void
run
();
38
~Runner
();
39
40
private
:
41
std::unique_ptr<QApplication> mApp;
42
UtPath mBinDir;
43
std::string mRccPath;
44
};
45
46
}
// namespace wizard
47
48
#endif
wizard::Runner::~Runner
~Runner()
Definition
Runner.cpp:113
wizard::Runner::Runner
Runner(int &argc, char *argv[], const char *aCompanyStr, const char *aCompanyDomainStr, const char *aProductNameStr, const char *aProductVersionStr)
Definition
Runner.cpp:28
wizard::Runner::Runner
Runner(Runner &&)=default
wizard::Runner::run
void run()
Definition
Runner.cpp:52
wizard::Runner::Runner
Runner(const Runner &)=delete
wizard::Runner::operator=
Runner & operator=(const Runner &)=delete
wizard::Runner::operator=
Runner & operator=(Runner &&)=default
wizard
Definition
Runner.hpp:22
Copyrights Multiple, All Rights Reserved