Rev | Line | |
---|
[12] | 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 @todo ${<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 ${<PROJECT_NAME>}.h.
|
---|
| 12 | ///
|
---|
| 13 | /// @todo Detailed description of ${<PROJECT_NAME>}.h.
|
---|
| 14 |
|
---|
| 15 | #ifndef ${<PROJECT_NAME_CAPS>}_H
|
---|
| 16 | #define ${<PROJECT_NAME_CAPS>}_H
|
---|
| 17 |
|
---|
| 18 | #include <QObject>
|
---|
| 19 |
|
---|
| 20 | #include "Pacpus/kernel/ComponentBase.h"
|
---|
| 21 |
|
---|
| 22 | namespace pacpus {
|
---|
| 23 |
|
---|
| 24 | class ${<PROJECT_NAME_CAPS>}_API ${<PROJECT_NAME>}
|
---|
| 25 | : public ComponentBase
|
---|
| 26 | {
|
---|
| 27 | Q_OBJECT
|
---|
| 28 |
|
---|
| 29 | public:
|
---|
| 30 | ${<PROJECT_NAME>}(QString name);
|
---|
| 31 | ~${<PROJECT_NAME>}();
|
---|
| 32 |
|
---|
| 33 | /// Starts the component
|
---|
| 34 | virtual void startActivity();
|
---|
| 35 | /// Stops the ocmponent
|
---|
| 36 | virtual void stopActivity();
|
---|
| 37 | /// Configures components
|
---|
| 38 | virtual ComponentBase::COMPONENT_CONFIGURATION configureComponent(XmlComponentConfig config);
|
---|
| 39 |
|
---|
| 40 | //public Q_SLOTS:
|
---|
| 41 | protected:
|
---|
| 42 | private:
|
---|
| 43 | };
|
---|
| 44 |
|
---|
| 45 | } // namespace pacpus
|
---|
| 46 |
|
---|
| 47 | #endif // ${<PROJECT_NAME_CAPS>}_H
|
---|
| 48 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.