source: pacpustutorials/template/component_template/ComponentTemplate.h@ 3

Last change on this file since 3 was 1, checked in by DHERBOMEZ Gérald, 9 years ago

add first tutorials exercises

File size: 1.2 KB
Line 
1// *********************************************************************
2//
3// created: 2015/09/18
4// filename: ComponentTemplate.h
5//
6// author: Gerald Dherbomez
7// Copyright Heudiasyc (c) UMR UTC/CNRS 7253
8//
9// license: CECILL-C
10//
11// version: $Id: $
12//
13// brief: Pacpus template component header file
14//
15// *********************************************************************
16
17
18#ifndef __ComponentTemplate_h__
19#define __ComponentTemplate_h__
20
21#include "ComponentTemplateConfig.h"
22
23#include "Pacpus/kernel/ComponentBase.h"
24#include "Pacpus/kernel/DbiteFile.h"
25
26namespace pacpus {
27
28class PLUGINTEMPLATE_API ComponentTemplate
29 : public ComponentBase
30{
31 Q_OBJECT
32
33public:
34 // Specific constructor for pacpus component
35 ComponentTemplate(QString name);
36 ~ComponentTemplate();
37
38 // 3 inherited virtual pure methods
39 virtual void startActivity();
40 virtual void stopActivity();
41 virtual ComponentBase::COMPONENT_CONFIGURATION configureComponent(XmlComponentConfig config);
42
43
44private:
45 // Add here your private variables
46 unsigned long var_;
47 unsigned long parameter_;
48
49}; // end class ComponentTemplate
50
51} // end namespace pacpus
52
53#endif //__ComponentTemplate_h__
Note: See TracBrowser for help on using the repository browser.