List of all members | Static Private Member Functions | Friends
det::ComponentUpdater Struct Reference

Simple struct to defer update call. More...

#include <ComponentGroup.h>

Static Private Member Functions

template<class Component >
static void UpdateComponent (Component &c, bool invData, bool invComp)
 Perform the update call. More...
 

Friends

template<class A1 , class A2 , class A3 , class A4 >
class ComponentGroup
 Only allow (any kind) of ComponentGroup to call the update. More...
 

Detailed Description

Simple struct to defer update call.

Definition at line 71 of file Detector/ComponentGroup.h.

Member Function Documentation

template<class Component >
static void det::ComponentUpdater::UpdateComponent ( Component &  c,
bool  invData,
bool  invComp 
)
inlinestaticprivate

Perform the update call.

Definition at line 92 of file Detector/ComponentGroup.h.

Referenced by det::ComponentGroup< P, C, Creator, ManagerProvider >::Update().

Friends And Related Function Documentation

template<class A1 , class A2 , class A3 , class A4 >
friend class ComponentGroup
friend

Only allow (any kind) of ComponentGroup to call the update.

This declaration has to be kept in-sync with the actual definition (in the sense of the template argument list) of the class.

This is called from ComponentGroup::Update; with this level of indirection here the client code only needs to declare friendship to this Updater, instead of the final target in ComponentGroup (this mainly avoids the spread of the template argument list issue in those friendship declarations).

Definition at line 88 of file Detector/ComponentGroup.h.


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

, generated on Tue Sep 26 2023.