Interface of the data factory manager. More...
#include <arcane/core/IDataFactoryMng.h>
Public Member Functions | |
| virtual void | build ()=0 |
| Builds the instance. | |
| virtual ITraceMng * | traceMng () const =0 |
| Associated trace manager. | |
| virtual void | registerDataStorageFactory (Ref< IDataStorageFactory > factory)=0 |
| Registers the factory factory. | |
| virtual Ref< IData > | createSimpleDataRef (const String &storage_type, const DataStorageBuildInfo &build_info)=0 |
| virtual IDataOperation * | createDataOperation (Parallel::eReduceType rt)=0 |
| Creates an operation performing a reduction of type rt. | |
| virtual Ref< ISerializedData > | createSerializedDataRef (eDataType data_type, Int64 memory_size, Integer nb_dim, Int64 nb_element, Int64 nb_base_element, bool is_multi_size, Int64ConstArrayView dimensions)=0 |
| Creates serialized data. | |
| virtual Ref< ISerializedData > | createEmptySerializedDataRef ()=0 |
| Creates serialized data. | |
| virtual IDataFactory * | deprecatedOldFactory () const =0 |
| Retrieves the old factory (obsolete). | |
Interface of the data factory manager.
This interface allows registering factories to create 'IData' (via registerDataStorageFactory()) and to construct the correct IData instance by calling createSimpleDataRef().
Definition at line 40 of file IDataFactoryMng.h.
|
pure virtual |
Builds the instance.
Implemented in Arcane::DataFactoryMng.
|
pure virtual |
Creates an operation performing a reduction of type rt.
Implemented in Arcane::DataFactoryMng.
Referenced by Arcane::mesh::ItemFamily::reduceFromGhostItems().
|
pure virtual |
Creates serialized data.
The serialized data is empty. It can only be used after calling an ISerializedData::serialize() in ISerializer::ModePut mode.
Implemented in Arcane::DataFactoryMng.
References createEmptySerializedDataRef().
Referenced by createEmptySerializedDataRef().
|
pure virtual |
Creates serialized data.
The arrays dimensions and values are not duplicated and must not be modified while the serialized object is in use.
The data_type must be one of the types: DT_Byte, DT_Int16, DT_Int32, DT_Int64, or DT_Real.
Implemented in Arcane::DataFactoryMng.
References createSerializedDataRef().
Referenced by createSerializedDataRef().
|
pure virtual |
Retrieves the old factory (obsolete).
Implemented in Arcane::DataFactoryMng.
References deprecatedOldFactory().
Referenced by deprecatedOldFactory().
|
pure virtual |
Registers the factory factory.
Implemented in Arcane::DataFactoryMng.
Referenced by Arcane::DataStorageFactory< DataType >::registerDataFactory().
|
pure virtual |
Associated trace manager.
Implemented in Arcane::DataFactoryMng.
Referenced by Arcane::DataStorageFactory< DataType >::registerDataFactory().