FlightHistory: make clear() public
This commit is contained in:
parent
c9c0833741
commit
68c9adb489
1 changed files with 8 additions and 2 deletions
|
@ -57,6 +57,13 @@ public:
|
||||||
* the specified minimum length
|
* the specified minimum length
|
||||||
*/
|
*/
|
||||||
SGGeodVec pathForHistory(double minEdgeLengthM = 50.0) const;
|
SGGeodVec pathForHistory(double minEdgeLengthM = 50.0) const;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* clear the history
|
||||||
|
*/
|
||||||
|
|
||||||
|
void clear();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
/**
|
/**
|
||||||
* @class A single data sample in the history system.
|
* @class A single data sample in the history system.
|
||||||
|
@ -103,10 +110,9 @@ private:
|
||||||
|
|
||||||
void allocateNewBucket();
|
void allocateNewBucket();
|
||||||
|
|
||||||
void clear();
|
|
||||||
void capture();
|
void capture();
|
||||||
|
|
||||||
size_t currentMemoryUseBytes() const;
|
size_t currentMemoryUseBytes() const;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue