Classes | Public Member Functions

WorldInfoViewer Class Reference

Main class of the WorldInfoViewer application. More...

#include <>>

List of all members.

Classes

class  RobotRecord

Public Member Functions

 WorldInfoViewer (Glib::RefPtr< Gnome::Glade::Xml > ref_xml, fawkes::WorldInfoDataContainer *data_container)
 Constructor.
virtual ~WorldInfoViewer ()
 Destructor.
Gtk::Window & get_window () const
 Obtain the main window of the application.
bool update ()
 Update the GUI.
void gamestate_changed ()
 Call this method whenever the game state changes.

Detailed Description

Main class of the WorldInfoViewer application.

Author:
Daniel Beck

Definition at line 35 of file worldinfo_viewer.h.


Constructor & Destructor Documentation

WorldInfoViewer::WorldInfoViewer ( Glib::RefPtr< Gnome::Glade::Xml >  ref_xml,
fawkes::WorldInfoDataContainer data_container 
)

Constructor.

Parameters:
ref_xml reference to the Glade XML file
data_container pointer to the central instance of the WorldInfoDataContainer

Definition at line 50 of file worldinfo_viewer.cpp.

References update().

WorldInfoViewer::~WorldInfoViewer (  )  [virtual]

Destructor.

Definition at line 91 of file worldinfo_viewer.cpp.


Member Function Documentation

void WorldInfoViewer::gamestate_changed (  ) 
Gtk::Window & WorldInfoViewer::get_window (  )  const

Obtain the main window of the application.

Returns:
reference to the main window

Definition at line 102 of file worldinfo_viewer.cpp.

bool WorldInfoViewer::update (  ) 

The documentation for this class was generated from the following files: