svcore
1.9
|
Maintain a min and max value, and update them when supplied a new data point. More...
#include <Extents.h>
Public Member Functions | |
Extents () | |
Extents (T min, T max) | |
bool | operator== (const Extents &r) |
bool | operator!= (const Extents &r) |
bool | isSet () const |
void | set (T min, T max) |
void | reset () |
bool | sample (T f) |
template<typename Alloc > | |
bool | sample (const std::vector< T, Alloc > &ff) |
bool | sample (const Extents &r) |
T | getMin () const |
T | getMax () const |
Private Attributes | |
T | m_min |
T | m_max |
Detailed Description
template<typename T>
class Extents< T >
Maintain a min and max value, and update them when supplied a new data point.
Constructor & Destructor Documentation
Member Function Documentation
|
inline |
Definition at line 38 of file Extents.h.
Referenced by DeferredNotifier::makeDeferredNotifications(), and Extents< sv_frame_t >::sample().
|
inline |
|
inline |
Definition at line 46 of file Extents.h.
Referenced by DeferredNotifier::makeDeferredNotifications().
|
inline |
Definition at line 51 of file Extents.h.
Referenced by Extents< sv_frame_t >::sample(), and DeferredNotifier::update().
|
inline |
|
inline |
Definition at line 85 of file Extents.h.
Referenced by DeferredNotifier::makeDeferredNotifications().
|
inline |
Definition at line 86 of file Extents.h.
Referenced by DeferredNotifier::makeDeferredNotifications().
Member Data Documentation
|
private |
Definition at line 89 of file Extents.h.
Referenced by Extents< sv_frame_t >::getMin(), Extents< sv_frame_t >::isSet(), Extents< sv_frame_t >::operator==(), Extents< sv_frame_t >::reset(), Extents< sv_frame_t >::sample(), and Extents< sv_frame_t >::set().
|
private |
Definition at line 90 of file Extents.h.
Referenced by Extents< sv_frame_t >::getMax(), Extents< sv_frame_t >::isSet(), Extents< sv_frame_t >::operator==(), Extents< sv_frame_t >::reset(), Extents< sv_frame_t >::sample(), and Extents< sv_frame_t >::set().
The documentation for this class was generated from the following file:
Generated by 1.8.11