libmushu.ampdecoratorΒΆ

This module provides the AmpDecorator class.

As a user, it is very unlikely that you’ll have to deal with it directly. Its main purpose is to add additional functionality to the low level amplifier drivers. This functionality includes features like: saving data to a file. or being able to receive marker via network (TCP/IP and UDP).

By using the libmushu.__init__.get_amp() method, you’ll automatically receive decorated amplifiers.

Functions

Event() Returns an event object
Queue([maxsize]) Returns a queue object
marker_reader(queue, running, ready) Start the TCP and UDP MarkerServers and start the receiving loop.

Classes

AmpDecorator(ampcls) This class ‘decorates’ the Low-Level Amplifier classes with Network-Marker and Save-To-File functionality.
Amplifier Amplifier base class.
MarkerHandler(socket, queue) Handler for incoming data streams.
MarkerServer(queue, proto) The marker server.
Process([group, target, name, args, kwargs]) Process objects represent activity that is run in a separate process

Next topic

libmushu.amplifier

This Page