ALBA
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
albaGUIViewFrame Class Reference

#include <albaGUIViewFrame.h>

Inheritance diagram for albaGUIViewFrame:
Inheritance graph
[legend]
Collaboration diagram for albaGUIViewFrame:
Collaboration graph
[legend]

Public Member Functions

 albaGUIViewFrame (wxFrame *parent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxCLIP_CHILDREN)
 
 ~albaGUIViewFrame ()
 
void SetListener (albaObserver *Listener)
 
void SetView (albaView *view)
 
virtual void OnEvent (albaEventBase *alba_event)
 
- Public Member Functions inherited from albaObserver
 albaObserver ()
 
virtual ~albaObserver ()
 
virtual void OnEvent (albaEventBase *e)=0
 

Static Public Member Functions

static void OnQuit ()
 

Protected Member Functions

void OnCloseWindow (wxCloseEvent &event)
 
void OnSize (wxSizeEvent &event)
 
void OnSelect (wxCommandEvent &event)
 
void OnActivate (wxActivateEvent &event)
 

Protected Attributes

albaObserverm_Listener
 
wxWindow * m_ClientWin
 
albaViewm_View
 

Static Protected Attributes

static bool m_Quitting
 

Detailed Description

Definition at line 32 of file albaGUIViewFrame.h.

Constructor & Destructor Documentation

◆ albaGUIViewFrame()

albaGUIViewFrame::albaGUIViewFrame ( wxFrame *  parent,
wxWindowID  id,
const wxString &  title,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxDEFAULT_FRAME_STYLE|wxCLIP_CHILDREN 
)

◆ ~albaGUIViewFrame()

albaGUIViewFrame::~albaGUIViewFrame ( )

Member Function Documentation

◆ SetListener()

void albaGUIViewFrame::SetListener ( albaObserver Listener)
inline

Definition at line 45 of file albaGUIViewFrame.h.

◆ OnQuit()

static void albaGUIViewFrame::OnQuit ( )
inlinestatic

Set the quitting flag.

Definition at line 48 of file albaGUIViewFrame.h.

◆ SetView()

void albaGUIViewFrame::SetView ( albaView view)

Set which is the external view.

◆ OnEvent()

virtual void albaGUIViewFrame::OnEvent ( albaEventBase alba_event)
virtual

Answer to the messages coming from bottom classes.

Implements albaObserver.

◆ OnCloseWindow()

void albaGUIViewFrame::OnCloseWindow ( wxCloseEvent &  event)
protected

Send the event to destroy the owned view.

◆ OnSize()

void albaGUIViewFrame::OnSize ( wxSizeEvent &  event)
protected

Adjust the child size.

◆ OnSelect()

void albaGUIViewFrame::OnSelect ( wxCommandEvent &  event)
protected

Send the event to select the owned view.

◆ OnActivate()

void albaGUIViewFrame::OnActivate ( wxActivateEvent &  event)
protected

Send the event to select the owned view.

Member Data Documentation

◆ m_Listener

albaObserver* albaGUIViewFrame::m_Listener
protected

Definition at line 69 of file albaGUIViewFrame.h.

◆ m_ClientWin

wxWindow* albaGUIViewFrame::m_ClientWin
protected

Definition at line 70 of file albaGUIViewFrame.h.

◆ m_View

albaView* albaGUIViewFrame::m_View
protected

Definition at line 71 of file albaGUIViewFrame.h.

◆ m_Quitting

bool albaGUIViewFrame::m_Quitting
staticprotected

Definition at line 72 of file albaGUIViewFrame.h.


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