PPL Logo

CkSectionInfo::CkSectionInfoStruct Class Reference

For now we still need to encapsulate CkSectionInfo's data in a separate CkSectionInfoStruct because it is used in ckcallback inside a union, and C++03 doesn't support placing objects with non-trivial constructors in unions. More...

#include <cksection.h>

Collaboration diagram for CkSectionInfo::CkSectionInfoStruct:

Collaboration graph
[legend]

Public Member Functions

bool operator== (CkSectionInfoStruct &other)

Data Fields

void * val
 Pointer to mCastEntry (used by CkMulticast).
CkGroupID aid
 Array/group ID of the array/group that has been sectioned.
int pe
 The pe on which this object has been created.
int redNo
 Counter tracking the last reduction that has traversed this section (used by CkMulticast).

Detailed Description

For now we still need to encapsulate CkSectionInfo's data in a separate CkSectionInfoStruct because it is used in ckcallback inside a union, and C++03 doesn't support placing objects with non-trivial constructors in unions.

TODO When all our supported compilers have C++11 we might want to modify callbackData union to allow objects with non-trivial constructors.

Definition at line 37 of file cksection.h.


Member Function Documentation

bool CkSectionInfo::CkSectionInfoStruct::operator== ( CkSectionInfoStruct other  )  [inline]

Definition at line 48 of file cksection.h.

References aid, pe, redNo, and val.


Field Documentation

Pointer to mCastEntry (used by CkMulticast).

Definition at line 40 of file cksection.h.

Referenced by CkSectionInfo::CkSectionInfo(), CkSectionInfo::get_val(), and operator==().

Array/group ID of the array/group that has been sectioned.

Definition at line 42 of file cksection.h.

Referenced by CkSectionInfo::CkSectionInfo(), CkSectionInfo::get_aid(), and operator==().

The pe on which this object has been created.

Definition at line 44 of file cksection.h.

Referenced by CkSectionInfo::CkSectionInfo(), CkSectionInfo::get_pe(), and operator==().

Counter tracking the last reduction that has traversed this section (used by CkMulticast).

Definition at line 46 of file cksection.h.

Referenced by CkSectionInfo::CkSectionInfo(), CkSectionInfo::get_redNo(), operator==(), and CkSectionInfo::set_redNo().


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

Generated on Mon Sep 21 08:21:35 2020 for Charm++ by  doxygen 1.5.5