Apollo 10.0
自动驾驶开放平台
|
#include <role.h>
Public 成员函数 | |
RoleBase () | |
RoleBase (const proto::RoleAttributes &attr, uint64_t timestamp_ns=0) | |
virtual | ~RoleBase ()=default |
virtual bool | Match (const proto::RoleAttributes &target_attr) const |
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) |
Protected 属性 | |
proto::RoleAttributes | attributes_ |
uint64_t | timestamp_ns_ |
apollo::cyber::service_discovery::RoleBase::RoleBase | ( | ) |
|
explicit |
|
virtualdefault |
|
inline |
bool apollo::cyber::service_discovery::RoleBase::IsEarlierThan | ( | const RoleBase & | other | ) | const |
|
virtual |
被 apollo::cyber::service_discovery::RoleWriter , 以及 apollo::cyber::service_discovery::RoleServer 重载.
|
inline |
|
inline |
|
inline |
|
protected |