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