Skyscraper 2.0
Skyscraper::ActionViewer Class Reference

#include <actionviewer.h>

Inheritance diagram for Skyscraper::ActionViewer:
Collaboration diagram for Skyscraper::ActionViewer:

Public Member Functions

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

Public Attributes

wxButton * bDelete
 
wxButton * bOK
 
wxButton * bRun
 
wxListBox * ActionList
 
wxStaticText * StaticText1
 
wxStaticText * StaticText2
 
wxStaticText * StaticText3
 
wxStaticText * StaticText4
 
wxStaticText * StaticText5
 
wxTextCtrl * tCommand
 
wxTextCtrl * tName
 
wxTextCtrl * tParameters
 
wxTextCtrl * tParentName
 
wxTextCtrl * tType
 

Static Protected Attributes

static const long ID_ActionList = wxNewId()
 
static const long ID_bDelete = wxNewId()
 
static const long ID_bRun = wxNewId()
 
static const long ID_bOK = wxNewId()
 
static const long ID_STATICTEXT1 = wxNewId()
 
static const long ID_tName = wxNewId()
 
static const long ID_STATICTEXT2 = wxNewId()
 
static const long ID_tParentName = wxNewId()
 
static const long ID_STATICTEXT3 = wxNewId()
 
static const long ID_tType = wxNewId()
 
static const long ID_STATICTEXT4 = wxNewId()
 
static const long ID_tCommand = wxNewId()
 
static const long ID_STATICTEXT5 = wxNewId()
 
static const long ID_tParameters = wxNewId()
 

Private Member Functions

void On_bRun_Click (wxCommandEvent &event)
 
void On_bOK_Click (wxCommandEvent &event)
 
void On_ActionList_Select (wxCommandEvent &event)
 
void On_bDelete_Click (wxCommandEvent &event)
 

Private Attributes

SBS::SBSSimcore
 
DebugPanelpanel
 
int lastcount
 

Detailed Description

Definition at line 37 of file actionviewer.h.

Constructor & Destructor Documentation

◆ ActionViewer()

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

Definition at line 61 of file actionviewer.cpp.

References On_ActionList_Select(), On_bDelete_Click(), On_bOK_Click(), and On_bRun_Click().

Here is the call graph for this function:

◆ ~ActionViewer()

Skyscraper::ActionViewer::~ActionViewer ( )
virtual

Definition at line 127 of file actionviewer.cpp.

Member Function Documentation

◆ Loop()

void Skyscraper::ActionViewer::Loop ( )

◆ On_ActionList_Select()

void Skyscraper::ActionViewer::On_ActionList_Select ( wxCommandEvent & event)
private

◆ On_bDelete_Click()

void Skyscraper::ActionViewer::On_bDelete_Click ( wxCommandEvent & event)
private

Definition at line 202 of file actionviewer.cpp.

References ActionList, SBS::SBS::GetAction(), SBS::SBS::RemoveAction(), and Simcore.

Referenced by ActionViewer().

Here is the call graph for this function:

◆ On_bOK_Click()

void Skyscraper::ActionViewer::On_bOK_Click ( wxCommandEvent & event)
private

Definition at line 169 of file actionviewer.cpp.

Referenced by ActionViewer().

◆ On_bRun_Click()

void Skyscraper::ActionViewer::On_bRun_Click ( wxCommandEvent & event)
private

Definition at line 162 of file actionviewer.cpp.

References ActionList, SBS::SBS::RunAction(), and Simcore.

Referenced by ActionViewer().

Here is the call graph for this function:

Member Data Documentation

◆ ActionList

wxListBox* Skyscraper::ActionViewer::ActionList

Definition at line 48 of file actionviewer.h.

Referenced by Loop(), On_ActionList_Select(), On_bDelete_Click(), and On_bRun_Click().

◆ bDelete

wxButton* Skyscraper::ActionViewer::bDelete

Definition at line 45 of file actionviewer.h.

◆ bOK

wxButton* Skyscraper::ActionViewer::bOK

Definition at line 46 of file actionviewer.h.

◆ bRun

wxButton* Skyscraper::ActionViewer::bRun

Definition at line 47 of file actionviewer.h.

