This should be a functor, it is possible to use the keyword ```struct``` instead of ```class``, than you can delete ```public:```

```C++
struct FUNCTORNAME
{
    float operator()(...)
    { cool implementation}
};
```