Realm
A distributed, event-based tasking library
Loading...
Searching...
No Matches
Realm::InstanceLayoutPiece< N, T > Class Template Referenceabstract

#include <inst_layout.h>

Inheritance diagram for Realm::InstanceLayoutPiece< N, T >:
Collaboration diagram for Realm::InstanceLayoutPiece< N, T >:

Public Member Functions

 InstanceLayoutPiece (void)
 
 InstanceLayoutPiece (PieceLayoutTypes::LayoutType _layout_type)
 
 InstanceLayoutPiece (PieceLayoutTypes::LayoutType _layout_type, const Rect< N, T > &_bounds)
 
virtual InstanceLayoutPiece< N, T > * clone (void) const =0
 
virtual size_t calculate_offset (const Point< N, T > &p) const =0
 
- Public Member Functions inherited from Realm::InstanceLayoutPieceBase
 InstanceLayoutPieceBase (PieceLayoutTypes::LayoutType _layout_type)
 
virtual ~InstanceLayoutPieceBase (void)
 
virtual void relocate (size_t base_offset)=0
 
virtual void print (std::ostream &os) const =0
 
virtual size_t lookup_inst_size () const =0
 
virtual PieceLookup::Instructioncreate_lookup_inst (void *ptr, unsigned next_delta) const =0
 

Static Public Member Functions

template<typename S >
static InstanceLayoutPiece< N, T > * deserialize_new (S &deserializer)
 

Public Attributes

Rect< N, T > bounds
 
- Public Attributes inherited from Realm::InstanceLayoutPieceBase
PieceLayoutTypes::LayoutType layout_type
 

Detailed Description

template<int N, typename T = int>
class Realm::InstanceLayoutPiece< N, T >

A piece of an instance layout that is defined by a single rectangle.

Constructor & Destructor Documentation

◆ InstanceLayoutPiece() [1/3]

template<int N, typename T = int>
Realm::InstanceLayoutPiece< N, T >::InstanceLayoutPiece ( void  )

◆ InstanceLayoutPiece() [2/3]

template<int N, typename T = int>
Realm::InstanceLayoutPiece< N, T >::InstanceLayoutPiece ( PieceLayoutTypes::LayoutType  _layout_type)

◆ InstanceLayoutPiece() [3/3]

template<int N, typename T = int>
Realm::InstanceLayoutPiece< N, T >::InstanceLayoutPiece ( PieceLayoutTypes::LayoutType  _layout_type,
const Rect< N, T > &  _bounds 
)

Member Function Documentation

◆ calculate_offset()

template<int N, typename T = int>
virtual size_t Realm::InstanceLayoutPiece< N, T >::calculate_offset ( const Point< N, T > &  p) const
pure virtual

◆ clone()

template<int N, typename T = int>
virtual InstanceLayoutPiece< N, T > * Realm::InstanceLayoutPiece< N, T >::clone ( void  ) const
pure virtual

◆ deserialize_new()

template<int N, typename T = int>
template<typename S >
static InstanceLayoutPiece< N, T > * Realm::InstanceLayoutPiece< N, T >::deserialize_new ( S &  deserializer)
static

Member Data Documentation

◆ bounds

template<int N, typename T = int>
Rect<N, T> Realm::InstanceLayoutPiece< N, T >::bounds

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