|
Celeritas 0.7.0-dev.169+develop.bdc0041f6
|
Interface class for optical state data. More...
#include <CoreState.hh>

Public Types | |
Type aliases | |
| using | size_type = TrackSlotId::size_type |
Public Types inherited from celeritas::AuxStateInterface | |
| 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 |
Public Member Functions inherited from celeritas::AuxStateInterface | |
| virtual | ~AuxStateInterface () |
| Default destructor. | |
Protected Member Functions | |
| CELER_DEFAULT_COPY_MOVE (CoreStateInterface) | |
Protected Member Functions inherited from celeritas::AuxStateInterface | |
| 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::CoreStateBase.
|
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 >.