Class e.p.b.i.r.RawInput(PushInputProvider, protocol.Protocol):

Part of elisa.plugins.base.input_providers.raw_input View In Hierarchy

This class implements raw input support
Line # Kind Name Docs
48 Method create_input_event Translate external input data to an InputEvent object,
85 Method dataReceived Undocumented
90 Method bind Subscribe to the input device
93 Method unbind Unsubscribe from the input device
34 Method _display_help Undocumented

Inherited from PushInputProvider:

Line # Kind Name Docs
73 Method clean Additional cleanups to default Component's cleanup:

Inherited from Component (via PushInputProvider, InputProvider):

Line # Kind Name Docs
85 Class PathDescriptor Undocumented
97 Class Method create Create and initialize the component.
130 Method initialize Initialize the component.

Inherited from Loggable (via PushInputProvider, InputProvider, Component):

Line # Kind Name Docs
81 Method __init__ Undocumented
def _display_help(self):
Undocumented
def create_input_event(self, data):
Translate external input data to an InputEvent object, understandable by the InputManager. This method has to be overriden by InputProvider implementations. This method is called by InputProvider implementations.
Parametersdatathe data to translate, can be of any type
Returnselisa.core.input_event.InputEvent
def dataReceived(self, data):
Undocumented
def bind(self):
Subscribe to the input device

This can be done by connecting external component signals to our handlers or register a local callback that will be called by the external component when it receives an input event.

This method must be overriden by implementation because it's totally dependent on the infrastructure used by the input device the component supports.

def unbind(self):
Unsubscribe from the input device

This can be done by disconnecting our handlers from the external component signals or unregistering the local callback previously registered by the register() method.

This method must be overriden by implementation because it's totally dependent on the infrastructure used by the input device the component supports.

API Documentation for Elisa Media Center, generated by pydoctor at 2009-02-16 19:15:05.