The Xc++ language allows for defining function objects using $functor.
For example
$functor+ float64 MyFunctor(int32 n);
The '+' means that the functor public - so it is reflected and exported by the library
When a $functor is reflected an instance of a ReflectedFunctor is registered in the ReflectedFunctor registry.