Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > 8c86774a3e53d77cc119f53a2b94a57a > files > 351

root-tutorial-5.34.14-2.fc18.noarch.rpm

#ifndef ROOT_HsimpleDemo
#define ROOT_HsimpleDemo

#include <memory>

#include "DemoBase.h"

class TH1F;

namespace ROOT {
namespace iOS {
namespace Demos {

class HsimpleDemo : public DemoBase {
public:
   HsimpleDemo();
   ~HsimpleDemo();
   
   //Overriders.
   void ResetDemo();
   bool IsAnimated() const;
   
   unsigned NumOfFrames() const;
   double AnimationTime() const;

   void StartAnimation();
   void NextStep();
   void StopAnimation();

   void AdjustPad(Pad *pad);

   void PresentDemo();
   
   bool Supports3DRotation() const {return false;}

private:
   std::unique_ptr<TH1F> fHist;
   
   HsimpleDemo(const HsimpleDemo &rhs) = delete;
   HsimpleDemo &operator = (const HsimpleDemo &rhs) = delete;
};

}
}
}

#endif