Class e.c.t.t.MousePollInputProvider(input_provider.PollInputProvider):

Part of elisa.core.tests.test_input_provider View In Hierarchy

Undocumented
Line # Kind Name Docs
38 Method create_input_event Translate external input data to an InputEvent object,
41 Method get_input_events Retrieve events from an input device and translate them in

Inherited from Component (via PollInputProvider, InputProvider):

Line # Kind Name Docs
83 Class PathDescriptor Undocumented
95 Class Method create Create and initialize the component.
128 Method initialize Initialize the component.
140 Method clean Clean the component.
153 Method name__get Undocumented
158 Method name__set Undocumented

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

Line # Kind Name Docs
81 Method __init__ 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 get_input_events(self):
Retrieve events from an input device and translate them in elisa.core.input_event.InputEvent objects understandable by the InputManager. The returned list can be built with the create_input_event() method, for each data retrieved from the input device.
ReturnsInput events from a user-input device (type: elisa.core.input_event.InputEvent list )
API Documentation for Elisa Media Center, generated by pydoctor at 2009-04-27 17:55:12.