neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::timer_service Class Reference

#include <async_task.hpp>

Inheritance diagram for neolib::timer_service:
neolib::i_timer_service neolib::i_async_service

Public Member Functions

 timer_service (async_task &aTask, bool aMultiThreaded=false)
 
bool poll (bool aProcessEvents=true, std::size_t aMaximumPollCount=kDefaultPollCount) override
 
voidnative_object () override
 
i_timer_objectcreate_timer_object () override
 
void remove_timer_object (i_timer_object &aObject) override
 
- Public Member Functions inherited from neolib::i_async_service
virtual ~i_async_service ()=default
 
template<typename NativeObjectType >
NativeObjectTypenative_object ()
 

Additional Inherited Members

- Public Types inherited from neolib::i_timer_service
typedef i_timer_service abstract_type
 
- Public Types inherited from neolib::i_async_service
typedef i_async_service abstract_type
 
- Static Public Attributes inherited from neolib::i_async_service
static constexpr std::size_t kDefaultPollCount = 256
 

Detailed Description

Definition at line 51 of file async_task.hpp.

Constructor & Destructor Documentation

◆ timer_service()

neolib::timer_service::timer_service ( async_task aTask,
bool  aMultiThreaded = false 
)

Member Function Documentation

◆ create_timer_object()

i_timer_object & neolib::timer_service::create_timer_object ( )
overridevirtual

◆ native_object()

void * neolib::timer_service::native_object ( )
overridevirtual

◆ poll()

bool neolib::timer_service::poll ( bool  aProcessEvents = true,
std::size_t  aMaximumPollCount = kDefaultPollCount 
)
overridevirtual

◆ remove_timer_object()

void neolib::timer_service::remove_timer_object ( i_timer_object aObject)
overridevirtual

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