![]() |
Realm
A distributed, event-based tasking library
|
#include <inst_layout.h>
Public Member Functions | |
| AffineLayoutPiece (void) | |
| virtual InstanceLayoutPiece< N, T > * | clone (void) const |
| virtual size_t | calculate_offset (const Point< N, T > &p) const |
| virtual void | relocate (size_t base_offset) |
| virtual void | print (std::ostream &os) const |
| virtual size_t | lookup_inst_size () const |
| virtual PieceLookup::Instruction * | create_lookup_inst (void *ptr, unsigned next_delta) const |
| template<typename S > | |
| bool | serialize (S &serializer) const |
Public Member Functions inherited from Realm::InstanceLayoutPiece< N, T > | |
| InstanceLayoutPiece (void) | |
| InstanceLayoutPiece (PieceLayoutTypes::LayoutType _layout_type) | |
| InstanceLayoutPiece (PieceLayoutTypes::LayoutType _layout_type, const Rect< N, T > &_bounds) | |
Public Member Functions inherited from Realm::InstanceLayoutPieceBase | |
| InstanceLayoutPieceBase (PieceLayoutTypes::LayoutType _layout_type) | |
| virtual | ~InstanceLayoutPieceBase (void) |
Static Public Member Functions | |
| template<typename S > | |
| static InstanceLayoutPiece< N, T > * | deserialize_new (S &deserializer) |
Static Public Member Functions inherited from Realm::InstanceLayoutPiece< N, T > | |
| template<typename S > | |
| static InstanceLayoutPiece< N, T > * | deserialize_new (S &deserializer) |
Public Attributes | |
| Point< N, size_t > | strides |
| size_t | offset |
Public Attributes inherited from Realm::InstanceLayoutPiece< N, T > | |
| Rect< N, T > | bounds |
Public Attributes inherited from Realm::InstanceLayoutPieceBase | |
| PieceLayoutTypes::LayoutType | layout_type |
Static Public Attributes | |
| static Serialization::PolymorphicSerdezSubclass< InstanceLayoutPiece< N, T >, AffineLayoutPiece< N, T > > | serdez_subclass |
An affine piece of an instance layout. Affine pieces are defined by a single rectangle and a set of strides.
| Realm::AffineLayoutPiece< N, T >::AffineLayoutPiece | ( | void | ) |
|
virtual |
Calculate the offset of a point within the affine piece. The offet is calculated as: offset + sum(strides[i] * p[i]).
| p | Point to calculate offset for. |
Implements Realm::InstanceLayoutPiece< N, T >.
|
virtual |
Implements Realm::InstanceLayoutPiece< N, T >.
|
virtual |
Implements Realm::InstanceLayoutPieceBase.
|
static |
|
virtual |
Implements Realm::InstanceLayoutPieceBase.
|
virtual |
Implements Realm::InstanceLayoutPieceBase.
|
virtual |
Implements Realm::InstanceLayoutPieceBase.
| bool Realm::AffineLayoutPiece< N, T >::serialize | ( | S & | serializer | ) | const |
| size_t Realm::AffineLayoutPiece< N, T >::offset |
|
static |
| Point<N, size_t> Realm::AffineLayoutPiece< N, T >::strides |