All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

Visualization Class CATLPFKRemoteControl

CATLPFKRemoteControl
 

Usage: you must use this class as is. You should never derive it.


public class CATLPFKRemoteControl

Class to manage the lights of a connected LPFK.


Method Index


o GetLight(int)
Gets the status of a given light on the LPFK.
o GetLights(void)
Returns the status of all lights.
o SetLight(int,int)
Lights and Unlights the lpfk buttons.
o SetLights(unsigned int)
Set a number of lights.

Methods


o GetLight
public static int GetLight(int iLightIndex)
Gets the status of a given light on the LPFK.
Parameters:
iLightIndex
The index of the light you're querying.
Returns:
Whether the light is On (1) or Off (0)
o GetLights
public static unsigned int GetLights(void )
Returns the status of all lights.
Returns:
An unsigned int in which the i-eme light status is stored as i order bit.
o SetLight
public static void SetLight(int iLightIndex,
int iLighted)
Lights and Unlights the lpfk buttons.
Parameters:
iLightIndex
The index of the light your affecting.
iLighted
Whether or not the light is to be on or off.
o SetLights
public static void SetLights(unsigned int iLights)
Set a number of lights.
Parameters:
iLights
An unsigned int in which the i-eme light status is stored as i order bit.

This object is included in the file: CATLPFKRemoteControl.h
If needed, your Imakefile.mk should include the module: CATVisualization

Copyright © 2003, Dassault Systèmes. All rights reserved.