AUI Framework  master
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
AWindowManager Class Reference

Public Member Functions#

AWatchdogwatchdog () noexcept
 
void removeAllWindows ()
 
void closeAllWindows ()
 
void notifyProcessMessages () override
 Notifies this IEventLoop that its thread got a new message to process.
 
void loop () override
 Do message processing loop.
 
const ADeque< _< AWindow > > & getWindows () const
 
void start ()
 
void stop ()
 
virtual void initNativeWindow (const IRenderingContext::Init &init)
 
template<typename T>
ADeque< _< T > > getWindowsOfType () const
 

Protected Member Functions#

void xProcessEvent (XEvent &ev)
 
void xClipboardCopyImpl (const AString &text)
 
AString xClipboardPasteImpl ()
 

Protected Attributes#

IEventLoop::Handle mHandle
 
ADeque< _< AWindow > > mWindows
 
bool mLoopRunning = false
 
Pipe mNotifyPipe
 
std::atomic_bool mFastPathNotify = false
 
std::string mXClipboardText
 

Member Function Documentation#

◆ loop()#

void AWindowManager::loop ( )
overridevirtual

Implements IEventLoop.

◆ notifyProcessMessages()#

void AWindowManager::notifyProcessMessages ( )
overridevirtual

Implements IEventLoop.