class Gambit::Printers::PrinterManager

Manager class for creating printer objects

#include <printermanager.hpp>

Inherits from Gambit::Printers::BasePrinterManager

Public Functions

Name
PrinterManager(const Options & printerNode, bool resume_mode)
Constructor.
~PrinterManager()
Destructor.
virtual voidnew_stream(const std::string & streamname, const Options & new_options)
Create auxiliary printer object.
virtual voidnew_reader(const std::string & readstreamname, const Options & options)
Create reader object.
virtual voidcreate_resume_reader()
Create for reader object for previous print output (“resume reader”)
virtual BaseBasePrinter *get_stream(const std::string & streamname ="")
Getter for auxiliary printer objects.
virtual BaseBaseReader *get_reader(const std::string & readername)
Getter for reader objects.
BaseReader *get_full_reader(const std::string & readername)
Retrieve non-basebase version of reader object (for use in module functions rather than ScannerBit)
virtual boolreader_exists(const std::string & readername)
Checker for existence of reader object.
virtual voiddelete_stream(const std::string & name ="")
Destruct printer/reader objects.
virtual voiddelete_reader(const std::string & name)
virtual voidfinalise(bool abnormal =false)
Instruct printers that scan has finished and to perform cleanup.

Public Attributes

Name
BasePrinter *printerptr
Pointer to main printer object.

Additional inherited members

Public Functions inherited from Gambit::Printers::BasePrinterManager

Name
BasePrinterManager()
BasePrinterManager(bool r)
boolresume_mode()
Getter for “resume” mode flag.
voidset_resume_mode(bool rflag)

Public Functions Documentation

function PrinterManager

PrinterManager(
    const Options & printerNode,
    bool resume_mode
)

Constructor.

Manager class for creating printer objects.

function ~PrinterManager

~PrinterManager()

Destructor.

function new_stream

virtual void new_stream(
    const std::string & streamname,
    const Options & new_options
)

Create auxiliary printer object.

Reimplements: Gambit::Printers::BasePrinterManager::new_stream

function new_reader

virtual void new_reader(
    const std::string & readstreamname,
    const Options & options
)

Create reader object.

Reimplements: Gambit::Printers::BasePrinterManager::new_reader

function create_resume_reader

virtual void create_resume_reader()

Create for reader object for previous print output (“resume reader”)

Reimplements: Gambit::Printers::BasePrinterManager::create_resume_reader

function get_stream

virtual BaseBasePrinter * get_stream(
    const std::string & streamname =""
)

Getter for auxiliary printer objects.

Reimplements: Gambit::Printers::BasePrinterManager::get_stream

function get_reader

virtual BaseBaseReader * get_reader(
    const std::string & readername
)

Getter for reader objects.

Reimplements: Gambit::Printers::BasePrinterManager::get_reader

Retrieve pointer to named reader object.

function get_full_reader

BaseReader * get_full_reader(
    const std::string & readername
)

Retrieve non-basebase version of reader object (for use in module functions rather than ScannerBit)

Retrieve non-base version of reader object (for use in module functions rather than ScannerBit)

function reader_exists

virtual bool reader_exists(
    const std::string & readername
)

Checker for existence of reader object.

Reimplements: Gambit::Printers::BasePrinterManager::reader_exists

function delete_stream

virtual void delete_stream(
    const std::string & name =""
)

Destruct printer/reader objects.

Reimplements: Gambit::Printers::BasePrinterManager::delete_stream

function delete_reader

virtual void delete_reader(
    const std::string & name
)

Reimplements: Gambit::Printers::BasePrinterManager::delete_reader

function finalise

virtual void finalise(
    bool abnormal =false
)

Instruct printers that scan has finished and to perform cleanup.

Reimplements: Gambit::Printers::BasePrinterManager::finalise

Instruct all printers that scan has finished and to perform cleanup.

Public Attributes Documentation

variable printerptr

BasePrinter * printerptr;

Pointer to main printer object.


Updated on 2023-06-26 at 21:36:52 +0000