source: pacpusframework/trunk/include/Pacpus/DbitePlayer/DbtPlyTrigger.h@ 378

Last change on this file since 378 was 290, checked in by Marek Kurdej, 11 years ago

Some clean-up.

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