| The Gaudi Framework v32r1 (f65d50dc)

Public Member Functions | Public Attributes | List of all members
Gaudi::Details::Property::ReadHandler Struct Reference

`#include <GaudiKernel/Property.h>`

Inheritance diagram for Gaudi::Details::Property::ReadHandler:
[legend]
Collaboration diagram for Gaudi::Details::Property::ReadHandler:
[legend]

## Public Member Functions
void | useReadHandler (const PropertyBase &p) const
void | setReadHandler (std::function< void(PropertyBase &)> fun)
std::function< void(PropertyBase &)> | getReadHandler () const
Public Member Functions inherited from Gaudi::Details::Property::NoHandler
void | useReadHandler (const PropertyBase &) const
void | setReadHandler (std::function< void(PropertyBase &)>)
std::function< void(PropertyBase &)> | getReadHandler () const
void | useUpdateHandler (const PropertyBase &) const
void | setUpdateHandler (std::function< void(PropertyBase &)>)
std::function< void(PropertyBase &)> | getUpdateHandler () const

## Public Attributes
std::function< void(PropertyBase &)> | m_readCallBack

## Detailed Description

Definition at line 307 of file Property.h.

## Member Function Documentation

## ◆ getReadHandler()

std::function<void( PropertyBase& )> Gaudi::Details::Property::ReadHandler::getReadHandler | ( |  | ) | const
| inline

Definition at line 313 of file Property.h.

313 { return m_readCallBack; }
Gaudi::Details::Property::ReadHandler::m_readCallBack
std::function< void(PropertyBase &)> m_readCallBack
Definition: Property.h:308

## ◆ setReadHandler()

void Gaudi::Details::Property::ReadHandler::setReadHandler | ( | std::function< void(PropertyBase &)> | fun | ) |
| inline

Definition at line 312 of file Property.h.

312 { m_readCallBack = std::move( fun ); }
Gaudi::Details::Property::ReadHandler::m_readCallBack
std::function< void(PropertyBase &)> m_readCallBack
Definition: Property.h:308
std::move
T move(T... args)

## ◆ useReadHandler()

void Gaudi::Details::Property::ReadHandler::useReadHandler | ( | const PropertyBase & | p | ) | const
| inline

Definition at line 309 of file Property.h.

309 {
310 if ( m_readCallBack ) { SwapCall{m_readCallBack}( const_cast<PropertyBase&>( p ) ); }
311 }
Gaudi::Details::Property::ReadHandler::m_readCallBack
std::function< void(PropertyBase &)> m_readCallBack
Definition: Property.h:308

## Member Data Documentation

## ◆ m_readCallBack

std::function<void( PropertyBase& )> Gaudi::Details::Property::ReadHandler::m_readCallBack
| mutable

Definition at line 308 of file Property.h.

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

- GaudiKernel/GaudiKernel/Property.h