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

#include <i_async_task.hpp>

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

Public Types

typedef i_async_service abstract_type
 

Public Member Functions

virtual ~i_async_service ()=default
 
virtual bool poll (bool aProcessEvents=true, std::size_t aMaximumPollCount=kDefaultPollCount)=0
 
virtual voidnative_object ()=0
 
template<typename NativeObjectType >
NativeObjectTypenative_object ()
 

Static Public Attributes

static constexpr std::size_t kDefaultPollCount = 256
 

Detailed Description

Definition at line 49 of file i_async_task.hpp.

Member Typedef Documentation

◆ abstract_type

Constructor & Destructor Documentation

◆ ~i_async_service()

virtual neolib::i_async_service::~i_async_service ( )
virtualdefault

Member Function Documentation

◆ native_object() [1/2]

NativeObjectType & neolib::i_async_service::native_object ( )
inline

Definition at line 67 of file i_async_task.hpp.

◆ native_object() [2/2]

virtual void * neolib::i_async_service::native_object ( )
pure virtual

Implemented in neolib::timer_service.

◆ poll()

virtual bool neolib::i_async_service::poll ( bool  aProcessEvents = true,
std::size_t  aMaximumPollCount = kDefaultPollCount 
)
pure virtual

Implemented in neolib::timer_service.

Member Data Documentation

◆ kDefaultPollCount

constexpr std::size_t neolib::i_async_service::kDefaultPollCount = 256
staticconstexpr

Definition at line 56 of file i_async_task.hpp.


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