source: pacpussensors/trunk/LMOComponent/LMOComponent.cpp@ 22

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