Changeset 193 in pacpusframework
- Timestamp:
- Oct 24, 2013, 3:53:36 PM (11 years ago)
- Location:
- trunk/src/_NewComponent
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/_NewComponent/NewComponent.cpp.in
r192 r193 32 32 } 33 33 34 //////////////////////////////////////////////////////////////////////////35 34 @PACPUS_COMPONENT_NAME@::~@PACPUS_COMPONENT_NAME@() 36 35 { 37 36 LOG_TRACE("destructor"); 37 } 38 39 ////////////////////////////////////////////////////////////////////////// 40 void @PACPUS_COMPONENT_NAME@::addInputs() 41 { 42 //addInput<InputType, @PACPUS_COMPONENT_NAME@>("input-name", &@PACPUS_COMPONENT_NAME@::processInput); 43 } 44 45 void @PACPUS_COMPONENT_NAME@::addOutputs() 46 { 47 //addOutput<OutputType, @PACPUS_COMPONENT_NAME@>("output-name"); 38 48 } 39 49 … … 43 53 } 44 54 45 //////////////////////////////////////////////////////////////////////////46 55 void @PACPUS_COMPONENT_NAME@::stopActivity() 47 56 { -
trunk/src/_NewComponent/NewComponent.h.in
r192 r193 35 35 36 36 /// Starts the component 37 virtual void startActivity() ;37 virtual void startActivity() /* override */; 38 38 /// Stops the component 39 virtual void stopActivity() ;39 virtual void stopActivity() /* override */; 40 40 /// Configures components 41 virtual ComponentBase::COMPONENT_CONFIGURATION configureComponent(XmlComponentConfig config) ;41 virtual ComponentBase::COMPONENT_CONFIGURATION configureComponent(XmlComponentConfig config) /* override */; 42 42 43 43 //public Q_SLOTS: 44 44 protected: 45 /// Adds component inputs 46 virtual void addInputs() /* override */; 47 /// Adds component outputs 48 virtual void addOutputs() /* override */; 49 50 private: 51 //void processInput(const InputType & input); 52 45 53 private: 46 54 };
Note:
See TracChangeset
for help on using the changeset viewer.