I spawn an image viewing process that shows the plot file whose path is specified in my constructor.

Leaves a file with a '.pid' extension after the image filename in the image directory. If a previous run of this code spawned an image viewing process and that process PID is still running, does not spawn a new one.

Complains to the messenger if no suitable image viewer is found or there is an error, unless the noComplain constructor keyword is set True.

TODO: Make this work on inferior operating systems. There is a version of pqiv compiled for Windows.

Class IV_Protocol Undocumented
Method pidFilePath Undocumented
Method __init__ ImageViewer(filePath, noComplain=False)
Method processRunning Returns True if there is a process running with the PID record in a file at my pidFilePath.
Method savePID Saves the supplied integer PID to a file that is at my pidFilePath.
Method spawnViewer Spawns the first available image viewer specified in my exList.
Method termViewer Undocumented
Method _startNotifier Undocumented
Method _stopNotifier Undocumented
@property
def pidFilePath(self):
Undocumented
def __init__(self, filePath, noComplain=False):

ImageViewer(filePath, noComplain=False)

def _startNotifier(self):
Undocumented
def _stopNotifier(self):
Undocumented
def processRunning(self):

Returns True if there is a process running with the PID record in a file at my pidFilePath.

def savePID(self, PID):

Saves the supplied integer PID to a file that is at my pidFilePath.

@defer.inlineCallbacks
def spawnViewer(self, fp):

Spawns the first available image viewer specified in my exList.

"Returns" a Deferred that fires with the PID of the spawned image viewer process.

def termViewer(self):
Undocumented
API Documentation for ade, generated by pydoctor at 2022-11-17 13:13:22.