Public Member Functions | Private Attributes | List of all members
cartographer::common::FixedRatioSampler Class Reference

#include <fixed_ratio_sampler.h>

Public Member Functions

string DebugString ()
 
 FixedRatioSampler (double ratio)
 
 FixedRatioSampler (const FixedRatioSampler &)=delete
 
FixedRatioSampleroperator= (const FixedRatioSampler &)=delete
 
bool Pulse ()
 
 ~FixedRatioSampler ()
 

Private Attributes

int64 num_pulses_ = 0
 
int64 num_samples_ = 0
 
const double ratio_
 

Detailed Description

Definition at line 29 of file fixed_ratio_sampler.h.

Constructor & Destructor Documentation

cartographer::common::FixedRatioSampler::FixedRatioSampler ( double  ratio)
explicit

Definition at line 22 of file fixed_ratio_sampler.cc.

cartographer::common::FixedRatioSampler::~FixedRatioSampler ( )

Definition at line 24 of file fixed_ratio_sampler.cc.

cartographer::common::FixedRatioSampler::FixedRatioSampler ( const FixedRatioSampler )
delete

Member Function Documentation

string cartographer::common::FixedRatioSampler::DebugString ( )

Definition at line 35 of file fixed_ratio_sampler.cc.

FixedRatioSampler& cartographer::common::FixedRatioSampler::operator= ( const FixedRatioSampler )
delete
bool cartographer::common::FixedRatioSampler::Pulse ( )

Definition at line 26 of file fixed_ratio_sampler.cc.

Member Data Documentation

int64 cartographer::common::FixedRatioSampler::num_pulses_ = 0
private

Definition at line 48 of file fixed_ratio_sampler.h.

int64 cartographer::common::FixedRatioSampler::num_samples_ = 0
private

Definition at line 49 of file fixed_ratio_sampler.h.

const double cartographer::common::FixedRatioSampler::ratio_
private

Definition at line 46 of file fixed_ratio_sampler.h.


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


cartographer
Author(s):
autogenerated on Mon Jun 10 2019 12:51:39