SObjectizer  5.7
Public Member Functions | Friends | List of all members
so_5::timer_t Class Referenceabstract

A base class for timer identificator. More...

#include <timers.hpp>

Inheritance diagram for so_5::timer_t:
so_5::atomic_refcounted_t so_5::timers_details::actual_timer_t< Timer >

Public Member Functions

virtual ~timer_t () noexcept=default
 
virtual bool is_active () const noexcept=0
 Is this timer event is active? More...
 
virtual void release () noexcept=0
 Release the timer event. More...
 

Friends

class intrusive_ptr_t< timer_t >
 

Additional Inherited Members

- Private Member Functions inherited from so_5::atomic_refcounted_t
 atomic_refcounted_t (const atomic_refcounted_t &)=delete
 
atomic_refcounted_toperator= (const atomic_refcounted_t &)=delete
 
 atomic_refcounted_t () noexcept
 Default constructor. More...
 
 ~atomic_refcounted_t () noexcept=default
 Destructor. More...
 
void inc_ref_count () noexcept
 Increments reference count. More...
 
unsigned long dec_ref_count () noexcept
 Decrement reference count. More...
 

Detailed Description

A base class for timer identificator.

Since
v.5.5.0

Constructor & Destructor Documentation

◆ ~timer_t()

virtual so_5::timer_t::~timer_t ( )
virtualdefaultnoexcept

Member Function Documentation

◆ is_active()

virtual bool so_5::timer_t::is_active ( ) const
pure virtualnoexcept

Is this timer event is active?

Implemented in so_5::timers_details::actual_timer_t< Timer >.

◆ release()

virtual void so_5::timer_t::release ( )
pure virtualnoexcept

Release the timer event.

Implemented in so_5::timers_details::actual_timer_t< Timer >.

Friends And Related Function Documentation

◆ intrusive_ptr_t< timer_t >

friend class intrusive_ptr_t< timer_t >
friend

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