26#ifndef _COMM_DRV_FILE_H
27#define _COMM_DRV_FILE_H
34#include "comm_driver.h"
49 bool SendMessage(std::shared_ptr<const NavMsg> msg,
50 std::shared_ptr<const NavAddr> addr)
override;
54 virtual std::shared_ptr<NavAddr> GetAddress();
57 std::string output_path;
58 std::string input_path;
Common interface for all drivers.
Interface implemented by transport layer and possible other parties like test code which should handl...
Read and write data to/from files test driver
FileCommDriver(const std::string &opath, const std::string &ipath, DriverListener &l)
An instance which can write to file and play data from another.
void Activate() override
Register driver in the driver Registry.
FileCommDriver(const std::string &opath)
A write-only instance writing to file.