PPL Logo

CkSectionInfo Class Reference

Contains array/group ID for a section, and state information for CkMulticast to manage the section. More...

#include <cksection.h>

Collaboration diagram for CkSectionInfo:

Collaboration graph
[legend]

Public Member Functions

 CkSectionInfo ()
 CkSectionInfo (const CkSectionInfoStruct &i)
 CkSectionInfo (CkArrayID _aid, void *p=NULL)
 CkSectionInfo (int e, void *p, int r, CkArrayID _aid)
intget_pe ()
intget_redNo ()
void set_redNo (int redNo)
void *& get_val ()
CkGroupIDget_aid ()
CkGroupID get_aid () const

Data Fields

CkSectionInfoStruct info

Data Structures

class  CkSectionInfoStruct
 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...

Detailed Description

Contains array/group ID for a section, and state information for CkMulticast to manage the section.

This object is also referred to as the section "cookie".

Definition at line 26 of file cksection.h.


Constructor & Destructor Documentation

CkSectionInfo::CkSectionInfo (  )  [inline]

CkSectionInfo::CkSectionInfo ( const CkSectionInfoStruct i  )  [inline]

Definition at line 61 of file cksection.h.

CkSectionInfo::CkSectionInfo ( CkArrayID  _aid,
void *  p = NULL 
) [inline]

CkSectionInfo::CkSectionInfo ( int  e,
void *  p,
int  r,
CkArrayID  _aid 
) [inline]


Member Function Documentation

int& CkSectionInfo::get_pe (  )  [inline]

int& CkSectionInfo::get_redNo (  )  [inline]

Definition at line 78 of file cksection.h.

References info, and CkSectionInfo::CkSectionInfoStruct::redNo.

void CkSectionInfo::set_redNo ( int  redNo  )  [inline]

Definition at line 79 of file cksection.h.

References info, and CkSectionInfo::CkSectionInfoStruct::redNo.

void* & CkSectionInfo::get_val (  )  [inline]

CkGroupID& CkSectionInfo::get_aid (  )  [inline]

CkGroupID CkSectionInfo::get_aid (  )  const [inline]

Definition at line 82 of file cksection.h.

References CkSectionInfo::CkSectionInfoStruct::aid, and info.


Field Documentation


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