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

Last change on this file since 21 was 3, checked in by sgosseli, 12 years ago
  • Add the existing Pacpus files from pacpusdev and pacpuscore.
  • Provide a clean build system based on multiple CMake files.
File size: 1.2 KB
Line 
1/*********************************************************************
2// created: 2007/04/12 - 16:30
3
4//
5// author: Elie Al Alam & Gerald Dherbomez
6//
7// version: $Id: $
8//
9// purpose: Dbite Player Trigger header file
10*********************************************************************/
11
12#ifndef DBTPLYTRIGGER_H
13#define DBTPLYTRIGGER_H
14
15#include <qthread.h>
16
17#include "DbitePlayerConfig.h"
18#include "kernel/ComponentBase.h"
19#include "kernel/ComponentFactory.h"
20#include "DbitePlayer/DbtPlyEngine.h"
21
22#ifdef WIN32
23# include <windows.h>
24# include <mmsystem.h>
25#endif
26
27namespace pacpus {
28
29class DbtPlyEngine;
30
31class DBITE_PLAYER_API DbtPlyTrigger
32 : public QThread
33 , public ComponentBase
34{
35 Q_OBJECT
36
37public:
38 DbtPlyTrigger(QString name);
39 virtual ~DbtPlyTrigger();
40
41 virtual ComponentBase::COMPONENT_CONFIGURATION configureComponent(XmlComponentConfig config);
42
43 virtual void run();
44
45Q_SIGNALS:
46 void triggerSig();
47
48protected:
49 virtual void startActivity();
50 virtual void stopActivity();
51
52private:
53 DbtPlyEngine * mEngine;
54};
55
56} // namespace pacpus
57
58#endif // DBTPLYTRIGGER_H
Note: See TracBrowser for help on using the repository browser.