Class Print

Inheritance Relationships

Base Type

Class Documentation

class ral::batch::Print : public ral::cache::kernel

This kernel allows printing the preceding input caches to the standard output.

Public Functions

inline Print()

Constructor

inline Print(std::ostream &stream)
inline virtual std::string kernel_name()
virtual kstatus run()

Executes the batch processing. Loads the data from their input port, and after processing it, the results are stored in their output port.

Return

kstatus ‘stop’ to halt processing, or ‘proceed’ to continue processing.

Protected Attributes

std::ostream *ofs = nullptr

Target output stream object.

std::mutex print_lock

Mutex for making the printing thread-safe.