#include <map>
#include <string>
#include <boost/function.hpp>
#include "modules/v2x/proto/fusion_params.pb.h"
#include "cyber/cyber.h"
#include "modules/v2x/fusion/configs/fusion_tracker_gflags.h"
Go to the source code of this file.
◆ PLUGIN_PARAMS
#define PLUGIN_PARAMS |
( |
|
classname, |
|
|
|
conf_file, |
|
|
|
prototype |
|
) |
| |
Value:class classname { \
public: \
classname() { \
file_path_ = FLAGS_config_path +
"/" + conf_file;
\ } \
prototype params; \
\
private: \
std::string file_path_; \
};
bool SetProtoToASCIIFile(const google::protobuf::Message &message, int file_descriptor)
bool GetProtoFromFile(const std::string &file_name, google::protobuf::Message *message)
Parses the content of the file specified by the file_name as a representation of protobufs, and merges the parsed content to the proto.