source: pacpusframework/branches/0.1.x/src/_NewComponent/NewComponent.h.in@ 309

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

Added: scripts to create new component.

File size: 1.3 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/// @date created @CURRENT_DATETIME@
7/// @author @USERNAME@ <firstname.surname@utc.fr>
8/// @copyright Copyright (c) UTC/CNRS Heudiasyc 2006 - 2013. All rights reserved.
9/// @version $Id: $
10///
11/// @todo Brief description of @PACPUS_COMPONENT_NAME@.h.
12///
13/// @todo Detailed description of @PACPUS_COMPONENT_NAME@.h.
14
15#ifndef @PACPUS_COMPONENT_NAME_CAPS@_H
16#define @PACPUS_COMPONENT_NAME_CAPS@_H
17
18#include <Pacpus/kernel/ComponentBase.h>
19//#include <QObject>
20
21#include "@PACPUS_COMPONENT_NAME@Config.h"
22
23namespace pacpus {
24
25class @PACPUS_COMPONENT_NAME_CAPS@_API @PACPUS_COMPONENT_NAME@
26 : public ComponentBase
27{
28 //Q_OBJECT
29
30public:
31 @PACPUS_COMPONENT_NAME@(QString name);
32 ~@PACPUS_COMPONENT_NAME@();
33
34 /// Starts the component
35 virtual void startActivity();
36 /// Stops the component
37 virtual void stopActivity();
38 /// Configures components
39 virtual ComponentBase::COMPONENT_CONFIGURATION configureComponent(XmlComponentConfig config);
40
41//public Q_SLOTS:
42protected:
43private:
44};
45
46} // namespace pacpus
47
48#endif // @PACPUS_COMPONENT_NAME_CAPS@_H
49
Note: See TracBrowser for help on using the repository browser.