Main Page   Class Hierarchy   Data Structures   File List   Data Fields  

GStockCalc Class Reference

#include <gstockcalc.h>

Inheritance diagram for GStockCalc:

Inheritance graph
Collaboration diagram for GStockCalc:

Collaboration graph

Public Member Functions

 GStockCalc ()
 ~GStockCalc ()
void update (const Subject *const subject)

Static Public Attributes

GStockCalc * gStockCalcStatic = NULL

Protected Member Functions

virtual gint delete_event_impl (GdkEventAny *event)
virtual bool on_button_press_event (GdkEventButton *event)

Detailed Description

The Application gstockcalc.
Michael Otto

Definition at line 44 of file gstockcalc.h.

Constructor & Destructor Documentation



Definition at line 56 of file gstockcalc.cpp.

References Subject::attach(), StockMarketVector::createInitialMarkets(), StockMarketVector::getNumberOfStockMarkets(), StockMarketVector::getStockMarket(), gStockCalcStatic, XMLFileParser::parsingTheXmlFile(), and update().



Definition at line 218 of file gstockcalc.cpp.

References StockMarketVector::getNumberOfStockMarkets().

Member Function Documentation

gint GStockCalc::delete_event_impl GdkEventAny *    event [protected, virtual]

Event method for Close button of window.

event an event
a bool variable

Definition at line 466 of file gstockcalc.cpp.

bool GStockCalc::on_button_press_event GdkEventButton *    event [protected, virtual]

Event method for button press in eventbox. If the mouse button was the left or right one a menu will pop up.

event an event
a bool variable

Definition at line 476 of file gstockcalc.cpp.

void GStockCalc::update const Subject *const    subject [virtual]

Update method.

subject the Subject object

Implements Observer.

Definition at line 613 of file gstockcalc.cpp.

References StockMarket::getMarketName(), StockMarket::getNumberOfStockContainer(), StockMarketVector::getNumberOfStockMarkets(), and StockMarketVector::getStockMarket().

Referenced by GStockCalc().

Field Documentation

GStockCalc * GStockCalc::gStockCalcStatic = NULL [static]

static pointer to the singleton class GStockCalc

Definition at line 50 of file gstockcalc.cpp.

Referenced by GStockCalc().

The documentation for this class was generated from the following files:
Generated on Tue May 27 21:24:03 2003 for gstockcalc by doxygen1.3-rc3