ScummVM API documentation
Tetraedge::TeCallback0Param< T > Class Template Reference

#include <te_callback.h>

Inheritance diagram for Tetraedge::TeCallback0Param< T >:
Tetraedge::TeICallback0Param

Public Types

typedef bool(T::* TMethod) ()
 

Public Member Functions

 TeCallback0Param (T *object, TMethod method, float priority_=0.0f)
 
bool operator() () override
 
bool call () override
 
virtual float priority () const override
 
bool equals (const TeICallback0Param *other) const override
 
virtual bool operator() ()=0
 
virtual bool call ()=0
 
virtual float priority () const =0
 
virtual bool equals (const TeICallback0Param *other) const =0
 

Protected Attributes

T * _object
 
TMethod _method
 
float _priority
 

Detailed Description

template<class T>
class Tetraedge::TeCallback0Param< T >

TeCallback is similar to Common::Callback, but it takes 0 parameters, supports priority, and the function returns bool.

Member Function Documentation

◆ operator()()

template<class T >
bool Tetraedge::TeCallback0Param< T >::operator() ( )
inlineoverridevirtual

◆ call()

template<class T >
bool Tetraedge::TeCallback0Param< T >::call ( )
inlineoverridevirtual

◆ priority()

template<class T >
virtual float Tetraedge::TeCallback0Param< T >::priority ( ) const
inlineoverridevirtual

◆ equals()

template<class T >
bool Tetraedge::TeCallback0Param< T >::equals ( const TeICallback0Param *  other) const
inlineoverridevirtual

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