Commit 9a567e6
Move the o2-sim device implementations into source files
This moves the implementation of the o2-sim primary server, worker and hit merger devices out of their headers.
- The three device headers defined all member functions and several non-inline free functions.
- Each header now declares its class; the definitions are in O2PrimaryServerDevice.cxx, O2SimDevice.cxx and O2HitMerger.cxx, compiled into their runners.
- querySimConfig moves from O2SimDevice to PrimaryServerState.cxx, so the hit merger no longer includes the worker and macro/o2sim.C.
- The helpers in SimPublishChannelHelper.h are now inline, and PrimStateToString is inline constexpr.
- The unused nested TMessageWrapper of the hit merger and CustomCleanup of the worker are removed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 64771ff commit 9a567e6
11 files changed
Lines changed: 2160 additions & 1934 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
0 commit comments