Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Examples

LCDElement Class Reference
[Main components]

#include "api/LCDElement.h"

Inheritance diagram for LCDElement:

Inheritance graph
[legend]
Collaboration diagram for LCDElement:

Collaboration graph
[legend]
List of all members.

Detailed Description

All the classes in this API have LCDElement as their base class. It contains important methods. But it should not be used directly.

Definition at line 35 of file LCDElement.h.

Public Member Functions

 ~LCDElement ()
 Destructor of the element.

void add (LCDElement *child)
 Add a child to the component.

const std::string & getId ()
 Returns Id of the element.


Static Public Member Functions

bool exists (std::string id)
 Test if a widget with given Id exists.


Constructor & Destructor Documentation

~LCDElement  ) 
 

This destructor sends deletion commands to LCDproc server so the element is removed.

Definition at line 42 of file LCDElement.cpp.


Member Function Documentation

void add LCDElement child  ) 
 

This method is used to add a child to a component.

Parameters:
child The element to be added in the children list.
Examples:
client.cpp.

Definition at line 110 of file LCDElement.cpp.

bool exists std::string  id  )  [static]
 

This static method is used to test the existence of a widget.

Parameters:
id The identifier of the widget to test.

Definition at line 76 of file LCDElement.cpp.

const string & getId  ) 
 

With this method one can have read access to the element identifier.

Returns:
A string.

Definition at line 82 of file LCDElement.cpp.


Generated on Wed Aug 4 19:39:10 2004 for LCDApi by doxygen 1.3.6