Changeset 61 in pacpusframework for trunk/include/Pacpus/kernel/ComponentBase.h


Ignore:
Timestamp:
Jan 9, 2013, 1:40:39 PM (12 years ago)
Author:
Marek Kurdej
Message:

Added: some documentation and doc todo comments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/Pacpus/kernel/ComponentBase.h

    r42 r61  
    9090     */
    9191    virtual COMPONENT_CONFIGURATION configureComponent(XmlComponentConfig config) = 0;
    92 
    93     // The XML node that is got in the configureComponent method
     92   
     93protected:
     94    /// The XML node that is got in the configureComponent method
    9495    XmlComponentConfig param;
    9596
    96     // the name of the component. It is this one in the XML config file
     97    /// the name of the component. It is this one in the XML config file
    9798    QString componentName;
    9899
    99     // is the component is recording data?
     100    /// is the component is recording data?
    100101    bool recording;
    101102
    102     // provided for compatibility with old DBITE framework
     103    /// provided for compatibility with old DBITE framework
    103104    bool THREAD_ALIVE;
    104105
    105     // is the component active?
     106    /// is the component active?
    106107    bool mIsActive;
    107108
    108     // a pointer to the manager of components
     109    /// a pointer to the manager of components
    109110    ComponentManager * mgr;
    110111
    111112private:
    112     // called by the ComponentManager to start the component
     113    /// called by the ComponentManager to start the component
    113114    int startComponent();
    114115
    115     // called by the ComponentManager to stop the component
     116    /// called by the ComponentManager to stop the component
    116117    int stopComponent();
    117118
    118     // store the state of the component
     119    /// store the state of the component
    119120    COMPONENT_STATE componentState_;
    120121
    121     // is the component configured (ie configureComponent method was called)
     122    /// is the component configured (ie configureComponent method was called)
    122123    COMPONENT_CONFIGURATION configuration_;
    123124};
Note: See TracChangeset for help on using the changeset viewer.