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

#include <role.h>

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

Public Member Functions

 RoleServer ()
 
 RoleServer (const proto::RoleAttributes &attr, uint64_t timestamp_ns=0)
 
virtual ~RoleServer ()=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

◆ RoleServer() [1/2]

apollo::cyber::service_discovery::RoleServer::RoleServer ( )
inline

◆ RoleServer() [2/2]

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

◆ ~RoleServer()

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

Member Function Documentation

◆ Match()

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

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