| 1 | // *********************************************************************
|
|---|
| 2 | //
|
|---|
| 3 | // created: 2015/09/18
|
|---|
| 4 | // filename: ComponentTemplate.cpp
|
|---|
| 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 source file
|
|---|
| 14 | //
|
|---|
| 15 | // *********************************************************************
|
|---|
| 16 |
|
|---|
| 17 | #include "Pacpus/kernel/ComponentFactory.h"
|
|---|
| 18 | #include "Pacpus/kernel/DbiteFileTypes.h"
|
|---|
| 19 |
|
|---|
| 20 | #include "ComponentTemplate.h"
|
|---|
| 21 |
|
|---|
| 22 | using namespace pacpus;
|
|---|
| 23 |
|
|---|
| 24 |
|
|---|
| 25 | ////////////////////////////////////////////////////////////////////////////////
|
|---|
| 26 | /// Construct the factory
|
|---|
| 27 | ComponentFactory<ComponentTemplate> sFactory("ComponentTemplate");
|
|---|
| 28 |
|
|---|
| 29 |
|
|---|
| 30 |
|
|---|
| 31 | /************************************************************************/
|
|---|
| 32 | /* Constructor
|
|---|
| 33 | /************************************************************************/
|
|---|
| 34 | ComponentTemplate::ComponentTemplate(QString name)
|
|---|
| 35 | : ComponentBase(name)
|
|---|
| 36 | {
|
|---|
| 37 |
|
|---|
| 38 | }
|
|---|
| 39 |
|
|---|
| 40 |
|
|---|
| 41 | /************************************************************************/
|
|---|
| 42 | /* Destructor
|
|---|
| 43 | /************************************************************************/
|
|---|
| 44 | ComponentTemplate::~ComponentTemplate()
|
|---|
| 45 | {
|
|---|
| 46 | }
|
|---|
| 47 |
|
|---|
| 48 | /************************************************************************/
|
|---|
| 49 | /* Start function
|
|---|
| 50 | /************************************************************************/
|
|---|
| 51 | void ComponentTemplate::startActivity()
|
|---|
| 52 | {
|
|---|
| 53 |
|
|---|
| 54 | }
|
|---|
| 55 |
|
|---|
| 56 |
|
|---|
| 57 |
|
|---|
| 58 | /************************************************************************/
|
|---|
| 59 | /* Stop function
|
|---|
| 60 | /************************************************************************/
|
|---|
| 61 | void ComponentTemplate::stopActivity()
|
|---|
| 62 | {
|
|---|
| 63 |
|
|---|
| 64 | }
|
|---|
| 65 |
|
|---|
| 66 |
|
|---|
| 67 |
|
|---|
| 68 | /************************************************************************/
|
|---|
| 69 | /* Configuration of the component
|
|---|
| 70 | /************************************************************************/
|
|---|
| 71 | ComponentBase::COMPONENT_CONFIGURATION ComponentTemplate::configureComponent(XmlComponentConfig config)
|
|---|
| 72 | {
|
|---|
| 73 |
|
|---|
| 74 | return ComponentBase::CONFIGURED_OK;
|
|---|
| 75 | }
|
|---|
| 76 |
|
|---|