CPP-TOOLBOX
Loading...
Searching...
No Matches
batcher_visualization.Printer Class Reference

Public Member Functions

 __init__ (self, array_size=10, logging_enabled=False)
 
 queue_print (self, id, string, replace=False)
 
 print_everything (self)
 

Public Attributes

 fixed_array = FixedSizeArray(array_size, logging_enabled)
 
list queue = []
 

Constructor & Destructor Documentation

◆ __init__()

batcher_visualization.Printer.__init__ ( self,
array_size = 10,
logging_enabled = False )

Member Function Documentation

◆ print_everything()

batcher_visualization.Printer.print_everything ( self)
Prints out all the strings that have been queued up.

◆ queue_print()

batcher_visualization.Printer.queue_print ( self,
id,
string,
replace = False )
Queues up a string for printing. If the ID exists, the string is added to the queue
and marked for printing. If `replace` is True, the string is added again using the add function.

Member Data Documentation

◆ fixed_array

batcher_visualization.Printer.fixed_array = FixedSizeArray(array_size, logging_enabled)

◆ queue

list batcher_visualization.Printer.queue = []

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