Last change
on this file was 2, checked in by DHERBOMEZ Gérald, 11 years ago |
correction of minor bugs (include and link). Build on Windows OK.
|
File size:
1.1 KB
|
Line | |
---|
1 | /*********************************************************************
|
---|
2 | // created: 2012/06/24
|
---|
3 | // filename: CanDecoderBase.h
|
---|
4 | //
|
---|
5 | // author: Gerald Dherbomez
|
---|
6 | // Copyright Heudiasyc UMR UTC/CNRS 7253
|
---|
7 | //
|
---|
8 | // version: $Id: $
|
---|
9 | //
|
---|
10 | // purpose: Abstract class to interface with CanGateway.
|
---|
11 | //
|
---|
12 | *********************************************************************/
|
---|
13 |
|
---|
14 | #include "Pacpus/kernel/ComponentManager.h"
|
---|
15 |
|
---|
16 | using namespace pacpus;
|
---|
17 |
|
---|
18 | #include "CanDecoderBase.h"
|
---|
19 |
|
---|
20 | ////////////////////////////////////////////////////////////////////////////////
|
---|
21 | /// Construct the factory
|
---|
22 | //ComponentFactory<CanGateway> sFactory("Can");
|
---|
23 |
|
---|
24 | CanDecoderBase::CanDecoderBase(QString name) : ComponentBase(name)
|
---|
25 | {
|
---|
26 | }
|
---|
27 |
|
---|
28 | CanDecoderBase::~CanDecoderBase()
|
---|
29 | {
|
---|
30 | }
|
---|
31 |
|
---|
32 |
|
---|
33 | void CanDecoderBase::startActivity()
|
---|
34 | {
|
---|
35 | }
|
---|
36 |
|
---|
37 |
|
---|
38 | void CanDecoderBase::stopActivity()
|
---|
39 | {
|
---|
40 | }
|
---|
41 |
|
---|
42 | ComponentBase::COMPONENT_CONFIGURATION CanDecoderBase::configureComponent(XmlComponentConfig config)
|
---|
43 | {
|
---|
44 | //gateway_ = static_cast<CanGateway*> (ComponentManager::create()->getComponent(config.getProperty("canGateway")));
|
---|
45 |
|
---|
46 | return ComponentBase::CONFIGURED_OK;
|
---|
47 | }
|
---|
48 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.