Last change
on this file since 22 was 19, checked in by Marek Kurdej, 11 years ago |
Update: fixed LMOComponent compilation with Qt5.
|
File size:
1.1 KB
|
Rev | Line | |
---|
[17] | 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 2013-07-01 13:18:37
|
---|
| 7 | /// @author @todo kurdejma <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 LMOComponent.h.
|
---|
| 12 | ///
|
---|
| 13 | /// @todo Detailed description of LMOComponent.h.
|
---|
| 14 |
|
---|
| 15 | #ifndef LMOCOMPONENT_H
|
---|
| 16 | #define LMOCOMPONENT_H
|
---|
| 17 |
|
---|
| 18 | #include <QObject>
|
---|
| 19 |
|
---|
| 20 | #include "Pacpus/kernel/ComponentBase.h"
|
---|
[19] | 21 | #include "LMOComponentConfig.h"
|
---|
[17] | 22 |
|
---|
| 23 | namespace pacpus {
|
---|
| 24 |
|
---|
| 25 | class LMOCOMPONENT_API LMOComponent
|
---|
| 26 | : public ComponentBase
|
---|
| 27 | {
|
---|
[19] | 28 | //Q_OBJECT
|
---|
[17] | 29 |
|
---|
| 30 | public:
|
---|
| 31 | LMOComponent(QString name);
|
---|
| 32 | ~LMOComponent();
|
---|
| 33 |
|
---|
| 34 | /// Starts the component
|
---|
| 35 | virtual void startActivity();
|
---|
| 36 | /// Stops the ocmponent
|
---|
| 37 | virtual void stopActivity();
|
---|
| 38 | /// Configures components
|
---|
| 39 | virtual ComponentBase::COMPONENT_CONFIGURATION configureComponent(XmlComponentConfig config);
|
---|
| 40 |
|
---|
| 41 | //public Q_SLOTS:
|
---|
| 42 | protected:
|
---|
| 43 | private:
|
---|
| 44 | };
|
---|
| 45 |
|
---|
| 46 | } // namespace pacpus
|
---|
| 47 |
|
---|
| 48 | #endif // LMOCOMPONENT_H
|
---|
| 49 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.