Celeritas  0.5.0-56+6b053cd
List of all members
celeritas::MutableActionInterface Class Reference

Interface that can modify the action's state. More...

#include <ActionInterface.hh>

Inheritance diagram for celeritas::MutableActionInterface:
Inheritance graph
[legend]

Additional Inherited Members

- Public Member Functions inherited from celeritas::ActionInterface
virtual ~ActionInterface () noexcept=0
 Default destructor.
 
virtual ActionId action_id () const =0
 ID of this action for verification and ordering.
 
virtual std::string_view label () const =0
 Short unique label of the action.
 
virtual std::string_view description () const =0
 Description of the action.
 
- Protected Member Functions inherited from celeritas::ActionInterface
 ActionInterface ()=default
 
 CELER_DEFAULT_COPY_MOVE (ActionInterface)
 

Detailed Description

Interface that can modify the action's state.

Most actions can modify only the local "state" being passed as an argument. This one allows data to be allocated or initialized at the beginning of the run.

Todo:
Delete this to allow only stateless actions, since now we have aux data? This will reduce overhead for virtual inheritance classes too.

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