ARGoS  3
A parallel, multi-engine simulator for swarm robotics
argos::CSpaceHashNative< Element, Updater >::SBucket::SBucketData Struct Reference

An item of data held by each bucket. More...

#include <space_hash_native.h>

List of all members.

Public Member Functions

 SBucketData (Element &c_element, SInt32 n_i, SInt32 n_j, SInt32 n_k, SBucketData *ps_next=NULL)
 Struct constructor.

Public Attributes

Element * Elem
 The element indexed by this data item.
SInt32 I
 The space hash cell coordinate corresponding to this data item.
SInt32 J
SInt32 K
SBucketDataNext
 Pointer to the next data item in the list, or NULL if this is the last.

Detailed Description

template<class Element, class Updater>
struct argos::CSpaceHashNative< Element, Updater >::SBucket::SBucketData

An item of data held by each bucket.

These data items are organized into a simple linked list.

Definition at line 32 of file space_hash_native.h.


Constructor & Destructor Documentation

template<class Element , class Updater >
argos::CSpaceHashNative< Element, Updater >::SBucket::SBucketData::SBucketData ( Element &  c_element,
SInt32  n_i,
SInt32  n_j,
SInt32  n_k,
SBucketData ps_next = NULL 
) [inline]

Struct constructor.

Parameters:
c_elementThe element to reference.
n_iThe X coordinate of the space hash cell.
n_jThe Y coordinate of the space hash cell.
n_kThe Z coordinate of the space hash cell.

Definition at line 53 of file space_hash_native.h.


Member Data Documentation

template<class Element , class Updater >
Element* argos::CSpaceHashNative< Element, Updater >::SBucket::SBucketData::Elem

The element indexed by this data item.

Definition at line 36 of file space_hash_native.h.

template<class Element , class Updater >
SInt32 argos::CSpaceHashNative< Element, Updater >::SBucket::SBucketData::I

The space hash cell coordinate corresponding to this data item.

Definition at line 40 of file space_hash_native.h.

template<class Element , class Updater >
SInt32 argos::CSpaceHashNative< Element, Updater >::SBucket::SBucketData::J

Definition at line 40 of file space_hash_native.h.

template<class Element , class Updater >
SInt32 argos::CSpaceHashNative< Element, Updater >::SBucket::SBucketData::K

Definition at line 40 of file space_hash_native.h.

template<class Element , class Updater >
SBucketData* argos::CSpaceHashNative< Element, Updater >::SBucket::SBucketData::Next

Pointer to the next data item in the list, or NULL if this is the last.

Definition at line 44 of file space_hash_native.h.


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