The Gaudi Framework
v30r3 (a5ef0a68)
|
This class is used by IUpdateManagerSvc to keep pairs made of a member function and a pointer to the object for which that member function has to be called. More...
#include <GaudiKernel/IUpdateManagerSvc.h>
Public Types | |
typedef StatusCode(CallerClass::* | MemberFunctionType) () |
MemberFunctionType is the type for a pointer to a member function of class CallerClass. More... | |
Public Member Functions | |
StatusCode | operator() () const override |
Calls the member function of the object and returns the StatusCode. More... | |
BaseObjectMemberFunction * | makeCopy () const override |
Clone method to be able to copy an ObjectMemberFunction from the BaseObjectMemberFunction interface. More... | |
const std::type_info & | type () const override |
Returns the type_info of the CallerClass. More... | |
bool | match (BaseObjectMemberFunction *bmf) const override |
Comparison between two BaseObjectMemberFunction instances. More... | |
DataObject * | castToDataObject () const override |
Cast the object to DataObject. More... | |
ValidDataObject * | castToValidDataObject () const override |
Cast the object to ValidDataObject. More... | |
void * | castToVoid () const override |
Cast the object to void with dynamic_cast. More... | |
Public Member Functions inherited from BaseObjectMemberFunction | |
virtual | ~BaseObjectMemberFunction ()=default |
Virtual destructor. More... | |
Protected Member Functions | |
ObjectMemberFunction (CallerClass *instance, const MemberFunctionType &mf) | |
Standard constructor. Protected so that can be called only by itself or IUpdateManagerSvc. More... | |
Protected Attributes | |
CallerClass * | m_instance |
Pointer to the object. More... | |
MemberFunctionType | m_memberFunction |
Pointer to the member function. More... | |
Friends | |
class | IUpdateManagerSvc |
This class is used by IUpdateManagerSvc to keep pairs made of a member function and a pointer to the object for which that member function has to be called.
Definition at line 57 of file IUpdateManagerSvc.h.
typedef StatusCode( CallerClass::* ObjectMemberFunction< CallerClass >::MemberFunctionType) () |
MemberFunctionType is the type for a pointer to a member function of class CallerClass.
Definition at line 61 of file IUpdateManagerSvc.h.
|
inlineprotected |
Standard constructor. Protected so that can be called only by itself or IUpdateManagerSvc.
Definition at line 102 of file IUpdateManagerSvc.h.
|
inlineoverridevirtual |
Cast the object to DataObject.
Implements BaseObjectMemberFunction.
Definition at line 92 of file IUpdateManagerSvc.h.
|
inlineoverridevirtual |
Cast the object to ValidDataObject.
Implements BaseObjectMemberFunction.
Definition at line 95 of file IUpdateManagerSvc.h.
|
inlineoverridevirtual |
Cast the object to void with dynamic_cast.
Implements BaseObjectMemberFunction.
Definition at line 98 of file IUpdateManagerSvc.h.
|
inlineoverridevirtual |
Clone method to be able to copy an ObjectMemberFunction from the BaseObjectMemberFunction interface.
Implements BaseObjectMemberFunction.
Definition at line 72 of file IUpdateManagerSvc.h.
|
inlineoverridevirtual |
Comparison between two BaseObjectMemberFunction instances.
Implements BaseObjectMemberFunction.
Definition at line 81 of file IUpdateManagerSvc.h.
|
inlineoverridevirtual |
Calls the member function of the object and returns the StatusCode.
If the pointer to the member function is nullptr, do nothing and return success.
Implements BaseObjectMemberFunction.
Definition at line 65 of file IUpdateManagerSvc.h.
|
inlineoverridevirtual |
Returns the type_info of the CallerClass.
Implements BaseObjectMemberFunction.
Definition at line 78 of file IUpdateManagerSvc.h.
|
friend |
Definition at line 113 of file IUpdateManagerSvc.h.
|
protected |
Pointer to the object.
Definition at line 108 of file IUpdateManagerSvc.h.
|
protected |
Pointer to the member function.
Definition at line 111 of file IUpdateManagerSvc.h.