Changeset 73 for trunk/lib/Stats.h


Ignore:
Timestamp:
Mar 4, 2006, 7:10:07 PM (17 years ago)
Author:
Jari Häkkinen
Message:

Divided Gnuplot class into a basic gnuplot communication class
and a front end class specialized for svnstat.
Added option to plot stats against time or revision.
Removed gnuplot usage of temporary files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Stats.h

    r72 r73  
    1212namespace theplu{
    1313namespace svnstat{
    14 
    15   class Gnuplot;
    1614
    1715  ///
     
    4745    Stats& operator+=(const Stats&);
    4846
    49     ///
    50     /// Jari, this is public. Naughty!
    51     ///
    52     /// @todo Make this non-public. The issues that gnuplot is started
    53     /// in cwd, but the main program makes a 'chdir' to another, and
    54     /// we cannot get gnuplot to change directory if it is
    55     /// private. Some redesign is needed.
    56     ///
    57     static Gnuplot gnuplot_pipe_;
    58 
    5947  private:
    6048    ///
     
    8068    std::string plot(const std::string&) const;
    8169
    82     static u_int latest_revision_; // latest rev. for whole project
     70    static u_int latest_revision_; // latest revision for whole project
    8371
    8472    // Peter, if the vector is sparse make it a map
Note: See TracChangeset for help on using the changeset viewer.