root/src/circle.h
| Revision 5, 416 bytes (checked in by nick, 3 years ago) |
|---|
| Line | |
|---|---|
| 1 | #ifndef _CIRCLE_H_ |
| 2 | #define _CIRCLE_H_ |
| 3 | |
| 4 | class Circle |
| 5 | { |
| 6 | public: |
| 7 | virtual int create(unsigned int size) = 0; |
| 8 | |
| 9 | virtual int insert(struct logbits lb) = 0; |
| 10 | |
| 11 | virtual int walk(struct logbits **lb) = 0; |
| 12 | |
| 13 | virtual time_t oldest(void) = 0; |
| 14 | |
| 15 | virtual void updatestats(void) = 0; |
| 16 | |
| 17 | virtual double getreqcount(void) = 0; |
| 18 | virtual double getbytecount(void) = 0; |
| 19 | virtual double getsummary(int r_c) = 0; |
| 20 | }; |
| 21 | |
| 22 | #endif |
| 23 |
Note: See TracBrowser
for help on using the browser.