[operations] [attributes] [fields] [template] [definition]
[implementation] [documentation]
To use the search tool you need to use a browser which supports JAVA (c)

[next] [prev] [superclass] [next peer] [prev peer] [subclass] [index] [hierarchy]

ConsumerIRServer

inherits from Object
inherits from HasReinitialize
inherits from WantsPowerEvents
inherits from UsesExtraPower

Object <- ConsumerIRServer



Operations

Get list of all operations

MainBatteryIsGood
MainBatteryIsLow
ReinitializeClass
ResetClass
WriteConsumerIR
WriteConsumerIRAsync


Attributes

Get list of all attributes

Class ConsumerIRServer defines no new attributes.


Fields

Field Type
UsesExtraPower: microampLoad: Signed
ConsumerIRServer: irOffPowerLoad: Unsigned
irActivePowerLoad: Unsigned
lowPower: Boolean


Instance template

instance ConsumerIRServer tag;
   microampLoad: 0;
 irOffPowerLoad: 0;
irActivePowerLoad: 0;
       lowPower: false;
end instance;

Class definition

Define Class ConsumerIRServer;
    inherits from Object;
    inherits from HasReinitialize, WantsPowerEvents, UsesExtraPower;

    field irOffPowerLoad: Unsigned;
    field irActivePowerLoad: Unsigned;
    field lowPower: Boolean;
    
    overrides ReinitializeClass, ResetClass;
    overrides MainBatteryIsLow, MainBatteryIsGood;

    operation WriteConsumerIRAsync(irRequest: Pointer): Pointer;
    operation WriteConsumerIR(buffer: Pointer; count: Unsigned; cmdDelay: Unsigned; cmdRepeat: Unsigned; irBaudVal: Unsigned; irPeriod: Unsigned; irOntime: Unsigned);
end class;