LibreOffice Module slideshow (master) 1
Public Member Functions | Public Attributes | List of all members
slideshow::internal::Delay_ Class Reference

#include <delayevent.hxx>

Inheritance diagram for slideshow::internal::Delay_:
[legend]
Collaboration diagram for slideshow::internal::Delay_:
[legend]

Public Member Functions

template<typename FuncT >
 Delay_ (FuncT const &func, double nTimeout, char const *from_function, char const *from_file, int from_line, const OUString &rsDescription)
 
- Public Member Functions inherited from slideshow::internal::Delay
template<typename FuncT >
 Delay (FuncT const &func, double nTimeout, const OUString &rsDescription)
 
 Delay (std::function< void()> func, double nTimeout, const OUString &rsDescription)
 
 Delay (const Delay &)=delete
 
Delayoperator= (const Delay &)=delete
 
virtual bool fire () override
 Execute the event. More...
 
virtual bool isCharged () const override
 Query whether this event is still charged, i.e. More...
 
virtual double getActivationTime (double nCurrentTime) const override
 Query the activation time instant this event shall be fired, if it was inserted at instant nCurrentTime into the queue. More...
 
virtual void dispose () override
 Dispose all object references. More...
 
- Public Member Functions inherited from slideshow::internal::Event
 Event (OUString sDescription)
 
virtual bool fire ()=0
 Execute the event. More...
 
virtual bool isCharged () const =0
 Query whether this event is still charged, i.e. More...
 
virtual double getActivationTime (double nCurrentTime) const =0
 Query the activation time instant this event shall be fired, if it was inserted at instant nCurrentTime into the queue. More...
 
const OUString & GetDescription () const
 
- Public Member Functions inherited from slideshow::internal::Disposable
virtual ~Disposable ()
 
virtual void dispose ()=0
 Dispose all object references. More...
 

Public Attributes

char const *const FROM_FUNCTION
 
char const *const FROM_FILE
 
int const FROM_LINE
 

Additional Inherited Members

- Public Types inherited from slideshow::internal::Delay
typedef ::std::function< void()> FunctorT
 

Detailed Description

Definition at line 103 of file delayevent.hxx.

Constructor & Destructor Documentation

◆ Delay_()

template<typename FuncT >
slideshow::internal::Delay_::Delay_ ( FuncT const &  func,
double  nTimeout,
char const *  from_function,
char const *  from_file,
int  from_line,
const OUString &  rsDescription 
)
inline

Definition at line 106 of file delayevent.hxx.

Member Data Documentation

◆ FROM_FILE

char const* const slideshow::internal::Delay_::FROM_FILE

Definition at line 114 of file delayevent.hxx.

◆ FROM_FUNCTION

char const* const slideshow::internal::Delay_::FROM_FUNCTION

Definition at line 113 of file delayevent.hxx.

◆ FROM_LINE

int const slideshow::internal::Delay_::FROM_LINE

Definition at line 115 of file delayevent.hxx.


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