openPMD-api
 
Loading...
Searching...
No Matches
openPMD::DummyIOHandler Class Reference

Dummy handler without any IO operations. More...

#include <DummyIOHandler.hpp>

Inheritance diagram for openPMD::DummyIOHandler:
openPMD::AbstractIOHandler

Public Member Functions

 DummyIOHandler (std::string, Access)
 
void enqueue (IOTask const &) override
 No-op consistent with the IOHandler interface to enable library use without IO.
 
std::future< void > flush (internal::ParsedFlushParams &) override
 No-op consistent with the IOHandler interface to enable library use without IO.
 
std::string backendName () const override
 The currently used backend.
 
- Public Member Functions inherited from openPMD::AbstractIOHandler
template<typename TracingJSON>
 AbstractIOHandler (std::optional< std::unique_ptr< AbstractIOHandler > > initialize_from, std::string path, Access at, TracingJSON &&jsonConfig, MPI_Comm)
 
template<typename TracingJSON>
 AbstractIOHandler (std::optional< std::unique_ptr< AbstractIOHandler > > initialize_from, std::string path, Access at, TracingJSON &&jsonConfig)
 
 AbstractIOHandler (std::optional< std::unique_ptr< AbstractIOHandler > >)
 
 AbstractIOHandler (AbstractIOHandler const &)=delete
 
 AbstractIOHandler (AbstractIOHandler &&) noexcept(false)
 
AbstractIOHandleroperator= (AbstractIOHandler const &)=delete
 
AbstractIOHandleroperator= (AbstractIOHandler &&) noexcept
 
std::future< void > flush (internal::FlushParams const &)
 Process operations in queue according to FIFO.
 
virtual bool fullSupportForVariableBasedEncoding () const
 
template<>
 AbstractIOHandler (std::optional< std::unique_ptr< AbstractIOHandler > > initialize_from, std::string path, Access at, json::TracingJSON &&jsonConfig, MPI_Comm)
 
template<>
 AbstractIOHandler (std::optional< std::unique_ptr< AbstractIOHandler > > initialize_from, std::string path, Access at, json::TracingJSON &&jsonConfig)
 

Additional Inherited Members

- Public Attributes inherited from openPMD::AbstractIOHandler
std::string directory
 
Access m_backendAccess
 
Access m_frontendAccess
 
std::queue< IOTaskm_work
 
bool m_lastFlushSuccessful = false
 This is to avoid that the destructor tries flushing again if an error happened.
 
internal::SeriesStatus m_seriesStatus = internal::SeriesStatus::Default
 
IterationEncoding m_encoding = IterationEncoding::groupBased
 
OpenpmdStandard m_standard = auxiliary::parseStandard(getStandardDefault())
 
bool m_verify_homogeneous_extents = true
 
- Protected Attributes inherited from openPMD::AbstractIOHandler
std::unique_ptr< json::JsonMatcherjsonMatcher
 

Detailed Description

Dummy handler without any IO operations.

Member Function Documentation

◆ backendName()

std::string openPMD::DummyIOHandler::backendName ( ) const
overridevirtual

The currently used backend.

Implements openPMD::AbstractIOHandler.

◆ enqueue()

void openPMD::DummyIOHandler::enqueue ( IOTask const & )
overridevirtual

No-op consistent with the IOHandler interface to enable library use without IO.

Reimplemented from openPMD::AbstractIOHandler.

◆ flush()

std::future< void > openPMD::DummyIOHandler::flush ( internal::ParsedFlushParams & )
overridevirtual

No-op consistent with the IOHandler interface to enable library use without IO.

Implements openPMD::AbstractIOHandler.


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