/********************************************************************* // created: 2012/06/24 // filename: CanDecoderBase.h // // author: Gerald Dherbomez // Copyright Heudiasyc UMR UTC/CNRS 7253 // // version: $Id: $ // // purpose: Abstract class to interface with CanGateway. // *********************************************************************/ #include "Pacpus/kernel/ComponentManager.h" using namespace pacpus; #include "CanDecoderBase.h" //////////////////////////////////////////////////////////////////////////////// /// Construct the factory //ComponentFactory sFactory("Can"); CanDecoderBase::CanDecoderBase(QString name) : ComponentBase(name) { } CanDecoderBase::~CanDecoderBase() { } void CanDecoderBase::startActivity() { } void CanDecoderBase::stopActivity() { } ComponentBase::COMPONENT_CONFIGURATION CanDecoderBase::configureComponent(XmlComponentConfig config) { //gateway_ = static_cast (ComponentManager::create()->getComponent(config.getProperty("canGateway"))); return ComponentBase::CONFIGURED_OK; }