LibreOffice Module vcl (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
JSDialogNotifyIdle Class Reference

#include <jsdialogbuilder.hxx>

Inheritance diagram for JSDialogNotifyIdle:
Collaboration diagram for JSDialogNotifyIdle:

Public Member Functions

 JSDialogNotifyIdle (VclPtr< vcl::Window > aNotifierWindow, VclPtr< vcl::Window > aContentWindow, std::string sTypeOfJSON)
void Invoke () override
 Calls the maInvokeHandler with the parameter this. More...
void forceUpdate ()
void sendMessage (jsdialog::MessageType eType, VclPtr< vcl::Window > pWindow)
- Public Member Functions inherited from Idle
 Idle (const char *pDebugName=nullptr)
virtual void Start () override
 Activates the timer task. More...
- Public Member Functions inherited from Timer
 Timer (const char *pDebugName=nullptr)
 Timer (const Timer &rTimer)
virtual ~Timer () override
Timeroperator= (const Timer &rTimer)
void Invoke (Timer *arg)
 Calls the maInvokeHandler with the parameter. More...
void SetInvokeHandler (const Link< Timer *, void > &rLink)
void ClearInvokeHandler ()
void SetTimeout (sal_uInt64 nTimeoutMs)
sal_uInt64 GetTimeout () const
- Public Member Functions inherited from Task
 Task (const char *pDebugName)
 Task (const Task &rTask)
Taskoperator= (const Task &rTask)
void SetPriority (TaskPriority ePriority)
TaskPriority GetPriority () const
void SetDebugName (const char *pDebugName)
const char * GetDebugName () const
void Stop ()
bool IsActive () const
void SetStatic ()
 This function must be called for static tasks, so the Task destructor ignores the scheduler mutex, as it may not be available anymore. More...
bool IsStatic () const

Private Member Functions

void send (tools::JsonWriter &aJsonWriter)
std::unique_ptr< tools::JsonWritergenerateFullUpdate () const
std::unique_ptr< tools::JsonWritergenerateWidgetUpdate (VclPtr< vcl::Window > pWindow) const
std::unique_ptr< tools::JsonWritergenerateCloseMessage () const

Private Attributes

VclPtr< vcl::Windowm_aNotifierWindow
VclPtr< vcl::Windowm_aContentWindow
std::string m_sTypeOfJSON
std::string m_LastNotificationMessage
bool m_bForce
std::deque< std::pair< jsdialog::MessageType, VclPtr< vcl::Window > > > m_aMessageQueue

Additional Inherited Members

- Protected Member Functions inherited from Idle
virtual sal_uInt64 UpdateMinPeriod (sal_uInt64 nTimeNow) const override
 How long (in MS) until the Task is ready to be dispatched? More...
 Idle (bool bAuto, const char *pDebugName)
- Protected Member Functions inherited from Timer
virtual void SetDeletionFlags () override
 Timer (bool bAuto, const char *pDebugName)
- Protected Member Functions inherited from Task
const ImplSchedulerDataGetSchedulerData () const
- Static Protected Member Functions inherited from Task
static void StartTimer (sal_uInt64 nMS)

Detailed Description

Definition at line 48 of file jsdialogbuilder.hxx.

Constructor & Destructor Documentation

JSDialogNotifyIdle::JSDialogNotifyIdle ( VclPtr< vcl::Window aNotifierWindow,
VclPtr< vcl::Window aContentWindow,
std::string  sTypeOfJSON 

Member Function Documentation

void JSDialogNotifyIdle::forceUpdate ( )
std::unique_ptr<tools::JsonWriter> JSDialogNotifyIdle::generateCloseMessage ( ) const
std::unique_ptr<tools::JsonWriter> JSDialogNotifyIdle::generateFullUpdate ( ) const
std::unique_ptr<tools::JsonWriter> JSDialogNotifyIdle::generateWidgetUpdate ( VclPtr< vcl::Window pWindow) const
void JSDialogNotifyIdle::Invoke ( )

Calls the maInvokeHandler with the parameter this.

Reimplemented from Timer.

void JSDialogNotifyIdle::send ( tools::JsonWriter aJsonWriter)
void JSDialogNotifyIdle::sendMessage ( jsdialog::MessageType  eType,
VclPtr< vcl::Window pWindow 

Member Data Documentation

VclPtr<vcl::Window> JSDialogNotifyIdle::m_aContentWindow

Definition at line 53 of file jsdialogbuilder.hxx.

std::deque<std::pair<jsdialog::MessageType, VclPtr<vcl::Window> > > JSDialogNotifyIdle::m_aMessageQueue

Definition at line 58 of file jsdialogbuilder.hxx.

VclPtr<vcl::Window> JSDialogNotifyIdle::m_aNotifierWindow

Definition at line 51 of file jsdialogbuilder.hxx.

bool JSDialogNotifyIdle::m_bForce

Definition at line 56 of file jsdialogbuilder.hxx.

std::string JSDialogNotifyIdle::m_LastNotificationMessage

Definition at line 55 of file jsdialogbuilder.hxx.

std::string JSDialogNotifyIdle::m_sTypeOfJSON

Definition at line 54 of file jsdialogbuilder.hxx.

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