class Gambit::Printers::BasePrinterManager
Manager class for creating printer objects
#include <baseprintermanager.hpp>
Inherited by Gambit::Printers::PrinterManager
Public Functions
Name | |
---|---|
BasePrinterManager() | |
BasePrinterManager(bool r) | |
bool | resume_mode() Getter for “resume” mode flag. |
void | set_resume_mode(bool rflag) |
virtual void | new_stream(const std::string & , const Options & ) =0 Create auxiliary printer object. |
virtual void | new_reader(const std::string & , const Options & ) =0 Create reader object. |
virtual void | create_resume_reader() =0 Create for reader object for previous print output (“resume reader”) |
virtual BaseBasePrinter * | get_stream(const std::string & ="") =0 Getter for auxiliary printer objects. |
virtual BaseBaseReader * | get_reader(const std::string & ) =0 Getter for readers. |
virtual bool | reader_exists(const std::string & ) =0 Checker for reader existence. |
virtual void | delete_stream(const std::string & ="") =0 Delete reader and printer objects (does not harm output, just deletes the objects) |
virtual void | delete_reader(const std::string & ) =0 |
virtual void | finalise(bool abnormal =false) =0 Instruct printers that scan has finished and to perform cleanup. |
Public Functions Documentation
function BasePrinterManager
inline BasePrinterManager()
function BasePrinterManager
inline BasePrinterManager(
bool r
)
function resume_mode
inline bool resume_mode()
Getter for “resume” mode flag.
function set_resume_mode
inline void set_resume_mode(
bool rflag
)
Setter for “resume” mode flag (printer may override user choice if no previous output exists)
function new_stream
virtual void new_stream(
const std::string & ,
const Options &
) =0
Create auxiliary printer object.
Reimplemented by: Gambit::Printers::PrinterManager::new_stream
function new_reader
virtual void new_reader(
const std::string & ,
const Options &
) =0
Create reader object.
Reimplemented by: Gambit::Printers::PrinterManager::new_reader
function create_resume_reader
virtual void create_resume_reader() =0
Create for reader object for previous print output (“resume reader”)
Reimplemented by: Gambit::Printers::PrinterManager::create_resume_reader
function get_stream
virtual BaseBasePrinter * get_stream(
const std::string & =""
) =0
Getter for auxiliary printer objects.
Reimplemented by: Gambit::Printers::PrinterManager::get_stream
function get_reader
virtual BaseBaseReader * get_reader(
const std::string &
) =0
Getter for readers.
Reimplemented by: Gambit::Printers::PrinterManager::get_reader
function reader_exists
virtual bool reader_exists(
const std::string &
) =0
Checker for reader existence.
Reimplemented by: Gambit::Printers::PrinterManager::reader_exists
function delete_stream
virtual void delete_stream(
const std::string & =""
) =0
Delete reader and printer objects (does not harm output, just deletes the objects)
Reimplemented by: Gambit::Printers::PrinterManager::delete_stream
function delete_reader
virtual void delete_reader(
const std::string &
) =0
Reimplemented by: Gambit::Printers::PrinterManager::delete_reader
function finalise
virtual void finalise(
bool abnormal =false
) =0
Instruct printers that scan has finished and to perform cleanup.
Reimplemented by: Gambit::Printers::PrinterManager::finalise
Updated on 2024-07-18 at 13:53:32 +0000