![]() |
ATLAS Offline Software
|
Monitoring of object collection references (internal) More...
#include <MonitoredCollection.h>
Public Types | |
using | value_type = typename detail::get_value_type< T >::value_type |
Type of the collection elements. More... | |
using | const_value_type = typename detail::make_pointer_const< value_type >::type |
Public Member Functions | |
ObjectsRefCollection (ObjectsRefCollection &&)=default | |
virtual double | get ([[maybe_unused]] size_t i) const override |
virtual std::string | getString ([[maybe_unused]] size_t i) const override |
virtual bool | hasStringRepresentation () const override |
virtual size_t | size () const override |
Private Member Functions | |
ObjectsRefCollection (std::string name, const std::reference_wrapper< T > &collection, std::function< R(const const_value_type &)> converterToR) | |
ObjectsRefCollection (ObjectsRefCollection const &)=delete | |
ObjectsRefCollection & | operator= (ObjectsRefCollection const &)=delete |
Private Attributes | |
const std::reference_wrapper< T > & | m_collection |
std::function< R(const const_value_type &)> | m_converterToR |
Friends | |
template<class U > | |
ObjectsRefCollection< U, double > | Collection (std::string name, const std::reference_wrapper< U > &collection, std::function< double(const typename ObjectsRefCollection< U, double >::const_value_type &)> accessor) |
template<class U > | |
ObjectsRefCollection< U, std::string > | Collection (std::string name, const std::reference_wrapper< U > &collection, std::function< std::string(const typename ObjectsRefCollection< U, std::string >::const_value_type &)> converterToString) |
Monitoring of object collection references (internal)
Template types are: T - collection, R - result type of the converter function (convertible to double or string) This class is not supposed to be used by the end user.
Definition at line 20 of file MonitoredCollection.h.
using Monitored::ObjectsRefCollection< T, R >::const_value_type = typename detail::make_pointer_const<value_type>::type |
Definition at line 350 of file MonitoredCollection.h.
using Monitored::ObjectsRefCollection< T, R >::value_type = typename detail::get_value_type<T>::value_type |
Type of the collection elements.
Definition at line 349 of file MonitoredCollection.h.
|
default |
|
inlineprivate |
Definition at line 390 of file MonitoredCollection.h.
|
privatedelete |
|
inlineoverridevirtual |
Definition at line 365 of file MonitoredCollection.h.
|
inlineoverridevirtual |
Definition at line 372 of file MonitoredCollection.h.
|
inlineoverridevirtual |
Definition at line 379 of file MonitoredCollection.h.
|
privatedelete |
|
inlineoverridevirtual |
Definition at line 382 of file MonitoredCollection.h.
|
friend |
|
friend |
|
private |
Definition at line 387 of file MonitoredCollection.h.
|
private |
Definition at line 388 of file MonitoredCollection.h.