cc1  v2.1
CC1 source code docs
 All Classes Namespaces Files Functions Variables Pages
src.vmm.Input.Event Class Reference

This structure is the collection of data for the general event interface. More...

Public Member Functions

def __init__
def __str__
def decode
def encode
def set

Public Attributes

 code
 evtype
 time
 value

Detailed Description

This structure is the collection of data for the general event interface.

You can create one to write to an event device. If you read from the event device using a subclass of the EventDevice object you will get one of these.

Definition at line 206 of file Input.py.

Constructor & Destructor Documentation

def src.vmm.Input.Event.__init__ (   self,
  time = 0.0,
  evtype = 0,
  code = 0,
  value = 0 
)

Definition at line 207 of file Input.py.

Member Function Documentation

def src.vmm.Input.Event.__str__ (   self)

Definition at line 213 of file Input.py.

def src.vmm.Input.Event.decode (   self,
  ev 
)

Definition at line 221 of file Input.py.

def src.vmm.Input.Event.encode (   self)

Definition at line 217 of file Input.py.

def src.vmm.Input.Event.set (   self,
  evtype,
  code,
  value 
)

Definition at line 225 of file Input.py.

Member Data Documentation

src.vmm.Input.Event.code

Definition at line 210 of file Input.py.

src.vmm.Input.Event.evtype

Definition at line 209 of file Input.py.

src.vmm.Input.Event.time

Definition at line 208 of file Input.py.

src.vmm.Input.Event.value

Definition at line 211 of file Input.py.


The documentation for this class was generated from the following file: