Main MRPT website > C++ reference for MRPT 1.5.3
List of all members | Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes | Friends
mrpt::gui::WxSubsystem::CWXMainFrame Class Reference

Detailed Description

The main frame of the wxWidgets application.

Definition at line 130 of file WxSubsystem.h.

#include <mrpt/gui/WxSubsystem.h>

Inheritance diagram for mrpt::gui::WxSubsystem::CWXMainFrame:
Inheritance graph

Public Member Functions

 CWXMainFrame (wxWindow *parent, wxWindowID id=-1)
 
virtual ~CWXMainFrame ()
 

Static Public Member Functions

static int notifyWindowCreation ()
 Atomically increments the number of windows created with the main frame as parent. More...
 
static int notifyWindowDestruction ()
 Atomically decrements the number of windows created with the main frame as parent. More...
 

Static Public Attributes

static volatile CWXMainFrameoneInstance
 

Private Member Functions

void OnTimerProcessRequests (wxTimerEvent &event)
 

Private Attributes

wxTimer * m_theTimer
 

Static Private Attributes

static synch::CCriticalSection cs_windowCount
 
static int m_windowCount
 

Friends

void WxSubsystem::waitWxShutdownsIfNoWindows ()
 

Constructor & Destructor Documentation

◆ CWXMainFrame()

mrpt::gui::WxSubsystem::CWXMainFrame::CWXMainFrame ( wxWindow *  parent,
wxWindowID  id = -1 
)

◆ ~CWXMainFrame()

virtual mrpt::gui::WxSubsystem::CWXMainFrame::~CWXMainFrame ( )
virtual

Member Function Documentation

◆ notifyWindowCreation()

static int mrpt::gui::WxSubsystem::CWXMainFrame::notifyWindowCreation ( )
static

Atomically increments the number of windows created with the main frame as parent.

Returns
The updated number of windows.

◆ notifyWindowDestruction()

static int mrpt::gui::WxSubsystem::CWXMainFrame::notifyWindowDestruction ( )
static

Atomically decrements the number of windows created with the main frame as parent.

Returns
The updated number of windows (0 if the calling was the last one).

◆ OnTimerProcessRequests()

void mrpt::gui::WxSubsystem::CWXMainFrame::OnTimerProcessRequests ( wxTimerEvent &  event)
private

Friends And Related Function Documentation

◆ WxSubsystem::waitWxShutdownsIfNoWindows

Member Data Documentation

◆ cs_windowCount

synch::CCriticalSection mrpt::gui::WxSubsystem::CWXMainFrame::cs_windowCount
staticprivate

Definition at line 153 of file WxSubsystem.h.

◆ m_theTimer

wxTimer* mrpt::gui::WxSubsystem::CWXMainFrame::m_theTimer
private

Definition at line 156 of file WxSubsystem.h.

◆ m_windowCount

int mrpt::gui::WxSubsystem::CWXMainFrame::m_windowCount
staticprivate

Definition at line 154 of file WxSubsystem.h.

◆ oneInstance

volatile CWXMainFrame* mrpt::gui::WxSubsystem::CWXMainFrame::oneInstance
static

Definition at line 148 of file WxSubsystem.h.




Page generated by Doxygen 1.8.13 for MRPT 1.5.3 at Sun Nov 26 00:44:48 UTC 2017