Celeritas 0.6.0-dev.115+3b60a5fd
|
Interface class for optical state data. More...
#include <CoreState.hh>
Public Types | |
Type aliases | |
using | size_type = TrackSlotId::size_type |
![]() | |
using | SPState = std::shared_ptr< AuxStateInterface > |
Default destructor. | |
Public Member Functions | |
~CoreStateInterface () override | |
Support polymorphic deletion. | |
virtual StreamId | stream_id () const =0 |
Thread/stream ID. | |
virtual CoreStateCounters const & | counters () const =0 |
Access track initialization counters. | |
virtual size_type | size () const =0 |
Number of track slots. | |
virtual void | insert_primaries (Span< TrackInitializer const > host_primaries)=0 |
![]() | |
virtual | ~AuxStateInterface () |
Default destructor. | |
Protected Member Functions | |
CELER_DEFAULT_COPY_MOVE (CoreStateInterface) | |
![]() | |
AuxStateInterface ()=default | |
CELER_DEFAULT_COPY_MOVE (AuxStateInterface) | |
Default destructor. | |
Interface class for optical state data.
This inherits from the "aux state" interface to allow stream-local storage with the optical offload data.
|
pure virtual |
Access track initialization counters.
Implemented in celeritas::optical::CoreState< M >.
|
pure virtual |
Implemented in celeritas::optical::CoreState< M >.
|
pure virtual |
Number of track slots.
Implemented in celeritas::optical::CoreState< M >.
Thread/stream ID.
Implemented in celeritas::optical::CoreState< M >.