Is it possible to call modules from modules
So far intermodule communication isn't possible for processes, but it will be implemented in PI 1.8. Note that this is already possible for format support modules with the following PCL classes:
-
MetaFileFormat describes the functionality of a file format implemented by a PI module.
-
FileFormatImplementation implements the functionality of a file format instance (usually a disk file).
-
FileFormat allows you to access file formats defined by other PI modules.
-
FileFormatInstance allows you to instantiate any installed file format (basically open, read, create and write image files).
So we have a server side (MetaFileFormat, FileFormatImplementation) and a client side (FileFormat, FileFormatInstance) for file formats. Currently we only have a server side for processes:
-
MetaProcess defines the functionality of a process.
-
ProcessImplementation defines the functionality and properties of a process instance.
So we lack the client side of processes, i.e. the Process and ProcessInstance classes, which are already implemented as JavaScript objects in PJSR. Both PCL classes will be available in PI 1.8.
Communication with process interfaces, in the sense of making a process interface a child of another control, is a much more complex topic. Note that this is not possible even with PJSR. While I am conscious of the fact that having this functionality would be very desirable, I am still considering what might be the best way to implement it. Process interfaces are rather complex and making them more flexible involves redesigning some aspects of PI's workspace that are not trivial. Let's face one problem at a time