◆ ID_ActionList

const long Skyscraper::ActionViewer::ID_ActionList = wxNewId()
staticprotected

Definition at line 65 of file actionviewer.h.

◆ ID_bDelete

const long Skyscraper::ActionViewer::ID_bDelete = wxNewId()
staticprotected

Definition at line 66 of file actionviewer.h.

◆ ID_bOK

const long Skyscraper::ActionViewer::ID_bOK = wxNewId()
staticprotected

Definition at line 68 of file actionviewer.h.

◆ ID_bRun

const long Skyscraper::ActionViewer::ID_bRun = wxNewId()
staticprotected

Definition at line 67 of file actionviewer.h.

◆ ID_STATICTEXT1

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

Definition at line 69 of file actionviewer.h.

◆ ID_STATICTEXT2

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

Definition at line 71 of file actionviewer.h.

◆ ID_STATICTEXT3

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

Definition at line 73 of file actionviewer.h.

◆ ID_STATICTEXT4

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

Definition at line 75 of file actionviewer.h.

◆ ID_STATICTEXT5

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

Definition at line 77 of file actionviewer.h.

◆ ID_tCommand

const long Skyscraper::ActionViewer::ID_tCommand = wxNewId()
staticprotected

Definition at line 76 of file actionviewer.h.

◆ ID_tName

const long Skyscraper::ActionViewer::ID_tName = wxNewId()
staticprotected

Definition at line 70 of file actionviewer.h.

◆ ID_tParameters

const long Skyscraper::ActionViewer::ID_tParameters = wxNewId()
staticprotected

Definition at line 78 of file actionviewer.h.

◆ ID_tParentName

const long Skyscraper::ActionViewer::ID_tParentName = wxNewId()
staticprotected

Definition at line 72 of file actionviewer.h.

◆ ID_tType

const long Skyscraper::ActionViewer::ID_tType = wxNewId()
staticprotected

Definition at line 74 of file actionviewer.h.

◆ lastcount

int Skyscraper::ActionViewer::lastcount
private

Definition at line 91 of file actionviewer.h.

Referenced by Loop().

◆ panel

DebugPanel* Skyscraper::ActionViewer::panel
private

Definition at line 90 of file actionviewer.h.

Referenced by Loop().

◆ Simcore

SBS::SBS* Skyscraper::ActionViewer::Simcore
private

Definition at line 89 of file actionviewer.h.

Referenced by Loop(), On_ActionList_Select(), On_bDelete_Click(), and On_bRun_Click().

◆ StaticText1

wxStaticText* Skyscraper::ActionViewer::StaticText1

Definition at line 49 of file actionviewer.h.

◆ StaticText2

wxStaticText* Skyscraper::ActionViewer::StaticText2

Definition at line 50 of file actionviewer.h.

◆ StaticText3

wxStaticText* Skyscraper::ActionViewer::StaticText3

Definition at line 51 of file actionviewer.h.

◆ StaticText4

wxStaticText* Skyscraper::ActionViewer::StaticText4

Definition at line 52 of file actionviewer.h.

◆ StaticText5

wxStaticText* Skyscraper::ActionViewer::StaticText5

Definition at line 53 of file actionviewer.h.

◆ tCommand

wxTextCtrl* Skyscraper::ActionViewer::tCommand

Definition at line 54 of file actionviewer.h.

Referenced by Loop(), and On_ActionList_Select().

◆ tName

wxTextCtrl* Skyscraper::ActionViewer::tName

Definition at line 55 of file actionviewer.h.

Referenced by Loop(), and On_ActionList_Select().

◆ tParameters

wxTextCtrl* Skyscraper::ActionViewer::tParameters

Definition at line 56 of file actionviewer.h.

Referenced by Loop(), and On_ActionList_Select().

◆ tParentName

wxTextCtrl* Skyscraper::ActionViewer::tParentName

Definition at line 57 of file actionviewer.h.

Referenced by Loop(), and On_ActionList_Select().

◆ tType

wxTextCtrl* Skyscraper::ActionViewer::tType

Definition at line 58 of file actionviewer.h.

Referenced by Loop(), and On_ActionList_Select().


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