Go to the documentation of this file.
25 #ifndef GOBY_MOOS_TRANSITIONAL_MESSAGE_PUBLISH_H
26 #define GOBY_MOOS_TRANSITIONAL_MESSAGE_PUBLISH_H
34 #include <boost/format.hpp>
45 namespace transitional
62 format_ = std::move(
format);
68 void add_name(
const std::string& name) { names_.push_back(name); }
69 void add_message_var(
const std::shared_ptr<DCCLMessageVar>& mv) { message_vars_.push_back(mv); }
76 std::string
var()
const {
return var_; }
77 std::string
format()
const {
return format_; }
82 std::vector<std::shared_ptr<DCCLMessageVar> >
const&
message_vars()
const
87 std::vector<std::string>
const&
names()
const {
return names_; }
88 std::vector<std::vector<std::string> >
const&
algorithms()
const {
return algorithms_; }
95 bool format_set_{
false};
96 bool use_all_names_{
false};
98 std::vector<std::string> names_;
99 std::vector<std::shared_ptr<DCCLMessageVar> > message_vars_;
100 std::vector<std::vector<std::string> > algorithms_;
101 DCCLAlgorithmPerformer* ap_;
The global namespace for the Goby project.
std::string format() const
void set_format(std::string format)
void set_type(DCCLCppType type)
void add_algorithms(const std::vector< std::string > &algorithms)
std::vector< std::vector< std::string > > const & algorithms() const
void initialize(const DCCLMessage &msg)
std::vector< std::string > const & names() const
void set_var(std::string var)
void add_name(const std::string &name)
extern ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::MessageOptions, ::google::protobuf::internal::MessageTypeTraits< ::goby::GobyMessageOptions >, 11, false > msg
void add_message_var(const std::shared_ptr< DCCLMessageVar > &mv)
void set_use_all_names(bool use_all_names)
DCCLCppType
Enumeration of C++ types used in DCCL.
bool use_all_names() const
std::vector< std::shared_ptr< DCCLMessageVar > > const & message_vars() const