LibreOffice Module sd (master) 1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
sd::Receiver Class Reference

#include <Receiver.hxx>

Inheritance diagram for sd::Receiver:
[legend]
Collaboration diagram for sd::Receiver:
[legend]

Public Member Functions

 Receiver (Transmitter *aTransmitter)
 
virtual ~Receiver () override
 
virtual void Invoke () override
 
void pushCommand (const std::vector< OString > &rCommand)
 

Static Public Member Functions

static void executeCommand (const std::vector< OString > &aCommand)
 

Private Attributes

std::deque< std::vector< OString > > maExecQueue
 
TransmitterpTransmitter
 

Additional Inherited Members

- Private Member Functions inherited from Timer
 Timer (const char *pDebugName)
 
 Timer (const Timer &rTimer)
 
virtual ~Timer () override
 
Timeroperator= (const Timer &rTimer)
 
virtual void Invoke () override
 
void Invoke (Timer *arg)
 
void SetInvokeHandler (const Link< Timer *, void > &rLink)
 
void ClearInvokeHandler ()
 
void SetTimeout (sal_uInt64 nTimeoutMs)
 
sal_uInt64 GetTimeout () const
 
virtual void Start (bool bStartTimer=true) override
 
virtual void SetDeletionFlags () override
 
virtual sal_uInt64 UpdateMinPeriod (sal_uInt64 nTimeNow) const override
 
 Timer (bool bAuto, const char *pDebugName)
 
- Private Member Functions inherited from Task
 Task (const char *pDebugName)
 
 Task (const Task &rTask)
 
virtual ~Task () COVERITY_NOEXCEPT_FALSE
 
Taskoperator= (const Task &rTask)
 
void SetPriority (TaskPriority ePriority)
 
TaskPriority GetPriority () const
 
const char * GetDebugName () const
 
virtual void Invoke ()=0
 
virtual void Start (bool bStartTimer=true)
 
void Stop ()
 
bool IsActive () const
 
void SetStatic ()
 
bool IsStatic () const
 
const ImplSchedulerDataGetSchedulerData () const
 
virtual void SetDeletionFlags ()
 
virtual sal_uInt64 UpdateMinPeriod (sal_uInt64 nTimeNow) const=0
 
- Static Private Member Functions inherited from Task
static void StartTimer (sal_uInt64 nMS)
 

Detailed Description

Definition at line 23 of file Receiver.hxx.

Constructor & Destructor Documentation

◆ Receiver()

Receiver::Receiver ( Transmitter aTransmitter)
explicit

Definition at line 30 of file Receiver.cxx.

References pTransmitter, and Timer::SetTimeout().

◆ ~Receiver()

Receiver::~Receiver ( )
overridevirtual

Definition at line 36 of file Receiver.cxx.

Member Function Documentation

◆ executeCommand()

void Receiver::executeCommand ( const std::vector< OString > &  aCommand)
static

Definition at line 62 of file Receiver.cxx.

References aCommand, Any, Exception, pos, SAL_INFO, TOOLS_WARN_EXCEPTION, x, xFrame, and y.

Referenced by Invoke().

◆ Invoke()

void Receiver::Invoke ( )
overridevirtual

Reimplemented from Timer.

Definition at line 48 of file Receiver.cxx.

References executeCommand(), maExecQueue, Timer::Start(), and Task::Stop().

◆ pushCommand()

void Receiver::pushCommand ( const std::vector< OString > &  rCommand)

Definition at line 41 of file Receiver.cxx.

References maExecQueue, and Timer::Start().

Referenced by sd::Communicator::execute().

Member Data Documentation

◆ maExecQueue

std::deque< std::vector< OString > > sd::Receiver::maExecQueue
private

Definition at line 25 of file Receiver.hxx.

Referenced by Invoke(), and pushCommand().

◆ pTransmitter

Transmitter* sd::Receiver::pTransmitter
private

Definition at line 34 of file Receiver.hxx.

Referenced by Receiver().


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