diff trunk/src/Modules/Strobes/ModuleParabola.h @ 280:e55d0c225a57

- Lots of changes to make cpplint happy. It still complains about header guards, but that's pretty much it now.
author tomwalters
date Thu, 18 Feb 2010 21:12:41 +0000
parents f469d936337f
children 41ea31faf90c
line wrap: on
line diff
--- a/trunk/src/Modules/Strobes/ModuleParabola.h	Thu Feb 18 20:04:04 2010 +0000
+++ b/trunk/src/Modules/Strobes/ModuleParabola.h	Thu Feb 18 21:12:41 2010 +0000
@@ -42,10 +42,10 @@
 using std::vector;
 class ModuleParabola : public Module {
  public:
-  ModuleParabola(Parameters *params);
+  explicit ModuleParabola(Parameters *params);
   virtual ~ModuleParabola();
   void Process(const SignalBank& input);
-private:
+ private:
   /*! \brief Prepare the module
    *  \param input Input signal bank
    *  \param output true on success false on failure
@@ -55,7 +55,9 @@
   virtual void ResetInternal();
 
 
-  //! \brief Number of samples over which the strobe should be decayed to zero
+  /*! \brief Number of samples over which the strobe should be decayed to
+   *  zero
+   */
   int strobe_decay_samples_;
 
   /*! \brief Current strobe thresholds, one for each bank channel.
@@ -70,25 +72,32 @@
    */
   vector<float> last_threshold_;
 
-  //! \brief Parabola height parameter
+  /*! \brief Parabola height parameter
+   */
   float height_;
 
-  //! \brief Parabola width paramters
+  /*! \brief Parabola width paramters
+   */
   float parabw_;
 
-  //! \brief Parabola a value
+  /*! \brief Parabola a value
+   */
   vector<float> parab_a_;
 
-  //! \brief Parabola b value
+  /*! \brief Parabola b value
+   */
   vector<float> parab_b_;
 
-  //! \brief Parabola calculation variable
+  /*! \brief Parabola calculation variable
+   */
   vector<float> parab_wnull_;
 
-  //! \brief Parabola calculation variable
+  /*! \brief Parabola calculation variable
+   */
   vector<int> parab_var_samples_;
 
-  //! \brief Storage for the number of samples since the last strobe
+  /*! \brief Storage for the number of samples since the last strobe
+   */
   vector<int> samples_since_last_strobe_;
 
   vector<float> prev_sample_;