argos::CVTable< CONTEXT, BASE, FUNCTION > Class Template Reference

The actual vtable. More...

#include <vtable.h>

Public Member Functions

template<typename DERIVED >
void Add (FUNCTION t_function)
 
FUNCTION operator[] (size_t un_index) const
 
size_t Size () const
 

Detailed Description

template<typename CONTEXT, typename BASE, typename FUNCTION>
class argos::CVTable< CONTEXT, BASE, FUNCTION >

The actual vtable.

Definition at line 155 of file vtable.h.

Member Function Documentation

◆ Add()

template<typename CONTEXT , typename BASE , typename FUNCTION >
template<typename DERIVED >
void argos::CVTable< CONTEXT, BASE, FUNCTION >::Add ( FUNCTION  t_function)
inline

Definition at line 158 of file vtable.h.

◆ operator[]()

template<typename CONTEXT , typename BASE , typename FUNCTION >
FUNCTION argos::CVTable< CONTEXT, BASE, FUNCTION >::operator[] ( size_t  un_index) const
inline

Definition at line 179 of file vtable.h.

◆ Size()

template<typename CONTEXT , typename BASE , typename FUNCTION >
size_t argos::CVTable< CONTEXT, BASE, FUNCTION >::Size ( ) const
inline

Definition at line 186 of file vtable.h.