LibreOffice Module vcl (master) 1
Public Member Functions | Public Attributes | List of all members
RuninmainResult Union Reference

Runs a command in the main thread. More...

#include <runinmain.hxx>

Collaboration diagram for RuninmainResult:
[legend]

Public Member Functions

 RuninmainResult ()
 

Public Attributes

void * pointer
 
bool boolean
 
struct SalFrame::SalPointerState state
 

Detailed Description

Runs a command in the main thread.

These macros are always used like a recursive calls, so they work like a closure.

Uses two conditionals for a two way communication. The data (code block + result) is protected by the SolarMutex.

There are three main macros, which act as function initializers:

All types used via OSX_RUNINMAIN_UNION must implement a move constructor, so there is no memory leak!

Definition at line 51 of file runinmain.hxx.

Constructor & Destructor Documentation

◆ RuninmainResult()

RuninmainResult::RuninmainResult ( )
inline

Definition at line 57 of file runinmain.hxx.

Member Data Documentation

◆ boolean

bool RuninmainResult::boolean

Definition at line 54 of file runinmain.hxx.

◆ pointer

void* RuninmainResult::pointer

Definition at line 53 of file runinmain.hxx.

◆ state

struct SalFrame::SalPointerState RuninmainResult::state

Definition at line 55 of file runinmain.hxx.


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