Fawkes API  Fawkes Development Version
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
WorldInfoViewer Class Reference

Main class of the WorldInfoViewer application. More...

#include <>>

Classes

class  RobotRecord

Public Member Functions

 WorldInfoViewer (Glib::RefPtr< Gtk::Builder > builder, 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 34 of file worldinfo_viewer.h.

Constructor & Destructor Documentation

WorldInfoViewer::WorldInfoViewer ( Glib::RefPtr< Gtk::Builder >  builder,
fawkes::WorldInfoDataContainer data_container 
)

Constructor.

Parameters
builderGtk Builder
data_containerpointer 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 ( )

Call this method whenever the game state changes.

Definition at line 208 of file worldinfo_viewer.cpp.

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 ( )

Update the GUI.

Returns
always true

Definition at line 112 of file worldinfo_viewer.cpp.

Referenced by WorldInfoViewer().


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