29#ifndef ADIOS2STMANIMPL_H
30#define ADIOS2STMANIMPL_H
43 std::map<std::string, std::string> engineParams,
44 std::vector<std::map<std::string, std::string>> transportParams,
45 std::vector<std::map<std::string, std::string>> operatorParams, std::string configFile);
61 const String &aDataTypeID);
63 const String &aDataTypeID);
65 const String &aDataTypeID);
67 const String &aDataTypeID);
Block< Adios2StManColumn * > itsColumnPtrBlk
static MPI_Comm itsMpiComm
MPI communicator to be used by all instances of this storage manager.
std::shared_ptr< adios2::IO > itsAdiosIO
static DataManager * makeObject(const String &aDataManType, const Record &spec)
impl(Adios2StMan &parent, void *mpiComm, std::string engineType, std::map< std::string, std::string > engineParams, std::vector< std::map< std::string, std::string > > transportParams, std::vector< std::map< std::string, std::string > > operatorParams, std::string configFile)
static constexpr const char * DATA_MANAGER_TYPE
The type of this storage manager.
DataManagerColumn * makeDirArrColumn(const String &aName, int aDataType, const String &aDataTypeID)
String dataManagerType() const
String dataManagerName() const
static constexpr const char * SPEC_FIELD_ENGINE_PARAMS
The name of the specification field for the ADIOS2 engine parameters.
static constexpr const char * SPEC_FIELD_XML_FILE
The name of the specification field for the ADIOS2 XML configuration file.
static constexpr const char * SPEC_FIELD_TRANSPORT_PARAMS
The name of the specification field for the ADIOS2 transport parameters.
DataManagerColumn * makeIndArrColumn(const String &aName, int aDataType, const String &aDataTypeID)
std::vector< adios2::Params > itsAdiosOperatorParamsVec
Parameters for the ADIOS2 operators (compressors).
Bool flush(AipsIO &ios, Bool doFsync)
void addRow64(rownr_t aNrRows)
std::shared_ptr< adios2::Engine > itsAdiosEngine
rownr_t open64(rownr_t aRowNr, AipsIO &ios)
static constexpr const char * SPEC_FIELD_OPERATOR_PARAMS
The name of the specification field for the ADIOS2 operator parameters.
DataManager * clone() const
static constexpr const char * SPEC_FIELD_ENGINE_TYPE
The name of the specification field for the ADIOS2 engine type.
Record dataManagerSpec() const
std::string itsAdiosConfigFile
The ADIOS2 XML configuration file.
DataManagerColumn * makeScalarColumn(const String &aName, int aDataType, const String &aDataTypeID)
adios2::Params itsAdiosEngineParams
Parameters for the ADIOS2 engine.
DataManagerColumn * makeColumnCommon(const String &aName, int aDataType, const String &aDataTypeID)
std::string itsAdiosEngineType
The ADIOS2 Engine type.
rownr_t resync64(rownr_t aRowNr)
void create64(rownr_t aNrRows)
std::shared_ptr< adios2::ADIOS > itsAdios
void setDataManagerName(const String &aName)
std::vector< adios2::Params > itsAdiosTransportParamsVec
Parameters for the ADIOS2 transports.
Adios2StMan(MPI_Comm mpiComm, std::string engineType={}, std::map< std::string, std::string > engineParams={}, std::vector< std::map< std::string, std::string > > transportParams={}, std::vector< std::map< std::string, std::string > > operatorParams={})
DataManager()
Default constructor.
String: the storage and methods of handling collections of characters.
For temporary backward namespace compatibility, use casa as alias for casacore.
bool Bool
Define the standard types used by Casacore.
uInt64 rownr_t
Define the type of a row number in a table.