RoboAide
Project to improve a DIY robotic arm used for mobility assistance
Public Member Functions | Public Attributes | List of all members
ui.Drawer.Drawer Class Reference

Public Member Functions

def __init__ (self, mainwindow, name="")
 
def open (self)
 
def close (self)
 
def getState (self)
 
def setState (self, state)
 

Public Attributes

 mainwindow
 
 name
 
 state
 

Detailed Description

Class for drawers

Definition at line 1 of file Drawer.py.

Constructor & Destructor Documentation

def ui.Drawer.Drawer.__init__ (   self,
  mainwindow,
  name = "" 
)

Definition at line 5 of file Drawer.py.

Member Function Documentation

def ui.Drawer.Drawer.close (   self)
Send command to close the drawer

Definition at line 20 of file Drawer.py.

def ui.Drawer.Drawer.getState (   self)
Getter for the state of the drawer (open/closed)

Definition at line 28 of file Drawer.py.

def ui.Drawer.Drawer.open (   self)
Send command to open the drawer

Definition at line 12 of file Drawer.py.

def ui.Drawer.Drawer.setState (   self,
  state 
)
Setter for the state of the drawer (open/closed)

Definition at line 34 of file Drawer.py.

Member Data Documentation

ui.Drawer.Drawer.mainwindow

Definition at line 8 of file Drawer.py.

ui.Drawer.Drawer.name

Definition at line 9 of file Drawer.py.

ui.Drawer.Drawer.state

Definition at line 10 of file Drawer.py.


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