Template Class for ignoring. More...
#include "rdm_time_series_dead_end.h"
Public Member Functions |
|
uint8_t * | serialize (uint8_t *buffer) |
uint8_t * | unserialize (uint8_t *buffer) |
RDM_RETCODE | init (RDM_DB) |
Initialize this object. More... |
|
void | reset (void) |
Reset this object. More... |
|
RDM_RETCODE | flush_value (uint32_t=1, RDM::DB::TRANSACTIONAL_T=RDM::DB::NOT_TRANSACTIONAL) |
Flush this object. More... |
|
RDM_RETCODE | flush_stats (uint32_t=1, RDM::DB::TRANSACTIONAL_T=RDM::DB::NOT_TRANSACTIONAL) |
Flush this object. More... |
|
RDM_RETCODE | flush_range (uint32_t=1, RDM::DB::TRANSACTIONAL_T=RDM::DB::NOT_TRANSACTIONAL) |
Flush this object. More... |
|
template<class SOURCE_VALUE_T > | |
RDM_RETCODE | put_value (SOURCE_VALUE_T *, RDM::DB::TRANSACTIONAL_T=RDM::DB::NOT_TRANSACTIONAL) |
Template method for receiving a data value. More... |
|
template<class SOURCE_STATS_T > | |
RDM_RETCODE | put_stats (SOURCE_STATS_T *, RDM::DB::TRANSACTIONAL_T=RDM::DB::NOT_TRANSACTIONAL) |
Template method for receiving statistics. More... |
|
template<class SOURCE_RANGE_T > | |
RDM_RETCODE | put_range (SOURCE_RANGE_T *, RDM::DB::TRANSACTIONAL_T=RDM::DB::NOT_TRANSACTIONAL) |
Template method for receiving ranges. More... |
|
Static Public Member Functions |
|
constexpr static int | get_serialize_size (void) |
Get the size of a buffer for serialization to hold its state. More... |
|
Protected Member Functions |
|
uint32_t | init_tables_to_write_lock (RDM_TABLE_ID *) |
IDs of the tables where rows are inserted. More... |
|
uint32_t | init_tables_to_read_lock (RDM_TABLE_ID *) |
IDs of the tables where rows are read. More... |
|
void | unput (void) |
Undo a previous put operation. More... |
|
void | unflush (void) |
Undo a previous flush operation. More... |
|
Static Protected Member Functions |
|
constexpr static int | number_of_tables_to_write_lock (void) |
Number of tables where rows are inserted. More... |
|
constexpr static int | number_of_tables_to_read_lock (void) |
Number of tables where rows are read. More... |
|
Friends |
|
template<class ANY_NEXT > | |
class | RDM::DB::transaction |
template<class ANY_NEXT_1 , class ANY_NEXT_2 > | |
class | split |
template<uint32_t ANY_N, class ANY_RANGE_T , class ANY_NEXT > | |
class | collect |
template<uint32_t ANY_N, class ANY_RANGE_T , class ANY_INDATA_T , class ANY_NEXT > | |
class | fft |
template<uint32_t ANY_N, class ANY_AGGREGATE_T , class ANY_AGG_ELEMENT_T , class ANY_NEXT > | |
class | mean |
template<class ANY_RATIO , class ANY_NEXT > | |
class | scale |
template<uint32_t ANY_N, class ANY_STATS_T , class ANY_NEXT > | |
class | stats |
template<uint32_t ANY_N, class ANY_NEXT > | |
class | downsample |
template<class ANY_NEXT > | |
class | custom |
Detailed Description
Template Class for ignoring.
Class for ignoring what is received. This class may be at the end of a chain of template classes and is only useful as a temporary replacement for something else to be added later or where certain computations are being profiled without persisting the result.
This class can also be used for user-defined customization similar to custom, except that here we do not have a next class. Where customization is needed, create a subclass and implement the relevant methods there.
- Examples
- time_series_stats.cpp.
Member Function Documentation
flush_range()
|
inline |
flush_stats()
|
inline |
flush_value()
|
inline |
get_serialize_size()
|
inlinestaticconstexpr |
init()
|
inline |
Initialize this object.
Call this method before sending it any data values, ranges, or statistics. If you do not call it, the methods in this class will not complain as they always ignore everything and return sOKAY.
- Return values
-
sOKAY Normal, successful return.
- Examples
- time_series_stats.cpp.
References sOKAY.
init_tables_to_read_lock()
|
inlineprotected |
init_tables_to_write_lock()
|
inlineprotected |
number_of_tables_to_read_lock()
|
inlinestaticconstexprprotected |
number_of_tables_to_write_lock()
|
inlinestaticconstexprprotected |
put_range()
|
inline |
put_stats()
|
inline |
put_value()
|
inline |
reset()
|
inline |
serialize()
|
inline |
unflush()
|
inlineprotected |
unput()
|
inlineprotected |
unserialize()
|
inline |
Friends And Related Function Documentation
collect
|
friend |
custom
|
friend |
downsample
|
friend |
fft
|
friend |
mean
|
friend |
RDM::DB::transaction
|
friend |
scale
|
friend |
split
|
friend |
stats
|
friend |
The documentation for this class was generated from the following file: