DUECA/DUSIME
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
dueca::CommonCallback< RET, A1, M > Class Template Reference

Specific class for callback mechanism, 1 parameter. More...

#include <CommonCallback.hxx>

Inheritance diagram for dueca::CommonCallback< RET, A1, M >:
Inheritance graph
[legend]
Collaboration diagram for dueca::CommonCallback< RET, A1, M >:
Collaboration graph
[legend]

Public Types

typedef RET(M::* call_type) (A1 &)
 Type for a pointer to the callback function.
 
- Public Types inherited from dueca::CommonCallbackBase< RET, A1 >
typedef boost::intrusive_ptr< CommonCallbackBase< RET, A1 > > smart_ptr_type
 Type definition of the callback object.
 

Public Member Functions

RET operator() (A1 &a1) final
 Callback function.
 
 CommonCallback (M *obj, RET(M::*call1)(A1 &))
 Constructor.
 
- Public Member Functions inherited from dueca::CommonCallbackBase< RET, A1 >
virtual ~CommonCallbackBase ()
 Destructor.
 

Additional Inherited Members

- Protected Member Functions inherited from dueca::CommonCallbackBase< RET, A1 >
 CommonCallbackBase ()
 Constructor.
 

Detailed Description

template<typename RET, typename A1, class M>
class dueca::CommonCallback< RET, A1, M >

Specific class for callback mechanism, 1 parameter.

It is advisable to use the common_callback function to generate these objects.

Member Function Documentation

◆ operator()()

template<typename RET , typename A1 , class M >
RET dueca::CommonCallback< RET, A1, M >::operator() ( A1 & a1)
inlinefinalvirtual

Callback function.

Parameters
a1Argument 1

Implements dueca::CommonCallbackBase< RET, A1 >.


The documentation for this class was generated from the following file: