Template Class ShellConsumer

Inheritance Relationships

Base Type

Class Documentation

template<typename T>
class ShellConsumer : public urcl::comm::IConsumer<T>

The ShellConsumer class is a simple consumer that writes a readable representation to the logging info channel.

Template Parameters:

HeaderT – Header type of the packages to consume

Public Functions

ShellConsumer() = default
virtual ~ShellConsumer() = default
inline virtual bool consume(std::shared_ptr<T> product)

Consumes a package, writing a human readable representation to the logging.

Parameters:

product – The package to consume

Returns:

True if the output was successful