MityDSP Documentation Index

MityDSP::tcGuiLamp Class Reference

#include <gui_lamp.h>

Inheritance diagram for MityDSP::tcGuiLamp:
MityDSP::tcGuiObject

List of all members.

Public Member Functions

 tcGuiLamp (const char *name, tcBench *bench, int idd)
 ~tcGuiLamp ()
virtual bool ParseXML (TiXmlElement *ahDom)
void create ()
void set_state (LAMPSTATE state)
LAMPSTATE get_state ()
void draw (tcGuiDspDisplay &pd)
void animate ()
void blink (LAMPSTATE base_state, LAMPSTATE blink_state, int milliseconds=300)

Constructor & Destructor Documentation

tcGuiLamp::tcGuiLamp ( const char *  name,
tcBench bench,
int  idd 
)
tcGuiLamp::~tcGuiLamp (  ) 

Member Function Documentation

bool tcGuiLamp::ParseXML ( TiXmlElement *  apElement  )  [virtual]

Parse common XML elements from the DOM.

Reimplemented from MityDSP::tcGuiObject.

void tcGuiLamp::create (  )  [virtual]

Reimplemented from MityDSP::tcGuiObject.

void tcGuiLamp::set_state ( LAMPSTATE  state  ) 
LAMPSTATE MityDSP::tcGuiLamp::get_state (  )  [inline]
void tcGuiLamp::draw ( tcGuiDspDisplay pd  )  [virtual]

Reimplemented from MityDSP::tcGuiObject.

void tcGuiLamp::animate (  )  [virtual]

Handle display widget animation (scrolling, etc.). This method should be called periodically from the top level framework when the widget is visible.

Reimplemented from MityDSP::tcGuiObject.

void tcGuiLamp::blink ( LAMPSTATE  base_state,
LAMPSTATE  blink_state,
int  milliseconds = 300 
)

  
Generated on Wed Mar 17 18:24:43 2010 for MityDSP Skinnable Graphics User Interface (GGUI) by  Doxygen Version 1.6.1
Copyright © 2009, Critical Link LLC, All rights reserved.