KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
List of all members
Kratos::PoolObject Class Reference

This redefines the new and delete operators of derived class to be allocated in pool. More...

#include <pool_object.h>

Collaboration diagram for Kratos::PoolObject:

Public Member Functions

Type Definitions
 KRATOS_CLASS_POINTER_DEFINITION (PoolObject)
 Pointer definition of PoolObject. More...
 
Life Cycle
 PoolObject ()
 Default constructor. More...
 
virtual ~PoolObject ()
 Destructor. More...
 
Operators
void * operator new (std::size_t Size)
 
void operator delete (void *pPointerToRelease, std::size_t Size)
 
Input and output
virtual std::string Info () const
 Turn back information as a string. More...
 
virtual void PrintInfo (std::ostream &rOStream) const
 Print information about this object. More...
 
virtual void PrintData (std::ostream &rOStream) const
 Print object's data. More...
 

Detailed Description

This redefines the new and delete operators of derived class to be allocated in pool.

The PoolObject is the base class for classes to be allocated in the pool

Constructor & Destructor Documentation

◆ PoolObject()

Kratos::PoolObject::PoolObject ( )
inline

Default constructor.

◆ ~PoolObject()

virtual Kratos::PoolObject::~PoolObject ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ Info()

virtual std::string Kratos::PoolObject::Info ( ) const
inlinevirtual

Turn back information as a string.

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::PoolObject::KRATOS_CLASS_POINTER_DEFINITION ( PoolObject  )

Pointer definition of PoolObject.

◆ operator delete()

void Kratos::PoolObject::operator delete ( void *  pPointerToRelease,
std::size_t  Size 
)
inline

◆ operator new()

void* Kratos::PoolObject::operator new ( std::size_t  Size)
inline

◆ PrintData()

virtual void Kratos::PoolObject::PrintData ( std::ostream &  rOStream) const
inlinevirtual

Print object's data.

◆ PrintInfo()

virtual void Kratos::PoolObject::PrintInfo ( std::ostream &  rOStream) const
inlinevirtual

Print information about this object.


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