CGRA-ME
Public Member Functions | Private Attributes | List of all members
BitConfig Class Reference

#include <BitSetting.h>

Public Member Functions

 BitConfig (int n_contexts)
 
void add (std::vector< BitSetting > bitsetting, int cycle)
 
void setUsedCycles (int uc)
 
int getUsedCycles () const
 
const std::vector< BitSetting > & operator[] (int cycle) const
 
auto begin () const
 
auto end () const
 
const std::vector< std::vector< BitSetting > > & getBitSetting () const
 

Private Attributes

std::vector< std::vector< BitSetting > > bitSettings
 
int used_cycles = 0
 

Detailed Description

Definition at line 58 of file BitSetting.h.

Constructor & Destructor Documentation

◆ BitConfig()

BitConfig::BitConfig ( int  n_contexts)
inline

Definition at line 60 of file BitSetting.h.

Member Function Documentation

◆ add()

void BitConfig::add ( std::vector< BitSetting bitsetting,
int  cycle 
)
inline

Definition at line 63 of file BitSetting.h.

◆ begin()

auto BitConfig::begin ( ) const
inline

Definition at line 79 of file BitSetting.h.

◆ end()

auto BitConfig::end ( ) const
inline

Definition at line 80 of file BitSetting.h.

◆ getBitSetting()

const std::vector<std::vector<BitSetting> >& BitConfig::getBitSetting ( ) const
inline

Definition at line 82 of file BitSetting.h.

◆ getUsedCycles()

int BitConfig::getUsedCycles ( ) const
inline

Definition at line 68 of file BitSetting.h.

◆ operator[]()

const std::vector<BitSetting>& BitConfig::operator[] ( int  cycle) const
inline

Definition at line 75 of file BitSetting.h.

◆ setUsedCycles()

void BitConfig::setUsedCycles ( int  uc)
inline

Definition at line 67 of file BitSetting.h.

Member Data Documentation

◆ bitSettings

std::vector<std::vector<BitSetting> > BitConfig::bitSettings
private

Definition at line 88 of file BitSetting.h.

◆ used_cycles

int BitConfig::used_cycles = 0
private

Definition at line 89 of file BitSetting.h.


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