SOLA
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
daisi::path_planning::consensus::ConsensusBase< T, DataContainer > Class Template Reference

CRTP base class for a consensus algorithm. More...

#include <consensus_base.h>

Public Member Functions

 ConsensusBase (std::shared_ptr< DataContainer > container)
 
void findConsensus (const PointTimePairs &points, double seconds_earliest_start, std::function< void(uint32_t id, double start_time)> success_cb, std::function< void(uint32_t id)> fail_cb)
 
void recvTopicMessage (const std::string &topic, const std::string &msg)
 

Protected Attributes

std::shared_ptr< DataContainer > container_
 

Detailed Description

template<typename T, typename DataContainer>
class daisi::path_planning::consensus::ConsensusBase< T, DataContainer >

CRTP base class for a consensus algorithm.

Member Data Documentation

◆ container_

template<typename T , typename DataContainer >
std::shared_ptr<DataContainer> daisi::path_planning::consensus::ConsensusBase< T, DataContainer >::container_
protected

Data container which contains data that is needed in multiple consensus algorithm classes


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