Public Member Functions | Private Attributes | List of all members
mcl_3dl::CloudAccumulationLogic Class Reference

#include <cloud_accum.h>

Inheritance diagram for mcl_3dl::CloudAccumulationLogic:
Inheritance graph
[legend]

Public Member Functions

 CloudAccumulationLogic (const size_t accum, const size_t accum_max)
 
void push (const std::string &key, const sensor_msgs::PointCloud2::ConstPtr &msg, std::function< void()> process, std::function< bool(const sensor_msgs::PointCloud2::ConstPtr &)> accumulate, std::function< void()> clear) final
 
void reset () final
 

Private Attributes

size_t accum_
 
size_t accum_max_
 
size_t cnt_accum_
 
std::vector< std::string > keys_
 

Additional Inherited Members

- Public Types inherited from mcl_3dl::CloudAccumulationLogicBase
using Ptr = std::shared_ptr< CloudAccumulationLogicBase >
 

Detailed Description

Definition at line 72 of file cloud_accum.h.

Constructor & Destructor Documentation

mcl_3dl::CloudAccumulationLogic::CloudAccumulationLogic ( const size_t  accum,
const size_t  accum_max 
)
inline

Definition at line 75 of file cloud_accum.h.

Member Function Documentation

void mcl_3dl::CloudAccumulationLogic::push ( const std::string &  key,
const sensor_msgs::PointCloud2::ConstPtr &  msg,
std::function< void()>  process,
std::function< bool(const sensor_msgs::PointCloud2::ConstPtr &)>  accumulate,
std::function< void()>  clear 
)
finalvirtual

Implements mcl_3dl::CloudAccumulationLogicBase.

Definition at line 53 of file cloud_accum.cpp.

void mcl_3dl::CloudAccumulationLogic::reset ( )
finalvirtual

Implements mcl_3dl::CloudAccumulationLogicBase.

Definition at line 121 of file cloud_accum.cpp.

Member Data Documentation

size_t mcl_3dl::CloudAccumulationLogic::accum_
private

Definition at line 94 of file cloud_accum.h.

size_t mcl_3dl::CloudAccumulationLogic::accum_max_
private

Definition at line 95 of file cloud_accum.h.

size_t mcl_3dl::CloudAccumulationLogic::cnt_accum_
private

Definition at line 96 of file cloud_accum.h.

std::vector<std::string> mcl_3dl::CloudAccumulationLogic::keys_
private

Definition at line 97 of file cloud_accum.h.


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


mcl_3dl
Author(s): Atsushi Watanabe
autogenerated on Wed May 12 2021 02:16:29