1 #ifndef SIPLASPLAS_REFLECTION_DYNAMIC_FUNCTION_HPP 2 #define SIPLASPLAS_REFLECTION_DYNAMIC_FUNCTION_HPP 5 #include <siplasplas/typeerasure/function.hpp> 10 namespace dynamic_reflection
23 template<
typename... Args>
26 return _functionPointer(std::forward<Args>(args)...);
32 template<
typename... Args>
35 return _functionPointer(std::forward<Args>(args)...);
64 static Function& fromEntity(
const std::shared_ptr<Entity>& entity);
76 #endif // SIPLASPLAS_REFLECTION_DYNAMIC_FUNCTION_HPP Definition: messaging.hpp:8
auto operator()(Args &&... args)
Invokes the function with the given arguments.
Definition: function.hpp:33
auto operator()(Args &&... args) const
Invokes the function with the given arguments.
Definition: function.hpp:24
Represents a C++ semantic entity (Class, function, namespace, etc) and manages its dynamic reflection...
Definition: entity.hpp:22
Definition: sourceinfo.hpp:16
Stires dynamic reflection information of a function.
Definition: function.hpp:17
Stores a type-erased callable of any signature and kind.
Definition: function.hpp:58