Apollo  6.0
Open source self driving car software
Public Member Functions | List of all members
apollo::cyber::service_discovery::RoleWriter Class Reference

#include <role.h>

Inheritance diagram for apollo::cyber::service_discovery::RoleWriter:
Inheritance graph
Collaboration diagram for apollo::cyber::service_discovery::RoleWriter:
Collaboration graph

Public Member Functions

 RoleWriter ()
 
 RoleWriter (const proto::RoleAttributes &attr, uint64_t timestamp_ns=0)
 
virtual ~RoleWriter ()=default
 
bool Match (const proto::RoleAttributes &target_attr) const override
 
- Public Member Functions inherited from apollo::cyber::service_discovery::RoleBase
 RoleBase ()
 
 RoleBase (const proto::RoleAttributes &attr, uint64_t timestamp_ns=0)
 
virtual ~RoleBase ()=default
 
bool IsEarlierThan (const RoleBase &other) const
 
const proto::RoleAttributes & attributes () const
 
void set_attributes (const proto::RoleAttributes &attr)
 
uint64_t timestamp_ns () const
 
void set_timestamp_ns (uint64_t timestamp_ns)
 

Additional Inherited Members

- Protected Attributes inherited from apollo::cyber::service_discovery::RoleBase
proto::RoleAttributes attributes_
 
uint64_t timestamp_ns_
 

Constructor & Destructor Documentation

◆ RoleWriter() [1/2]

apollo::cyber::service_discovery::RoleWriter::RoleWriter ( )
inline

◆ RoleWriter() [2/2]

apollo::cyber::service_discovery::RoleWriter::RoleWriter ( const proto::RoleAttributes &  attr,
uint64_t  timestamp_ns = 0 
)
explicit

◆ ~RoleWriter()

virtual apollo::cyber::service_discovery::RoleWriter::~RoleWriter ( )
virtualdefault

Member Function Documentation

◆ Match()

bool apollo::cyber::service_discovery::RoleWriter::Match ( const proto::RoleAttributes &  target_attr) const
overridevirtual

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