Line | |
---|
1 | // This file is part of the PACPUS framework distributed under the
|
---|
2 | // CECILL-C License, Version 1.0.
|
---|
3 | //
|
---|
4 | /// @author Elie Al Alam <firstname.surname@utc.fr>
|
---|
5 | /// @author Gerald Dherbomez <firstname.surname@utc.fr>
|
---|
6 | /// @date April, 2007
|
---|
7 | /// @version $Id$
|
---|
8 | /// @copyright Copyright (c) UTC/CNRS Heudiasyc 2006 - 2013. All rights reserved.
|
---|
9 | /// @brief DbitePlayer trigger.
|
---|
10 | ///
|
---|
11 | /// Detailed description.
|
---|
12 |
|
---|
13 | #ifndef DEF_PACPUS_DBTPLYTRIGGER_H
|
---|
14 | #define DEF_PACPUS_DBTPLYTRIGGER_H
|
---|
15 |
|
---|
16 | #include <QThread>
|
---|
17 |
|
---|
18 | #include <Pacpus/DbitePlayer/DbitePlayerConfig.h>
|
---|
19 | #include <Pacpus/DbitePlayer/DbtPlyEngine.h>
|
---|
20 | #include <Pacpus/kernel/ComponentBase.h>
|
---|
21 | #include <Pacpus/kernel/ComponentFactory.h>
|
---|
22 |
|
---|
23 | #ifdef WIN32
|
---|
24 | # include <windows.h>
|
---|
25 | # include <mmsystem.h>
|
---|
26 | #endif
|
---|
27 |
|
---|
28 | namespace pacpus {
|
---|
29 |
|
---|
30 | class DbtPlyEngine;
|
---|
31 |
|
---|
32 | class DBITE_PLAYER_API DbtPlyTrigger
|
---|
33 | : public QThread
|
---|
34 | , public ComponentBase
|
---|
35 | {
|
---|
36 | Q_OBJECT
|
---|
37 |
|
---|
38 | public:
|
---|
39 | /// @todo Documentation
|
---|
40 | DbtPlyTrigger(QString name);
|
---|
41 | /// @todo Documentation
|
---|
42 | virtual ~DbtPlyTrigger();
|
---|
43 |
|
---|
44 | /// @todo Documentation
|
---|
45 | virtual ComponentBase::COMPONENT_CONFIGURATION configureComponent(XmlComponentConfig config);
|
---|
46 |
|
---|
47 | /// @todo Documentation
|
---|
48 | virtual void run();
|
---|
49 |
|
---|
50 | Q_SIGNALS:
|
---|
51 | /// @todo Documentation
|
---|
52 | void triggerSig();
|
---|
53 |
|
---|
54 | protected:
|
---|
55 | /// @todo Documentation
|
---|
56 | virtual void startActivity();
|
---|
57 | /// @todo Documentation
|
---|
58 | virtual void stopActivity();
|
---|
59 |
|
---|
60 | private:
|
---|
61 | DbtPlyEngine * mEngine;
|
---|
62 | };
|
---|
63 |
|
---|
64 | } // namespace pacpus
|
---|
65 |
|
---|
66 | #endif // DEF_PACPUS_DBTPLYTRIGGER_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.