CIRCT  20.0.0git
Public Member Functions | List of all members
esi::services::HostMem::HostMemRegion Struct Referenceabstract

RAII memory region for host memory. More...

#include <Services.h>

Inheritance diagram for esi::services::HostMem::HostMemRegion:
Inheritance graph
[legend]

Public Member Functions

virtual ~HostMemRegion ()=default
 
virtual void * getPtr () const =0
 
 operator void * () const
 
virtual std::size_t getSize () const =0
 

Detailed Description

RAII memory region for host memory.

Automatically frees the memory when deconstructed.

Definition at line 201 of file Services.h.

Constructor & Destructor Documentation

◆ ~HostMemRegion()

virtual esi::services::HostMem::HostMemRegion::~HostMemRegion ( )
virtualdefault

Member Function Documentation

◆ getPtr()

virtual void* esi::services::HostMem::HostMemRegion::getPtr ( ) const
pure virtual

◆ getSize()

virtual std::size_t esi::services::HostMem::HostMemRegion::getSize ( ) const
pure virtual

Implemented in TraceHostMem::TraceHostMemRegion.

Referenced by PYBIND11_MODULE().

◆ operator void *()

esi::services::HostMem::HostMemRegion::operator void * ( ) const
inline

Definition at line 204 of file Services.h.

References getPtr().


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