Apollo  6.0
Open source self driving car software
Public Member Functions | List of all members
apollo::cyber::data::DataVisitor< M0, M1, M2, M3 > Class Template Reference

#include <data_visitor.h>

Inheritance diagram for apollo::cyber::data::DataVisitor< M0, M1, M2, M3 >:
Inheritance graph
Collaboration diagram for apollo::cyber::data::DataVisitor< M0, M1, M2, M3 >:
Collaboration graph

Public Member Functions

 DataVisitor (const std::vector< VisitorConfig > &configs)
 
 ~DataVisitor ()
 
bool TryFetch (std::shared_ptr< M0 > &m0, std::shared_ptr< M1 > &m1, std::shared_ptr< M2 > &m2, std::shared_ptr< M3 > &m3)
 
- Public Member Functions inherited from apollo::cyber::data::DataVisitorBase
 DataVisitorBase ()
 
void RegisterNotifyCallback (std::function< void()> &&callback)
 

Additional Inherited Members

- Protected Member Functions inherited from apollo::cyber::data::DataVisitorBase
 DataVisitorBase (const DataVisitorBase &)=delete
 
DataVisitorBaseoperator= (const DataVisitorBase &)=delete
 
- Protected Attributes inherited from apollo::cyber::data::DataVisitorBase
uint64_t next_msg_index_ = 0
 
DataNotifierdata_notifier_ = DataNotifier::Instance()
 
std::shared_ptr< Notifiernotifier_
 

Constructor & Destructor Documentation

◆ DataVisitor()

template<typename M0 , typename M1 = NullType, typename M2 = NullType, typename M3 = NullType>
apollo::cyber::data::DataVisitor< M0, M1, M2, M3 >::DataVisitor ( const std::vector< VisitorConfig > &  configs)
inlineexplicit

◆ ~DataVisitor()

template<typename M0 , typename M1 = NullType, typename M2 = NullType, typename M3 = NullType>
apollo::cyber::data::DataVisitor< M0, M1, M2, M3 >::~DataVisitor ( )
inline

Member Function Documentation

◆ TryFetch()

template<typename M0 , typename M1 = NullType, typename M2 = NullType, typename M3 = NullType>
bool apollo::cyber::data::DataVisitor< M0, M1, M2, M3 >::TryFetch ( std::shared_ptr< M0 > &  m0,
std::shared_ptr< M1 > &  m1,
std::shared_ptr< M2 > &  m2,
std::shared_ptr< M3 > &  m3 
)
inline

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