Class FileConsumer

Inheritance Relationships

Base Type

Class Documentation

class FileConsumer : public eprosima::fastdds::dds::OStreamConsumer

Public Functions

RTPS_DllAPI FileConsumer()

Default constructor: filename = “output.log”, append = false.

RTPS_DllAPI FileConsumer(const std::string &filename, bool append = false)

Constructor with parameters.

Parameters:
  • filename – path of the output file where the log will be wrote.

  • append – indicates if the consumer must append the content in the filename.

virtual ~FileConsumer()