source: pacpusframework/branches/2.0-beta1/include/Pacpus/DbitePlayer/DbtPlyTrigger.h@ 139

Last change on this file since 139 was 89, checked in by morasjul, 12 years ago

PACPUS 2.0 Beta deployed in new branch

Major changes:
-Add communication interface between components
-Add examples for communications interface (TestComponents)
-Move to Qt5 support

  • Property svn:executable set to *
File size: 1.6 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
30namespace pacpus {
31
32class DbtPlyEngine;
33
34class DBITE_PLAYER_API DbtPlyTrigger
35 : public QThread
36 , public ComponentBase
37{
38 Q_OBJECT
39
40public:
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
52Q_SIGNALS:
53 /// @todo Documentation
54 void triggerSig();
55
56protected:
57 /// @todo Documentation
58 virtual void startActivity();
59 /// @todo Documentation
60 virtual void stopActivity();
61
62private:
63 DbtPlyEngine * mEngine;
64};
65
66} // namespace pacpus
67
68#endif // DEF_PACPUS_DBTPLYTRIGGER_H
Note: See TracBrowser for help on using the repository browser.