//
//  Copyright (c) 1999, 2015, 2016, 2018
//  Initial port performed by Greg Onufer (exodus@cheers.bungi.com)
//
//  This file may be distributed under terms of the GPL
//

#ifndef MeterMaker_h
#define MeterMaker_h

#include "cmetermaker.h"

// So we don't have to bring the .h
class ResDB;
struct kstat_ctl;
typedef struct kstat_ctl kstat_ctl_t;



class MeterMaker : public ComMeterMaker {
public:
    mlist makeMeters(const ResDB &rdb);

private:
    void cpuFactory(const ResDB &rdb, kstat_ctl_t *kc, mlist &meters) const;
};


#endif
