// %pacpus:license{ // This file is part of the PACPUS framework distributed under the // CECILL-C License, Version 1.0. // %pacpus:license} /// @file /// @date created @CURRENT_DATETIME@ /// @author @USERNAME@ /// @copyright Copyright (c) UTC/CNRS Heudiasyc 2006 - 2013. All rights reserved. /// @version $Id: $ /// /// @todo Brief description of @PACPUS_COMPONENT_NAME@.h. /// /// @todo Detailed description of @PACPUS_COMPONENT_NAME@.h. #ifndef @PACPUS_COMPONENT_NAME_CAPS@_H #define @PACPUS_COMPONENT_NAME_CAPS@_H #include "@PACPUS_COMPONENT_NAME@Config.h" #include #include #include namespace pacpus { class @PACPUS_COMPONENT_NAME_CAPS@_API @PACPUS_COMPONENT_NAME@ : public QObject , public ComponentBase // must be after QObject { Q_OBJECT public: @PACPUS_COMPONENT_NAME@(QString name); ~@PACPUS_COMPONENT_NAME@(); /// Starts the component virtual void startActivity() /* override */; /// Stops the component virtual void stopActivity() /* override */; /// Configures components virtual ComponentBase::COMPONENT_CONFIGURATION configureComponent(XmlComponentConfig config) /* override */; //public Q_SLOTS: protected: /// Adds component inputs virtual void addInputs() /* override */; /// Adds component outputs virtual void addOutputs() /* override */; private: //void processInput(InputType const& input); private: class Impl; boost::scoped_ptr mImpl; }; } // namespace pacpus #endif // @PACPUS_COMPONENT_NAME_CAPS@_H