argos::CQTOpenGLUserFunctions::CFunctionHolderImpl< USER_IMPL, ENTITY > Class Template Reference

The actual function holder. More...

#include <qtopengl_user_functions.h>

Inheritance diagram for argos::CQTOpenGLUserFunctions::CFunctionHolderImpl< USER_IMPL, ENTITY >:
Collaboration diagram for argos::CQTOpenGLUserFunctions::CFunctionHolderImpl< USER_IMPL, ENTITY >:

Public Types

typedef void(USER_IMPL::* TFunction) (ENTITY &)
 

Public Member Functions

 CFunctionHolderImpl (TFunction t_function)
 

Public Attributes

TFunction Function
 

Detailed Description

template<typename USER_IMPL, typename ENTITY>
class argos::CQTOpenGLUserFunctions::CFunctionHolderImpl< USER_IMPL, ENTITY >

The actual function holder.

This template class holds a pointer to a user-defined method.

Parameters
USER_IMPLA user-defined subclass of CQTOpenGLUserFunctions.
ENTITYThe entity type to pass as a parameter to the user-defined method.
See also
CFunctionHolder

Definition at line 411 of file qtopengl_user_functions.h.

Member Typedef Documentation

◆ TFunction

template<typename USER_IMPL , typename ENTITY >
typedef void(USER_IMPL::* argos::CQTOpenGLUserFunctions::CFunctionHolderImpl< USER_IMPL, ENTITY >::TFunction) (ENTITY &)

Definition at line 413 of file qtopengl_user_functions.h.

Constructor & Destructor Documentation

◆ CFunctionHolderImpl()

template<typename USER_IMPL , typename ENTITY >
argos::CQTOpenGLUserFunctions::CFunctionHolderImpl< USER_IMPL, ENTITY >::CFunctionHolderImpl ( TFunction  t_function)
inline

Definition at line 415 of file qtopengl_user_functions.h.

Member Data Documentation

◆ Function

template<typename USER_IMPL , typename ENTITY >
TFunction argos::CQTOpenGLUserFunctions::CFunctionHolderImpl< USER_IMPL, ENTITY >::Function

Definition at line 414 of file qtopengl_user_functions.h.