Parameter parsing helpers. More...
#include <list>#include <memory>#include <string>#include <unordered_map>#include <libavformat/avformat.h>#include <cras_cpp_common/expected.hpp>#include <movie_publisher/types.h>#include <xmlrpcpp/XmlRpcValue.h>
Go to the source code of this file.
Namespaces | |
| movie_publisher | |
Functions | |
| cras::expected< std::string, std::string > | movie_publisher::avPixFmtToRosEncoding (const AVPixelFormat &libavPixelFormat) |
| Map Libav pixel formats to ROS image encodings. More... | |
| template<typename T > | |
| T | movie_publisher::parseTimeParam (const XmlRpc::XmlRpcValue ¶m) |
| Parse time or duration in several formats. More... | |
| bool | movie_publisher::parseTimestampOffset (const std::unordered_map< std::string, double > &extraVars, const XmlRpc::XmlRpcValue ¶m, double &value, bool skipNonConvertible, std::list< std::string > *errors) |
| Parse the given timestamp offset. More... | |
| TimestampSource | movie_publisher::parseTimestampSource (const std::string ¶m) |
| Parse TimestampSource from text. More... | |
| cras::expected< AVPixelFormat, std::string > | movie_publisher::rosEncodingToAvPixFmt (const std::string &rosEncoding) |
| Map ROS image encodings to Libav pixel formats. More... | |
| std::string | movie_publisher::timestampSourceToStr (const TimestampSource &source) |
| Convert the given TimestampSource to text. More... | |
Parameter parsing helpers.
Definition in file parsing_utils.h.