Owner: python
NLPI resource manager
NLPI consists of a complex framework of resources (both files and Python objects), provided by writing sourcefiles, Python methods and binaries. Each resource relies on other resources. In short words: anything relies on tricky resource management.
Used classes:
Class diagrams:

Class diagram : Znlpi_manager class diagram
Operations:
Attributes:
- public boolean Znlpi_resourcesDebug: If set to true tbe manager will print status messages.
- public dictionary Znlpi_availableResources: Znlpi_availableResources is a dictionary of resources instaled.NLPI instances can apply them to their Znlpi_resources dictionary.Methods are referenced by their name in refSymobol as string because otherwise cPickle fails to pickle resource instances.
Sub-classes:
Instances:

Object diagram : Znlpi_manager simple zcode resource dependency
This example shows the dependencies for a slimple, unspecified (Zcode) file creation.
This object serves as template for any NLPI instance specific resource instances.
Attributes:
- needs:list=['iclFile'] :
- method:string='Znlpi_icl_read_main' :
- comment:string='inform .icl file read' :
Links:
Attributes:
- timestamp:string='Znlpi_iclFileTimestamp' :
Links:
Attributes:
- needs:list=['informSources'] :
- method:string='Znlpi_inf_obj_read_main' :
- comment:string='inform sources read' :
Links:
Attributes:
- timestamp:string='Znlpi_informSourcesTimestamp' :
Links:
Attributes:
- timestamp:string='Znlpi_informIncludesTimestamp' :
Links:
Attributes:
- needs:list=['iclFileData', 'informObjects','informIncludes'] :
- method:string='Znlpi_inf_out_write_main' :
Links:
Attributes:
- needs:list=['informFilesMirror'] :
- method:string='Znlpi_inf_out_compile_main' :
- comment:string='compiled inform sources' :
Links:
Attributes:
- needs:list=['gameCodeFile'] :
- method:string='Znlpi_inf_out_play_main' :
Links:
Attributes:
- needs:list=['informFilesMirror'] :
- method:string='Znlpi_inf_out_compile_main_zcode' :
- comment:string='compiled inform sources to zcode' :
Attributes:
- needs:list=['zcodeGameCodeFile'] :
- method:string='Znlpi_inf_out_play_main' :
Attributes:
- timestamp:string='Znlpi_pictureFilesTimestamp' :
Attributes:
- needs:list=['pictureList','pictureFiles','gameCodeFile'] :
- method:string='Znlpi_blorb_write_main' :
Attributes:
- needs:list=['blorbGameCodeFile'] :
- method:string='Znlpi_inf_out_play_main' :
Attributes:
- needs:list=['zcodeGameCodeFile'] :
- method:string='Znlpi_inf_out_play_mainInternal' :
Attributes:
- needs:list=['zcodeGameCodeFile'] :
public Znlpi_registerResource (
refSymbol in string )
Method for registering available resources in Znlpi_availableResources.
attaching a resource instance to it.
Other NLPI instances will copy its properties; it serves as a template.
Parameters: