source: pacpusframework/branches/0.0.x/include/Pacpus/DbitePlayer/DbtPlyTrigger.h@ 261

Last change on this file since 261 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
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 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.
13
14#ifndef DEF_PACPUS_DBTPLYTRIGGER_H
15#define DEF_PACPUS_DBTPLYTRIGGER_H
16
17#include <QThread>
18
19#include <Pacpus/DbitePlayer/DbitePlayerConfig.h>
20#include <Pacpus/DbitePlayer/DbtPlyEngine.h>
21#include <Pacpus/kernel/ComponentBase.h>
22#include <Pacpus/kernel/ComponentFactory.h>
23
24#ifdef WIN32
25# include <windows.h>
26# include <mmsystem.h>
27#endif
28
29namespace pacpus {
30
31class DbtPlyEngine;
32
33class DBITE_PLAYER_API DbtPlyTrigger
34 : public QThread
35 , public ComponentBase
36{
37 Q_OBJECT
38
39public:
40 /// @todo Documentation
41 DbtPlyTrigger(QString name);
42 /// @todo Documentation
43 virtual ~DbtPlyTrigger();
44
45 /// @todo Documentation
46 virtual ComponentBase::COMPONENT_CONFIGURATION configureComponent(XmlComponentConfig config);
47
48 /// @todo Documentation
49 virtual void run();
50
51Q_SIGNALS:
52 /// @todo Documentation
53 void triggerSig();
54
55protected:
56 /// @todo Documentation
57 virtual void startActivity();
58 /// @todo Documentation
59 virtual void stopActivity();
60
61private:
62 DbtPlyEngine * mEngine;
63};
64
65} // namespace pacpus
66
67#endif // DEF_PACPUS_DBTPLYTRIGGER_H
Note: See TracBrowser for help on using the repository browser.