Goby3
3.1.5a
2024.05.23
|
#include <goby/acomms/queue/queue.h>
Public Member Functions | |
Queue (const google::protobuf::Descriptor *desc, QueueManager *parent, protobuf::QueuedMessageEntry cfg=protobuf::QueuedMessageEntry()) | |
bool | push_message (const std::shared_ptr< google::protobuf::Message > &dccl_msg) |
bool | push_message (const std::shared_ptr< google::protobuf::Message > &dccl_msg, protobuf::QueuedMessageMeta meta) |
protobuf::QueuedMessageMeta | meta_from_msg (const google::protobuf::Message &dccl_msg) |
boost::any | find_queue_field (const std::string &field_name, const google::protobuf::Message &msg) |
goby::acomms::QueuedMessage | give_data (unsigned frame) |
bool | pop_message (unsigned frame) |
bool | pop_message_ack (unsigned frame, std::shared_ptr< google::protobuf::Message > &removed_msg) |
void | stream_for_pop (const QueuedMessage &queued_msg) |
std::vector< std::shared_ptr< google::protobuf::Message > > | expire () |
bool | get_priority_values (double *priority, boost::posix_time::ptime *last_send_time, const protobuf::ModemTransmission &request_msg, const std::string &data) |
bool | clear_ack_queue (unsigned start_frame) |
void | flush () |
size_t | size () const |
boost::posix_time::ptime | last_send_time () const |
boost::posix_time::ptime | newest_msg_time () const |
void | info (std::ostream *os) const |
std::string | name () const |
void | set_cfg (const protobuf::QueuedMessageEntry &cfg) |
void | process_cfg () |
const protobuf::QueuedMessageEntry & | queue_message_options () |
const google::protobuf::Descriptor * | descriptor () const |
int | id () |
goby::acomms::Queue::Queue | ( | const google::protobuf::Descriptor * | desc, |
QueueManager * | parent, | ||
protobuf::QueuedMessageEntry | cfg = protobuf::QueuedMessageEntry() |
||
) |
bool goby::acomms::Queue::clear_ack_queue | ( | unsigned | start_frame | ) |
|
inline |
std::vector<std::shared_ptr<google::protobuf::Message> > goby::acomms::Queue::expire | ( | ) |
boost::any goby::acomms::Queue::find_queue_field | ( | const std::string & | field_name, |
const google::protobuf::Message & | msg | ||
) |
void goby::acomms::Queue::flush | ( | ) |
bool goby::acomms::Queue::get_priority_values | ( | double * | priority, |
boost::posix_time::ptime * | last_send_time, | ||
const protobuf::ModemTransmission & | request_msg, | ||
const std::string & | data | ||
) |
goby::acomms::QueuedMessage goby::acomms::Queue::give_data | ( | unsigned | frame | ) |
void goby::acomms::Queue::info | ( | std::ostream * | os | ) | const |
|
inline |
protobuf::QueuedMessageMeta goby::acomms::Queue::meta_from_msg | ( | const google::protobuf::Message & | dccl_msg | ) |
|
inline |
bool goby::acomms::Queue::pop_message | ( | unsigned | frame | ) |
bool goby::acomms::Queue::pop_message_ack | ( | unsigned | frame, |
std::shared_ptr< google::protobuf::Message > & | removed_msg | ||
) |
void goby::acomms::Queue::process_cfg | ( | ) |
bool goby::acomms::Queue::push_message | ( | const std::shared_ptr< google::protobuf::Message > & | dccl_msg | ) |
bool goby::acomms::Queue::push_message | ( | const std::shared_ptr< google::protobuf::Message > & | dccl_msg, |
protobuf::QueuedMessageMeta | meta | ||
) |
|
inline |
|
inline |
void goby::acomms::Queue::stream_for_pop | ( | const QueuedMessage & | queued_msg | ) |