LibGimbal  1.0.0
Ultimate C17/C++20 Cross-Language Runtime Framework and Meta Type System
DispatcherBase< CRTP > Class Template Reference

#include <gimbal_meta.hpp>

Public Member Functions

gimbal::Size getSize (void) const
 
gimbal::Size getMethodCount (void) const
 
template<typename V , typename F , typename = std::enable_if_t<std::is_function_v<F>>>
vMethod (F V::*pMethod) const
 
template<typename V , typename F , typename = std::enable_if_t<std::is_function_v<F>>>
bool hasMethod (F V::*pMethod) const
 
template<typename V , typename F , typename = std::enable_if_t<std::is_function_v<F>>>
decltype(auto) vCall (F V::*pMethod, auto &&... args) const
 
template<typename V = const void*>
const V * getVTable (void) const
 
 operator const GblDispatcher * () const
 

Detailed Description

template<typename CRTP>
class gimbal::DispatcherBase< CRTP >

Definition at line 43 of file gimbal_meta.hpp.

Member Function Documentation

◆ getMethodCount()

gimbal::Size getMethodCount ( void  ) const
inline

Definition at line 46 of file gimbal_meta.hpp.

◆ getSize()

gimbal::Size getSize ( void  ) const
inline

Definition at line 45 of file gimbal_meta.hpp.

◆ getVTable()

const V* getVTable ( void  ) const
inline

Definition at line 73 of file gimbal_meta.hpp.

◆ hasMethod()

bool hasMethod ( F V::*  pMethod) const
inline

Definition at line 59 of file gimbal_meta.hpp.

◆ operator const GblDispatcher *()

operator const GblDispatcher * ( ) const
inline

Definition at line 78 of file gimbal_meta.hpp.

◆ vCall()

decltype(auto) vCall ( F V::*  pMethod,
auto &&...  args 
) const
inline

Definition at line 66 of file gimbal_meta.hpp.

◆ vMethod()

F vMethod ( F V::*  pMethod) const
inline

Definition at line 51 of file gimbal_meta.hpp.


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