de.interactive_instruments.ShapeChange.Target
Interface DeferrableOutputWriter

All Known Implementing Classes:
FeatureCatalogue

public interface DeferrableOutputWriter

Targets implementing this interface indicate that all memory intensive output writing tasks can be deferred until the end of the overall model processing performed by ShapeChange. Targets can create intermediate files during the initial run of the write/writeAll methods (defined by the Target/SingleTarget interfaces). Once all transformer and targets have been processed, the converter will release all resources associated with the input model and any intermediate model created through transformations. Then it will go through the list of targets, identify those that support this interface, initialize them as defined via the configuration, and call the writeOutput method of this interface.

Author:
Johannes Echterhoff (echterhoff interactive-instruments de)

Method Summary
 void initialise(Options o, ShapeChangeResult r)
          Perform any initialization required to perform the deferred write.
 void writeOutput()
          Execute the deferred write of the desired output.
 

Method Detail

initialise

void initialise(Options o,
                ShapeChangeResult r)
Perform any initialization required to perform the deferred write.

Parameters:
o -
r -

writeOutput

void writeOutput()
Execute the deferred write of the desired output.



Copyright © 2015. All rights reserved.