| 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 |
|
|---|
| 6 | #include "${<PROJECT_NAME>}.h"
|
|---|
| 7 |
|
|---|
| 8 | using namespace pacpus;
|
|---|
| 9 | using namespace std;
|
|---|
| 10 |
|
|---|
| 11 | DECLARE_STATIC_LOGGER("pacpus.base.${<PROJECT_NAME>}");
|
|---|
| 12 |
|
|---|
| 13 | /// Constructs a static component factory
|
|---|
| 14 | static ComponentFactory<${<PROJECT_NAME>}> sFactory("${<PROJECT_NAME>}");
|
|---|
| 15 |
|
|---|
| 16 | //////////////////////////////////////////////////////////////////////////
|
|---|
| 17 | ${<PROJECT_NAME>}::${<PROJECT_NAME>}(QString name)
|
|---|
| 18 | : ComponentBase(name)
|
|---|
| 19 | {
|
|---|
| 20 | LOG_TRACE("constructor(" << name << ")");
|
|---|
| 21 | }
|
|---|
| 22 |
|
|---|
| 23 | //////////////////////////////////////////////////////////////////////////
|
|---|
| 24 | ${<PROJECT_NAME>}::~${<PROJECT_NAME>}()
|
|---|
| 25 | {
|
|---|
| 26 | LOG_TRACE("destructor");
|
|---|
| 27 | }
|
|---|
| 28 |
|
|---|
| 29 | //////////////////////////////////////////////////////////////////////////
|
|---|
| 30 | void ${<PROJECT_NAME>}::startActivity()
|
|---|
| 31 | {
|
|---|
| 32 | }
|
|---|
| 33 |
|
|---|
| 34 | //////////////////////////////////////////////////////////////////////////
|
|---|
| 35 | void ${<PROJECT_NAME>}::stopActivity()
|
|---|
| 36 | {
|
|---|
| 37 | }
|
|---|
| 38 |
|
|---|
| 39 | //////////////////////////////////////////////////////////////////////////
|
|---|
| 40 | ComponentBase::COMPONENT_CONFIGURATION ${<PROJECT_NAME>}::configureComponent(XmlComponentConfig config)
|
|---|
| 41 | {
|
|---|
| 42 | return ComponentBase::CONFIGURED_OK;
|
|---|
| 43 | }
|
|---|
| 44 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.