flightgear_python.general_util.EventPipe

class flightgear_python.general_util.EventPipe(duplex=True)

Bases: object

Helper abstraction for passing data from a parent process to a child process.

Parameters:

duplex – Allow internal pipe to also pass data from child to parent. Recommended to leave at default

__init__(duplex=True)

Methods

child_recv(*args, **kwargs)

Receive data from the parent process to the child process, then clear our event flag

parent_send(*args, **kwargs)

Send data from the parent process to the child process, then set our event flag

child_recv(*args, **kwargs)

Receive data from the parent process to the child process, then clear our event flag

Parameters:
Return type:

Any

parent_send(*args, **kwargs)

Send data from the parent process to the child process, then set our event flag

Parameters: