Skyscraper 2.0
Skyscraper::SkyControl Class Reference

#include <skycontrol.h>

Inheritance diagram for Skyscraper::SkyControl:
Collaboration diagram for Skyscraper::SkyControl:

Public Member Functions

 SkyControl (DebugPanel *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize)
 
virtual ~SkyControl ()
 
void Loop ()
 

Public Attributes

wxButton * bGetSystemTime
 
wxButton * bSetLatitude
 
wxButton * bSetLongitude
 
wxButton * bSetMultiplier
 
wxStaticLine * StaticLine1
 
wxStaticLine * StaticLine2
 
wxStaticText * StaticText11
 
wxStaticText * StaticText1
 
wxStaticText * StaticText2
 
wxStaticText * StaticText3
 
wxStaticText * StaticText4
 
wxStaticText * StaticText5
 
wxStaticText * StaticText6
 
wxStaticText * StaticText7
 
wxStaticText * StaticText8
 
wxStaticText * StaticText9
 
wxTextCtrl * tDay
 
wxTextCtrl * tHour
 
wxTextCtrl * tJulian
 
wxTextCtrl * tLatitude
 
wxTextCtrl * tLongitude
 
wxTextCtrl * tMinute
 
wxTextCtrl * tMonth
 
wxTextCtrl * tMultiplier
 
wxTextCtrl * tSecond
 
wxTextCtrl * tYear
 
wxToggleButton * bSet
 

Protected Member Functions

void OnInit ()
 

Static Protected Attributes

static const long ID_STATICTEXT1 = wxNewId()
 
static const long ID_tLatitude = wxNewId()
 
static const long ID_bSetLatitude = wxNewId()
 
static const long ID_STATICTEXT2 = wxNewId()
 
static const long ID_tLongitude = wxNewId()
 
static const long ID_bSetLongitude = wxNewId()
 
static const long ID_STATICTEXT11 = wxNewId()
 
static const long ID_tJulian = wxNewId()
 
static const long ID_STATICLINE1 = wxNewId()
 
static const long ID_STATICLINE2 = wxNewId()
 
static const long ID_STATICTEXT3 = wxNewId()
 
static const long ID_tYear = wxNewId()
 
static const long ID_STATICTEXT4 = wxNewId()
 
static const long ID_tMonth = wxNewId()
 
static const long ID_STATICTEXT5 = wxNewId()
 
static const long ID_tDay = wxNewId()
 
static const long ID_STATICTEXT6 = wxNewId()
 
static const long ID_tHour = wxNewId()
 
static const long ID_STATICTEXT7 = wxNewId()
 
static const long ID_tMinute = wxNewId()
 
static const long ID_STATICTEXT8 = wxNewId()
 
static const long ID_tSecond = wxNewId()
 
static const long ID_bSet = wxNewId()
 
static const long ID_bGetSystemTime = wxNewId()
 
static const long ID_STATICTEXT9 = wxNewId()
 
static const long ID_tMultiplier = wxNewId()
 
static const long ID_bSetMultiplier = wxNewId()
 

Private Member Functions

void OnInit (wxInitDialogEvent &event)
 
void On_bSetLatitude_Click (wxCommandEvent &event)
 
void On_bSetLongitude_Click (wxCommandEvent &event)
 
void On_bSet_Toggle (wxCommandEvent &event)
 
void On_bSetMultiplier_Click (wxCommandEvent &event)
 
void On_bGetSystemTime_Click (wxCommandEvent &event)
 

Private Attributes

DebugPanelpanel
 
Caelum::CaelumSystem * system
 

Detailed Description

Definition at line 39 of file skycontrol.h.

Constructor & Destructor Documentation

◆ SkyControl()

Skyscraper::SkyControl::SkyControl ( DebugPanel * parent,
wxWindowID id = wxID_ANY,
const wxPoint & pos = wxDefaultPosition,
const wxSize & size = wxDefaultSize )

Definition at line 74 of file skycontrol.cpp.

References On_bGetSystemTime_Click(), On_bSet_Toggle(), On_bSetLatitude_Click(), On_bSetLongitude_Click(), and On_bSetMultiplier_Click().

Here is the call graph for this function:

◆ ~SkyControl()

Skyscraper::SkyControl::~SkyControl ( )
virtual

Definition at line 182 of file skycontrol.cpp.

Member Function Documentation

◆ Loop()

void Skyscraper::SkyControl::Loop ( )

◆ On_bGetSystemTime_Click()

void Skyscraper::SkyControl::On_bGetSystemTime_Click ( wxCommandEvent & event)
private

Definition at line 301 of file skycontrol.cpp.

References Skyscraper::DebugPanel::GetRoot(), Skyscraper::VM::GetSkySystem(), panel, and Skyscraper::SkySystem::SetDateTimeNow().

Referenced by SkyControl().

Here is the call graph for this function:

◆ On_bSet_Toggle()

void Skyscraper::SkyControl::On_bSet_Toggle ( wxCommandEvent & event)
private

Definition at line 238 of file skycontrol.cpp.

References bSet, system, tDay, tHour, tJulian, tMinute, tMonth, tSecond, and tYear.

Referenced by SkyControl().

◆ On_bSetLatitude_Click()

void Skyscraper::SkyControl::On_bSetLatitude_Click ( wxCommandEvent & event)
private

Definition at line 226 of file skycontrol.cpp.

References system, and tLatitude.

Referenced by SkyControl().

◆ On_bSetLongitude_Click()

void Skyscraper::SkyControl::On_bSetLongitude_Click ( wxCommandEvent & event)
private

Definition at line 232 of file skycontrol.cpp.

References system, and tLongitude.

Referenced by SkyControl().

◆ On_bSetMultiplier_Click()

void Skyscraper::SkyControl::On_bSetMultiplier_Click ( wxCommandEvent & event)
private

Definition at line 296 of file skycontrol.cpp.

References Skyscraper::DebugPanel::GetRoot(), Skyscraper::VM::GetSkySystem(), panel, Skyscraper::SkySystem::SkyMult, and tMultiplier.

Referenced by SkyControl().

Here is the call graph for this function:

◆ OnInit() [1/2]

void Skyscraper::SkyControl::OnInit ( )
protected

◆ OnInit() [2/2]

void Skyscraper::SkyControl::OnInit ( wxInitDialogEvent & event)
private

Member Data Documentation

◆ bGetSystemTime

wxButton* Skyscraper::SkyControl::bGetSystemTime

Definition at line 46 of file skycontrol.h.

◆ bSet

wxToggleButton* Skyscraper::SkyControl::bSet

Definition at line 72 of file skycontrol.h.

Referenced by Loop(), and On_bSet_Toggle().

◆ bSetLatitude

wxButton* Skyscraper::SkyControl::bSetLatitude

Definition at line 47 of file skycontrol.h.

◆ bSetLongitude

wxButton* Skyscraper::SkyControl::bSetLongitude

Definition at line 48 of file skycontrol.h.

◆ bSetMultiplier

wxButton* Skyscraper::SkyControl::bSetMultiplier

Definition at line 49 of file skycontrol.h.

◆ ID_bGetSystemTime

const long Skyscraper::SkyControl::ID_bGetSystemTime = wxNewId()
staticprotected

Definition at line 102 of file skycontrol.h.

◆ ID_bSet

const long Skyscraper::SkyControl::ID_bSet = wxNewId()
staticprotected

Definition at line 101 of file skycontrol.h.

◆ ID_bSetLatitude

const long Skyscraper::SkyControl::ID_bSetLatitude = wxNewId()
staticprotected

Definition at line 81 of file skycontrol.h.

◆ ID_bSetLongitude

const long Skyscraper::SkyControl::ID_bSetLongitude = wxNewId()
staticprotected

Definition at line 84 of file skycontrol.h.

◆ ID_bSetMultiplier

const long Skyscraper::SkyControl::ID_bSetMultiplier = wxNewId()
staticprotected

Definition at line 105 of file skycontrol.h.

◆ ID_STATICLINE1

const long Skyscraper::SkyControl::ID_STATICLINE1 = wxNewId()
staticprotected

Definition at line 87 of file skycontrol.h.

◆ ID_STATICLINE2

const long Skyscraper::SkyControl::ID_STATICLINE2 = wxNewId()
staticprotected

Definition at line 88 of file skycontrol.h.

◆ ID_STATICTEXT1

const long Skyscraper::SkyControl::ID_STATICTEXT1 = wxNewId()
staticprotected

Definition at line 79 of file skycontrol.h.

◆ ID_STATICTEXT11

const long Skyscraper::SkyControl::ID_STATICTEXT11 = wxNewId()
staticprotected

Definition at line 85 of file skycontrol.h.

◆ ID_STATICTEXT2

const long Skyscraper::SkyControl::ID_STATICTEXT2 = wxNewId()
staticprotected

Definition at line 82 of file skycontrol.h.

◆ ID_STATICTEXT3

const long Skyscraper::SkyControl::ID_STATICTEXT3 = wxNewId()
staticprotected

Definition at line 89 of file skycontrol.h.

◆ ID_STATICTEXT4

const long Skyscraper::SkyControl::ID_STATICTEXT4 = wxNewId()
staticprotected

Definition at line 91 of file skycontrol.h.

◆ ID_STATICTEXT5

const long Skyscraper::SkyControl::ID_STATICTEXT5 = wxNewId()
staticprotected

Definition at line 93 of file skycontrol.h.

◆ ID_STATICTEXT6

const long Skyscraper::SkyControl::ID_STATICTEXT6 = wxNewId()
staticprotected

Definition at line 95 of file skycontrol.h.

◆ ID_STATICTEXT7

const long Skyscraper::SkyControl::ID_STATICTEXT7 = wxNewId()
staticprotected

Definition at line 97 of file skycontrol.h.

◆ ID_STATICTEXT8

const long Skyscraper::SkyControl::ID_STATICTEXT8 = wxNewId()
staticprotected

Definition at line 99 of file skycontrol.h.

◆ ID_STATICTEXT9

const long Skyscraper::SkyControl::ID_STATICTEXT9 = wxNewId()
staticprotected

Definition at line 103 of file skycontrol.h.

◆ ID_tDay

const long Skyscraper::SkyControl::ID_tDay = wxNewId()
staticprotected

Definition at line 94 of file skycontrol.h.

◆ ID_tHour

const long Skyscraper::SkyControl::ID_tHour = wxNewId()
staticprotected

Definition at line 96 of file skycontrol.h.

◆ ID_tJulian

const long Skyscraper::SkyControl::ID_tJulian = wxNewId()
staticprotected

Definition at line 86 of file skycontrol.h.

◆ ID_tLatitude

const long Skyscraper::SkyControl::ID_tLatitude = wxNewId()
staticprotected

Definition at line 80 of file skycontrol.h.

◆ ID_tLongitude

const long Skyscraper::SkyControl::ID_tLongitude = wxNewId()
staticprotected

Definition at line 83 of file skycontrol.h.

◆ ID_tMinute

const long Skyscraper::SkyControl::ID_tMinute = wxNewId()
staticprotected

Definition at line 98 of file skycontrol.h.

◆ ID_tMonth

const long Skyscraper::SkyControl::ID_tMonth = wxNewId()
staticprotected

Definition at line 92 of file skycontrol.h.

◆ ID_tMultiplier

const long Skyscraper::SkyControl::ID_tMultiplier = wxNewId()
staticprotected

Definition at line 104 of file skycontrol.h.

◆ ID_tSecond

const long Skyscraper::SkyControl::ID_tSecond = wxNewId()
staticprotected

Definition at line 100 of file skycontrol.h.

◆ ID_tYear

const long Skyscraper::SkyControl::ID_tYear = wxNewId()
staticprotected

Definition at line 90 of file skycontrol.h.

◆ panel

DebugPanel* Skyscraper::SkyControl::panel
private

Definition at line 119 of file skycontrol.h.

Referenced by Loop(), On_bGetSystemTime_Click(), On_bSetMultiplier_Click(), and OnInit().

◆ StaticLine1

wxStaticLine* Skyscraper::SkyControl::StaticLine1

Definition at line 50 of file skycontrol.h.

◆ StaticLine2

wxStaticLine* Skyscraper::SkyControl::StaticLine2

Definition at line 51 of file skycontrol.h.

◆ StaticText1

wxStaticText* Skyscraper::SkyControl::StaticText1

Definition at line 53 of file skycontrol.h.

◆ StaticText11

wxStaticText* Skyscraper::SkyControl::StaticText11

Definition at line 52 of file skycontrol.h.

◆ StaticText2

wxStaticText* Skyscraper::SkyControl::StaticText2

Definition at line 54 of file skycontrol.h.

◆ StaticText3

wxStaticText* Skyscraper::SkyControl::StaticText3

Definition at line 55 of file skycontrol.h.

◆ StaticText4

wxStaticText* Skyscraper::SkyControl::StaticText4

Definition at line 56 of file skycontrol.h.

◆ StaticText5

wxStaticText* Skyscraper::SkyControl::StaticText5

Definition at line 57 of file skycontrol.h.

◆ StaticText6

wxStaticText* Skyscraper::SkyControl::StaticText6

Definition at line 58 of file skycontrol.h.

◆ StaticText7

wxStaticText* Skyscraper::SkyControl::StaticText7

Definition at line 59 of file skycontrol.h.

◆ StaticText8

wxStaticText* Skyscraper::SkyControl::StaticText8

Definition at line 60 of file skycontrol.h.

◆ StaticText9

wxStaticText* Skyscraper::SkyControl::StaticText9

Definition at line 61 of file skycontrol.h.

◆ system

Caelum::CaelumSystem* Skyscraper::SkyControl::system
private

◆ tDay

wxTextCtrl* Skyscraper::SkyControl::tDay

Definition at line 62 of file skycontrol.h.

Referenced by Loop(), and On_bSet_Toggle().

◆ tHour

wxTextCtrl* Skyscraper::SkyControl::tHour

Definition at line 63 of file skycontrol.h.

Referenced by Loop(), and On_bSet_Toggle().

◆ tJulian

wxTextCtrl* Skyscraper::SkyControl::tJulian

Definition at line 64 of file skycontrol.h.

Referenced by Loop(), and On_bSet_Toggle().

◆ tLatitude

wxTextCtrl* Skyscraper::SkyControl::tLatitude

Definition at line 65 of file skycontrol.h.

Referenced by On_bSetLatitude_Click(), and OnInit().

◆ tLongitude

wxTextCtrl* Skyscraper::SkyControl::tLongitude

Definition at line 66 of file skycontrol.h.

Referenced by On_bSetLongitude_Click(), and OnInit().

◆ tMinute

wxTextCtrl* Skyscraper::SkyControl::tMinute

Definition at line 67 of file skycontrol.h.

Referenced by Loop(), and On_bSet_Toggle().

◆ tMonth

wxTextCtrl* Skyscraper::SkyControl::tMonth

Definition at line 68 of file skycontrol.h.

Referenced by Loop(), and On_bSet_Toggle().

◆ tMultiplier

wxTextCtrl* Skyscraper::SkyControl::tMultiplier

Definition at line 69 of file skycontrol.h.

Referenced by On_bSetMultiplier_Click(), and OnInit().

◆ tSecond

wxTextCtrl* Skyscraper::SkyControl::tSecond

Definition at line 70 of file skycontrol.h.

Referenced by Loop(), and On_bSet_Toggle().

◆ tYear

wxTextCtrl* Skyscraper::SkyControl::tYear

Definition at line 71 of file skycontrol.h.

Referenced by Loop(), and On_bSet_Toggle().


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