Last change
on this file since 310 was 152, checked in by Marek Kurdej, 11 years ago |
Major update.
Renamed: addInput -> addInputs, addOutput -> addOutputs and made pure virtual (=0).
Transformed macro definitions into template methods: ADD_INPUT -> ComponentBase::addInput, ADD_OUTPUT -> ComponentBase::addOutput, GET_INPUT -> ComponentBase::getTypedInput, GET_OUTPUT -> ComponentBase::getTypedOutput.
Fixed: added public/protected set/get methods in ComponentBase, made member fields private.
|
-
Property svn:executable
set to
*
|
File size:
1.7 KB
|
Line | |
---|
1 | // %pacpus:license{
|
---|
2 | // This file is part of the PACPUS framework distributed under the
|
---|
3 | // CECILL-C License, Version 1.0.
|
---|
4 | // %pacpus:license}
|
---|
5 | /// @file
|
---|
6 | /// @author Elie Al Alam <firstname.surname@utc.fr>
|
---|
7 | /// @author Gerald Dherbomez <firstname.surname@utc.fr>
|
---|
8 | /// @date April, 2007
|
---|
9 | /// @version $Id: DbtPlyTrigger.h 76 2013-01-10 17:05:10Z kurdejma $
|
---|
10 | /// @copyright Copyright (c) UTC/CNRS Heudiasyc 2006 - 2013. All rights reserved.
|
---|
11 | /// @brief DbitePlayer trigger.
|
---|
12 | ///
|
---|
13 | /// Detailed description.
|
---|
14 |
|
---|
15 | #ifndef DEF_PACPUS_DBTPLYTRIGGER_H
|
---|
16 | #define DEF_PACPUS_DBTPLYTRIGGER_H
|
---|
17 |
|
---|
18 | #include <QThread>
|
---|
19 |
|
---|
20 | #include <Pacpus/DbitePlayer/DbitePlayerConfig.h>
|
---|
21 | #include <Pacpus/DbitePlayer/DbtPlyEngine.h>
|
---|
22 | #include <Pacpus/kernel/ComponentBase.h>
|
---|
23 | #include <Pacpus/kernel/ComponentFactory.h>
|
---|
24 |
|
---|
25 | #ifdef WIN32
|
---|
26 | # include <windows.h>
|
---|
27 | # include <mmsystem.h>
|
---|
28 | #endif
|
---|
29 |
|
---|
30 | namespace pacpus {
|
---|
31 |
|
---|
32 | class DbtPlyEngine;
|
---|
33 |
|
---|
34 | class DBITE_PLAYER_API DbtPlyTrigger
|
---|
35 | : public QThread
|
---|
36 | , public ComponentBase
|
---|
37 | {
|
---|
38 | Q_OBJECT
|
---|
39 |
|
---|
40 | public:
|
---|
41 | /// @todo Documentation
|
---|
42 | DbtPlyTrigger(QString name);
|
---|
43 | /// @todo Documentation
|
---|
44 | virtual ~DbtPlyTrigger();
|
---|
45 |
|
---|
46 | /// @todo Documentation
|
---|
47 | virtual ComponentBase::COMPONENT_CONFIGURATION configureComponent(XmlComponentConfig config);
|
---|
48 |
|
---|
49 | /// @todo Documentation
|
---|
50 | virtual void run();
|
---|
51 |
|
---|
52 | Q_SIGNALS:
|
---|
53 | /// @todo Documentation
|
---|
54 | void triggerSig();
|
---|
55 |
|
---|
56 | protected:
|
---|
57 | virtual void addInputs();
|
---|
58 | virtual void addOutputs();
|
---|
59 |
|
---|
60 | /// @todo Documentation
|
---|
61 | virtual void startActivity();
|
---|
62 | /// @todo Documentation
|
---|
63 | virtual void stopActivity();
|
---|
64 |
|
---|
65 | private:
|
---|
66 | DbtPlyEngine * mEngine;
|
---|
67 | };
|
---|
68 |
|
---|
69 | } // namespace pacpus
|
---|
70 |
|
---|
71 | #endif // DEF_PACPUS_DBTPLYTRIGGER_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.