fpmas 1.6
Public Member Functions | Protected Attributes | List of all members
fpmas::io::OutputBase Class Reference

#include <output.h>

Inheritance diagram for fpmas::io::OutputBase:
Inheritance graph
[legend]
Collaboration diagram for fpmas::io::OutputBase:
Collaboration graph
[legend]

Public Member Functions

 OutputBase (api::io::OutputStream &output_stream)
 
const api::scheduler::Jobjob () override
 
- Public Member Functions inherited from fpmas::api::io::Output
virtual void dump ()=0
 
virtual const scheduler::Jobjob ()=0
 

Protected Attributes

api::io::OutputStreamoutput_stream
 

Detailed Description

A partial fpmas::io::output implementation.

This base defines an output job(), that contains a single task that perform a dump() when executed, but does not provide a dump() method.

Constructor & Destructor Documentation

◆ OutputBase()

fpmas::io::OutputBase::OutputBase ( api::io::OutputStream output_stream)
inline

OutputBase constructor.

Parameters
output_streamOutputStream to which data will be dumped by job()

Member Function Documentation

◆ job()

const api::scheduler::Job & fpmas::io::OutputBase::job ( )
inlineoverridevirtual

Returns an executable Job that might be scheduled with a scheduler::Scheduler.

The execution of the Job calls dump() exactly once.

Returns
executable job

Implements fpmas::api::io::Output.

Member Data Documentation

◆ output_stream

api::io::OutputStream& fpmas::io::OutputBase::output_stream
protected

OutputStream to which the dump() operation (not implemented in this base) is supposed to perform data output.


The documentation for this class was generated from the following file: