Class DomainContext

Class Documentation

class DomainContext

Wrapper for a domain with counter for registered MRs.

The DomainContext class encapsulates the domain pointer and a counter for the number of registered memory regions.

Public Functions

inline explicit DomainContext(fid_domain *domain)

Constructs a DomainContext object with the given domain pointer.

Parameters:

domain – Domain pointer

inline const fid_domain *get_domain() const

Get the domain.

Returns:

A const pointer for const objects, non const for non const objects

inline fid_domain *get_domain()