Introduce Specification class

.. used to create a 'specification' against which we match
   a rideitem when plotting etc.

.. so rather than passing an array/vector/list of data when
   calling a plot, we pass the 'specification' to use instead.

.. the plots themselves should now iterate across the shared
   ride cache only plotting the items that pass the specification.

.. this should reduce memory usage and increase performance.
This commit is contained in:
Mark Liversedge
2014-12-17 10:57:57 +00:00
parent 56fd645277
commit b737dcbebd
5 changed files with 130 additions and 35 deletions

View File

@@ -19,6 +19,7 @@
#include "DataFilter.h"
#include "Context.h"
#include "Athlete.h"
#include "RideItem.h"
#include "RideNavigator.h"
#include "RideFileCache.h"
#include <QDebug>