LibreOffice Module desktop (master) 1
Classes | Public Types | Public Member Functions | Private Attributes | List of all members
desktop::DispatchWatcher Class Reference

#include <dispatchwatcher.hxx>

Inheritance diagram for desktop::DispatchWatcher:
[legend]
Collaboration diagram for desktop::DispatchWatcher:
[legend]

Classes

struct  DispatchRequest
 

Public Types

enum  RequestType {
  REQUEST_OPEN ,
  REQUEST_VIEW ,
  REQUEST_START ,
  REQUEST_PRINT ,
  REQUEST_PRINTTO ,
  REQUEST_FORCEOPEN ,
  REQUEST_FORCENEW ,
  REQUEST_CONVERSION ,
  REQUEST_INFILTER ,
  REQUEST_BATCHPRINT ,
  REQUEST_CAT ,
  REQUEST_SCRIPT_CAT
}
 

Public Member Functions

 DispatchWatcher ()
 
virtual ~DispatchWatcher () override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
virtual void SAL_CALL dispatchFinished (const css::frame::DispatchResultEvent &aEvent) override
 
bool executeDispatchRequests (const std::vector< DispatchRequest > &aDispatches, bool bNoTerminate)
 

Private Attributes

std::atomic< intm_nRequestCount
 

Detailed Description

Definition at line 38 of file dispatchwatcher.hxx.

Member Enumeration Documentation

◆ RequestType

Enumerator
REQUEST_OPEN 
REQUEST_VIEW 
REQUEST_START 
REQUEST_PRINT 
REQUEST_PRINTTO 
REQUEST_FORCEOPEN 
REQUEST_FORCENEW 
REQUEST_CONVERSION 
REQUEST_INFILTER 
REQUEST_BATCHPRINT 
REQUEST_CAT 
REQUEST_SCRIPT_CAT 

Definition at line 41 of file dispatchwatcher.hxx.

Constructor & Destructor Documentation

◆ DispatchWatcher()

desktop::DispatchWatcher::DispatchWatcher ( )

Definition at line 327 of file dispatchwatcher.cxx.

◆ ~DispatchWatcher()

desktop::DispatchWatcher::~DispatchWatcher ( )
overridevirtual

Definition at line 333 of file dispatchwatcher.cxx.

Member Function Documentation

◆ dispatchFinished()

void SAL_CALL desktop::DispatchWatcher::dispatchFinished ( const css::frame::DispatchResultEvent &  aEvent)
overridevirtual

◆ disposing()

void SAL_CALL desktop::DispatchWatcher::disposing ( const css::lang::EventObject &  Source)
overridevirtual

Definition at line 838 of file dispatchwatcher.cxx.

◆ executeDispatchRequests()

bool desktop::DispatchWatcher::executeDispatchRequests ( const std::vector< DispatchRequest > &  aDispatches,
bool  bNoTerminate 
)

Member Data Documentation

◆ m_nRequestCount

std::atomic<int> desktop::DispatchWatcher::m_nRequestCount
private

Definition at line 81 of file dispatchwatcher.hxx.

Referenced by dispatchFinished(), and executeDispatchRequests().


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