ADTF
3.18.2
|
Implements iucom_function for the given signature. More...
Public Member Functions | |
function_wrapper (std::function< ResultType(Arguments...)> fnFunction) | |
Constructor that initializes the object with the given function reference. More... | |
function_wrapper (const function_wrapper &)=default | |
function_wrapper (function_wrapper &&)=default | |
function_wrapper & | operator= (const function_wrapper &)=default |
function_wrapper & | operator= (function_wrapper &&)=default |
ResultType | operator() (Arguments... args) const override |
Public Member Functions inherited from object< ifunction< ResultType(Arguments...)> > | |
tResult | GetInterface (const char *i_strIID, void *&o_pInterface) override |
Query interfaces on an object. More... | |
tResult | GetInterface (const char *i_strIID, const void *&o_pInterface) const override |
Provides const correct interface querying. More... | |
void | Destroy () const override |
Destruct and deallocate instantiations of type IObject . More... | |
Public Member Functions inherited from IObject | |
ADTF_IID (IObject, "object.ant.ucom.adtf.iid") | |
Marks the IObject to be castable with the ucom_cast() More... | |
Private Attributes | |
std::function< ResultType(Arguments...)> | m_fnFunction |
Additional Inherited Members | |
Protected Member Functions inherited from IObject | |
~IObject ()=default | |
Protected destructor --> Use implemented Destroy() instead of delete! | |
Implements iucom_function for the given signature.
Definition at line 59 of file function_ptr.h.
|
inline |
Constructor that initializes the object with the given function reference.
[in] | fnFunction | The function that should be exposed via iucom_function. |
Definition at line 66 of file function_ptr.h.