Galois
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
galois::runtime::FieldFlags Class Reference

Each field has a FieldFlags object that indicates synchronization status of that field. More...

#include <SyncStructures.h>

Public Member Functions

 FieldFlags ()
 Field Flags constructor. More...
 
bool src_to_src () const
 Return true if src2src is set. More...
 
bool src_to_dst () const
 Return true if src2dst is set. More...
 
bool dst_to_src () const
 Return true if dst2src is set. More...
 
bool dst_to_dst () const
 Return true if dst2dst is set. More...
 
void set_write_src ()
 Sets write src flags to true. More...
 
void set_write_dst ()
 Sets write dst flags to true. More...
 
void set_write_any ()
 Sets all write flags to true. More...
 
void clear_read_src ()
 Sets write src flags to false. More...
 
void clear_read_dst ()
 Sets write dst flags to false. More...
 
void clear_read_any ()
 Sets all write flags to false. More...
 
void clear_all ()
 Sets all write flags to false and sets bitvector stats to none invalid. More...
 

Public Attributes

BITVECTOR_STATUS bitvectorStatus
 Status of the bitvector in terms of if it can be used to sync the field. More...
 

Detailed Description

Each field has a FieldFlags object that indicates synchronization status of that field.

Constructor & Destructor Documentation

galois::runtime::FieldFlags::FieldFlags ( )
inline

Field Flags constructor.

Sets all flags to false and bitvector status to invalid.

Member Function Documentation

void galois::runtime::FieldFlags::clear_all ( )
inline

Sets all write flags to false and sets bitvector stats to none invalid.

void galois::runtime::FieldFlags::clear_read_any ( )
inline

Sets all write flags to false.

void galois::runtime::FieldFlags::clear_read_dst ( )
inline

Sets write dst flags to false.

void galois::runtime::FieldFlags::clear_read_src ( )
inline

Sets write src flags to false.

bool galois::runtime::FieldFlags::dst_to_dst ( ) const
inline

Return true if dst2dst is set.

bool galois::runtime::FieldFlags::dst_to_src ( ) const
inline

Return true if dst2src is set.

void galois::runtime::FieldFlags::set_write_any ( )
inline

Sets all write flags to true.

void galois::runtime::FieldFlags::set_write_dst ( )
inline

Sets write dst flags to true.

void galois::runtime::FieldFlags::set_write_src ( )
inline

Sets write src flags to true.

bool galois::runtime::FieldFlags::src_to_dst ( ) const
inline

Return true if src2dst is set.

bool galois::runtime::FieldFlags::src_to_src ( ) const
inline

Return true if src2src is set.

Member Data Documentation

BITVECTOR_STATUS galois::runtime::FieldFlags::bitvectorStatus

Status of the bitvector in terms of if it can be used to sync the field.


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