JANA2
JEventGroupManager Class Reference

JEventGroupManager is a JService which The purpose of JEventGroupManager is to. More...

#include <JEventGroupTracker.h>

Inheritance diagram for JEventGroupManager:
Collaboration diagram for JEventGroupManager:

Public Member Functions

JEventGroupGetEventGroup (int group_id)
 
- Public Member Functions inherited from JService
virtual ~JService ()=default
 acquire_services is a callback which allows the user to configure a JService which relies on other JServices. More...
 
virtual void acquire_services (JServiceLocator *sl)
 

Detailed Description

JEventGroupManager is a JService which The purpose of JEventGroupManager is to.

  1. Maintain ownership over all JEventGroup objects, ensuring that the pointers live the entire duration of JApplication::Run() and are always deleted afterwards.
  2. Enforce the invariant where any two objects with the same identity (i.e. pointer equality) have equal group ids. This makes debugging much easier.
  3. Encourage the practice of keeping state which is shared between different JEvents explicit by using JServices.

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