ifw  0.0.1-dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
Lamp.Lamp Class Reference

Test library for testing Lamp business logic. More...

Inheritance diagram for Lamp.Lamp:
Device.Device

Public Member Functions

def __init__
 
def ctrl_on
 
def ctrl_off
 
- Public Member Functions inherited from Device.Device
def __init__
 
def call_rpc
 
def ctrl_reset
 
def ctrl_init
 
def ctrl_enable
 
def ctrl_disable
 
def ctrl_stop
 

Additional Inherited Members

- Public Attributes inherited from Device.Device
 server
 

Detailed Description

Test library for testing Lamp business logic.

Methods common fro all device, e.g. reset, init, enable, etc are defined in the base class Device. Here we define only the Lamp specific methods.

Constructor & Destructor Documentation

def Lamp.Lamp.__init__ (   self,
  server,
  ns,
  name 
)

Member Function Documentation

def Lamp.Lamp.ctrl_off (   self)
def Lamp.Lamp.ctrl_on (   self,
  intensity,
  onTimeLimit 
)

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