Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::IDataFactoryMng Class Referenceabstract

Interface of the data factory manager. More...

#include <arcane/core/IDataFactoryMng.h>

Inheritance diagram for Arcane::IDataFactoryMng:
Collaboration diagram for Arcane::IDataFactoryMng:

Public Member Functions

virtual void build ()=0
 Builds the instance.
virtual ITraceMngtraceMng () const =0
 Associated trace manager.
virtual void registerDataStorageFactory (Ref< IDataStorageFactory > factory)=0
 Registers the factory factory.
virtual Ref< IDatacreateSimpleDataRef (const String &storage_type, const DataStorageBuildInfo &build_info)=0
virtual IDataOperationcreateDataOperation (Parallel::eReduceType rt)=0
 Creates an operation performing a reduction of type rt.
virtual Ref< ISerializedDatacreateSerializedDataRef (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< ISerializedDatacreateEmptySerializedDataRef ()=0
 Creates serialized data.
virtual IDataFactorydeprecatedOldFactory () const =0
 Retrieves the old factory (obsolete).

Detailed Description

Interface of the data factory manager.

Note
This interface replaces 'IDataFactory'

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.

Member Function Documentation

◆ build()

virtual void Arcane::IDataFactoryMng::build ( )
pure virtual

Builds the instance.

Implemented in Arcane::DataFactoryMng.

◆ createDataOperation()

virtual IDataOperation * Arcane::IDataFactoryMng::createDataOperation ( Parallel::eReduceType rt)
pure virtual

Creates an operation performing a reduction of type rt.

Implemented in Arcane::DataFactoryMng.

Referenced by Arcane::mesh::ItemFamily::reduceFromGhostItems().

Here is the caller graph for this function:

◆ createEmptySerializedDataRef()

virtual Ref< ISerializedData > Arcane::IDataFactoryMng::createEmptySerializedDataRef ( )
pure virtual

Creates serialized data.

The serialized data is empty. It can only be used after calling an ISerializedData::serialize() in ISerializer::ModePut mode.

Deprecated
Use arcaneCreateEmptySerializedDataRef() instead.

Implemented in Arcane::DataFactoryMng.

References createEmptySerializedDataRef().

Referenced by createEmptySerializedDataRef().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ createSerializedDataRef()

virtual Ref< ISerializedData > Arcane::IDataFactoryMng::createSerializedDataRef ( eDataType data_type,
Int64 memory_size,
Integer nb_dim,
Int64 nb_element,
Int64 nb_base_element,
bool is_multi_size,
Int64ConstArrayView dimensions )
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.

Deprecated
Use arcaneCreateSerializedDataRef() instead

Implemented in Arcane::DataFactoryMng.

References createSerializedDataRef().

Referenced by createSerializedDataRef().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ deprecatedOldFactory()

virtual IDataFactory * Arcane::IDataFactoryMng::deprecatedOldFactory ( ) const
pure virtual

Retrieves the old factory (obsolete).

Implemented in Arcane::DataFactoryMng.

References deprecatedOldFactory().

Referenced by deprecatedOldFactory().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ registerDataStorageFactory()

virtual void Arcane::IDataFactoryMng::registerDataStorageFactory ( Ref< IDataStorageFactory > factory)
pure virtual

Registers the factory factory.

Implemented in Arcane::DataFactoryMng.

Referenced by Arcane::DataStorageFactory< DataType >::registerDataFactory().

Here is the caller graph for this function:

◆ traceMng()

virtual ITraceMng * Arcane::IDataFactoryMng::traceMng ( ) const
pure virtual

Associated trace manager.

Implemented in Arcane::DataFactoryMng.

Referenced by Arcane::DataStorageFactory< DataType >::registerDataFactory().

Here is the caller graph for this function:

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