TwiceAsNice  2019-02-18
Public Member Functions | Private Attributes | List of all members
Nice::DispatcherFuncPrio Class Reference

#include <DispatcherFunc.h>

Collaboration diagram for Nice::DispatcherFuncPrio:
Collaboration graph

Public Member Functions

 DispatcherFuncPrio ()
 
 DispatcherFuncPrio (size_t _p, const DispatcherFuncPrioHolderPtr &_holder)
 
template<typename Type , typename TypeClass , typename TypeMemFn >
 DispatcherFuncPrio (size_t _p, TypeClass *_o, TypeMemFn _m, const Type &_d)
 
void operator() (void) const
 
bool operator< (const DispatcherFuncPrio &rhs) const
 
 DispatcherFuncPrio ()
 
 DispatcherFuncPrio (size_t _p, const DispatcherFuncPrioHolderPtr &_holder)
 
template<typename Type , typename TypeClass , typename TypeMemFn >
 DispatcherFuncPrio (size_t _p, TypeClass *_o, TypeMemFn _m, const Type &_d)
 
void operator() (void) const
 
bool operator< (const DispatcherFuncPrio &rhs) const
 

Private Attributes

size_t m_priority
 The priority of the task's function. More...
 
DispatcherFuncPrioHolderPtr m_holder
 

Constructor & Destructor Documentation

◆ DispatcherFuncPrio() [1/6]

Nice::DispatcherFuncPrio::DispatcherFuncPrio ( )
inline

◆ DispatcherFuncPrio() [2/6]

Nice::DispatcherFuncPrio::DispatcherFuncPrio ( size_t  _p,
const DispatcherFuncPrioHolderPtr _holder 
)
inline

◆ DispatcherFuncPrio() [3/6]

template<typename Type , typename TypeClass , typename TypeMemFn >
Nice::DispatcherFuncPrio::DispatcherFuncPrio ( size_t  _p,
TypeClass *  _o,
TypeMemFn  _m,
const Type _d 
)
inline

◆ DispatcherFuncPrio() [4/6]

Nice::DispatcherFuncPrio::DispatcherFuncPrio ( )
inline

◆ DispatcherFuncPrio() [5/6]

Nice::DispatcherFuncPrio::DispatcherFuncPrio ( size_t  _p,
const DispatcherFuncPrioHolderPtr _holder 
)
inline

◆ DispatcherFuncPrio() [6/6]

template<typename Type , typename TypeClass , typename TypeMemFn >
Nice::DispatcherFuncPrio::DispatcherFuncPrio ( size_t  _p,
TypeClass *  _o,
TypeMemFn  _m,
const Type _d 
)
inline

Member Function Documentation

◆ operator()() [1/2]

void Nice::DispatcherFuncPrio::operator() ( void  ) const
inline

Executes the task function.

◆ operator()() [2/2]

void Nice::DispatcherFuncPrio::operator() ( void  ) const
inline

Executes the task function.

◆ operator<() [1/2]

bool Nice::DispatcherFuncPrio::operator< ( const DispatcherFuncPrio rhs) const
inline

Comparison operator which realises a partial ordering based on priorities.

Parameters
rhsThe object to compare with.
Returns
true if the priority of *this is less than right hand side's priority, false otherwise.

◆ operator<() [2/2]

bool Nice::DispatcherFuncPrio::operator< ( const DispatcherFuncPrio rhs) const
inline

Comparison operator which realises a partial ordering based on priorities.

Parameters
rhsThe object to compare with.
Returns
true if the priority of *this is less than right hand side's priority, false otherwise.

Member Data Documentation

◆ m_holder

DispatcherFuncPrioHolderPtr Nice::DispatcherFuncPrio::m_holder
private

◆ m_priority

size_t Nice::DispatcherFuncPrio::m_priority
private

The priority of the task's function.


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