Celeritas  0.5.0-56+6b053cd
Public Member Functions | Protected Member Functions | List of all members
celeritas::optical::CoreStateInterface Class Referenceabstract

Interface class for optical state data. More...

#include <CoreState.hh>

Inheritance diagram for celeritas::optical::CoreStateInterface:
Inheritance graph
[legend]

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

virtual ~CoreStateInterface ()
 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.
 

Detailed Description

Interface class for optical state data.

This inherits from the "aux state" interface to allow stream-local storage with the optical offload data.


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