#include <XrdClOperationHandlers.hh>
Factory class, overloads Resp for void type
Definition at line 712 of file XrdClOperationHandlers.hh.
◆ Create() [1/3]
A factory method
- Parameters
-
func | : the function/functor/lambda that should be wrapped |
- Returns
- : SimpleFunctionWrapper instance
Definition at line 720 of file XrdClOperationHandlers.hh.
721 {
722 return new FunctionWrapper<void>( func );
723 }
◆ Create() [2/3]
A factory method
- Parameters
-
func | : the function/functor/lambda that should be wrapped |
- Returns
- : SimpleFunctionWrapper instance
Definition at line 731 of file XrdClOperationHandlers.hh.
732 {
733 return new FunctionWrapper<void>( func );
734 }
◆ Create() [3/3]
template<typename Return >
A factory method
- Parameters
-
task | : the task that should be wrapped |
- Returns
- : TaskWrapper instance
Definition at line 743 of file XrdClOperationHandlers.hh.
744 {
745 return new TaskWrapper<void, Return>( std::move( task ) );
746 }
The documentation for this struct was generated from the following file: