![]() |
fpmas 1.6
|
#include <json_output.h>


Public Member Functions | |
| JsonOutput (api::io::OutputStream &output_stream, Watcher< T > watcher, bool indent=false) | |
| void | dump () override |
Public Member Functions inherited from fpmas::io::OutputBase | |
| OutputBase (api::io::OutputStream &output_stream) | |
| const api::scheduler::Job & | job () override |
| virtual void | dump ()=0 |
| virtual const scheduler::Job & | job ()=0 |
Additional Inherited Members | |
Protected Attributes inherited from fpmas::io::OutputBase | |
| api::io::OutputStream & | output_stream |
An fpmas::api::io::Output implementation that dumps data of a single Watcher as JSON to the provided OutputStream.
| T | Data type |
|
inline |
JsonOutput constructor.
| output_stream | OutputStream to which JSON data will be dumped. |
| watcher | Watcher instance used to gather data to dump(). |
| indent | If true, the json output is pretty-printed. Otherwise, a compact representation is used. |
|
inlineoverridevirtual |
watcher() call.nlohmann serialization process.output_stream. Implements fpmas::api::io::Output.