CatapultServer  v0.5.0.1 (Elephant)
catapult::timesync::filters::AggregateSynchronizationFilter Class Reference

Aggregate synchronization filter. More...

Public Member Functions

 AggregateSynchronizationFilter (const std::vector< SynchronizationFilter > &filters)
 Creates an aggregate synchronization filter around filters. More...
 
size_t size () const
 Gets the number of filters. More...
 
void operator() (TimeSynchronizationSamples &samples, NodeAge nodeAge)
 Filters samples according to nodeAge. More...
 

Private Attributes

std::vector< SynchronizationFilterm_filters
 

Detailed Description

Aggregate synchronization filter.

Constructor & Destructor Documentation

◆ AggregateSynchronizationFilter()

catapult::timesync::filters::AggregateSynchronizationFilter::AggregateSynchronizationFilter ( const std::vector< SynchronizationFilter > &  filters)
explicit

Creates an aggregate synchronization filter around filters.

Member Function Documentation

◆ operator()()

void catapult::timesync::filters::AggregateSynchronizationFilter::operator() ( TimeSynchronizationSamples samples,
NodeAge  nodeAge 
)

Filters samples according to nodeAge.

Here is the call graph for this function:

◆ size()

size_t catapult::timesync::filters::AggregateSynchronizationFilter::size ( ) const

Gets the number of filters.

Member Data Documentation

◆ m_filters

std::vector<SynchronizationFilter> catapult::timesync::filters::AggregateSynchronizationFilter::m_filters
private

The documentation for this class was generated from the following files: