votca 2024.2-dev
Loading...
Searching...
No Matches
votca::csg::NBList::FunctorMember< T > Class Template Reference

Functor for member functions. More...

#include <nblist.h>

Inheritance diagram for votca::csg::NBList::FunctorMember< T >:
Collaboration diagram for votca::csg::NBList::FunctorMember< T >:

Public Types

using fkt_t = bool (T::*)(Bead *, Bead *, const Eigen::Vector3d &, double)
 

Public Member Functions

 FunctorMember (T *cls, fkt_t fkt)
 
bool operator() (Bead *b1, Bead *b2, const Eigen::Vector3d &r, double dist) override
 
- Public Member Functions inherited from votca::csg::NBList::Functor
 Functor ()=default
 
virtual ~Functor ()=default
 

Private Attributes

T * cls_
 
fkt_t fkt_
 

Detailed Description

template<typename T>
class votca::csg::NBList::FunctorMember< T >

Functor for member functions.

Definition at line 119 of file nblist.h.

Member Typedef Documentation

◆ fkt_t

template<typename T >
using votca::csg::NBList::FunctorMember< T >::fkt_t = bool (T::*)(Bead *, Bead *, const Eigen::Vector3d &, double)

Definition at line 121 of file nblist.h.

Constructor & Destructor Documentation

◆ FunctorMember()

template<typename T >
votca::csg::NBList::FunctorMember< T >::FunctorMember ( T * cls,
fkt_t fkt )
inline

Definition at line 123 of file nblist.h.

Member Function Documentation

◆ operator()()

template<typename T >
bool votca::csg::NBList::FunctorMember< T >::operator() ( Bead * b1,
Bead * b2,
const Eigen::Vector3d & r,
double dist )
inlineoverridevirtual

Implements votca::csg::NBList::Functor.

Definition at line 125 of file nblist.h.

Member Data Documentation

◆ cls_

template<typename T >
T* votca::csg::NBList::FunctorMember< T >::cls_
private

Definition at line 131 of file nblist.h.

◆ fkt_

template<typename T >
fkt_t votca::csg::NBList::FunctorMember< T >::fkt_
private

Definition at line 132 of file nblist.h.


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