Empirical
Public Member Functions | Public Attributes | List of all members
emp::AvidaHardware< CPU_SIZE >::RegBackup Struct Reference

Information about a register that is backed up, to be restored when current scope is exited. More...

#include <AvidaHardware.h>

Public Member Functions

 RegBackup ()
 
 RegBackup (size_t _s, size_t _r, double _v)
 

Public Attributes

size_t scope
 What scope should this register be restored in? More...
 
size_t reg_id
 Which register is this? More...
 
double value
 What value is being backed up? More...
 

Detailed Description

template<size_t CPU_SIZE = 16>
struct emp::AvidaHardware< CPU_SIZE >::RegBackup

Information about a register that is backed up, to be restored when current scope is exited.

Constructor & Destructor Documentation

template<size_t CPU_SIZE = 16>
emp::AvidaHardware< CPU_SIZE >::RegBackup::RegBackup ( )
inline
template<size_t CPU_SIZE = 16>
emp::AvidaHardware< CPU_SIZE >::RegBackup::RegBackup ( size_t  _s,
size_t  _r,
double  _v 
)
inline

Member Data Documentation

template<size_t CPU_SIZE = 16>
size_t emp::AvidaHardware< CPU_SIZE >::RegBackup::reg_id

Which register is this?

template<size_t CPU_SIZE = 16>
size_t emp::AvidaHardware< CPU_SIZE >::RegBackup::scope

What scope should this register be restored in?

template<size_t CPU_SIZE = 16>
double emp::AvidaHardware< CPU_SIZE >::RegBackup::value

What value is being backed up?


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