IBAMR
An adaptive and distributed-memory parallel implementation of the immersed boundary (IB) method
Public Member Functions | List of all members
IBTK::StreamableFactory Class Referenceabstract

Class StreamableFactory is an abstract interface for classes that can unpack particular concrete Streamable objects from SAMRAI::tbox::AbstractStream data streams. More...

#include </home/runner/work/IBAMR/IBAMR/ibtk/include/ibtk/StreamableFactory.h>

Inheritance diagram for IBTK::StreamableFactory:
Inheritance graph
[legend]

Public Member Functions

 StreamableFactory ()=default
 Default empty constructor.
 
virtual ~StreamableFactory ()=default
 Virtual destructor.
 
virtual int getStreamableClassID () const =0
 Return the unique class identifier used to specify the StreamableFactory object used by the StreamableManager to extract Streamable objects from data streams.
 
virtual void setStreamableClassID (int class_id)=0
 Set the unique identifier used to specify the StreamableFactory object used by the StreamableManager to extract Streamable objects from data streams.
 
virtual SAMRAI::tbox::Pointer< StreamableunpackStream (SAMRAI::tbox::AbstractStream &stream, const SAMRAI::hier::IntVector< NDIM > &offset)=0
 Build a Streamable object by unpacking data from the data stream.
 

Detailed Description

Class StreamableFactory is an abstract interface for classes that can unpack particular concrete Streamable objects from SAMRAI::tbox::AbstractStream data streams.

Note
Each concrete Streamable class must have a corresponding concrete StreamableFactory class. Classes that implement the Streamable interface are able to pack themselves into a stream; the corresponding StreamableFactory class is used to unpack that data and construct the corresponding Streamable object.
Class StreamableManager should be used for all communications and storage operations.
See also
Streamable
StreamableManager

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