17 #ifndef CYBER_TRANSPORT_MESSAGE_MESSAGE_INFO_H_ 18 #define CYBER_TRANSPORT_MESSAGE_MESSAGE_INFO_H_ 55 uint64_t
seq_num()
const {
return seq_num_; }
65 uint64_t channel_id_ = 0;
66 uint64_t seq_num_ = 0;
74 #endif // CYBER_TRANSPORT_MESSAGE_MESSAGE_INFO_H_ bool operator==(const MessageInfo &another) const
void set_sender_id(const Identity &sender_id)
Definition: message_info.h:50
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
bool DeserializeFrom(const std::string &src)
bool operator!=(const MessageInfo &another) const
void set_spare_id(const Identity &spare_id)
Definition: message_info.h:59
void set_seq_num(uint64_t seq_num)
Definition: message_info.h:56
Definition: identity.h:30
void set_channel_id(uint64_t channel_id)
Definition: message_info.h:53
uint64_t seq_num() const
Definition: message_info.h:55
const Identity & sender_id() const
Definition: message_info.h:49
uint64_t channel_id() const
Definition: message_info.h:52
static const std::size_t kSize
Definition: message_info.h:61
Definition: message_info.h:30
bool SerializeTo(std::string *dst) const
MessageInfo & operator=(const MessageInfo &another)
const Identity & spare_id() const
Definition: message_info.h:58