#include <RegisterWizard.h>
Public Member Functions | |
void | certifyRegister (uint16_t ®isterValue) |
std::vector< std::string > | changedRegisterProperties (const uint16_t ®isterValueBefore, const uint16_t ®isterValueAfter, const uint16_t &bitsToCheckMask=-1) |
std::vector< std::string > | getRegisterProperties () |
uint16_t | getRegisterValue (const std::string &prop, const uint16_t ®isterValue) |
bool | has (const std::string &prop) |
bool | isRegisterCertified (const uint16_t ®isterValue) |
bool | isWritable () |
std::string | registerToString (const uint16_t ®isterValue) |
RegisterWizard (RegisterPropertiesPtr registerProperties) | |
void | setRegisterValue (const uint16_t &val, const std::string &prop, uint16_t ®isterValue) |
virtual | ~RegisterWizard () |
Private Attributes | |
BitWizard< uint16_t > | bitWizard |
RegisterPropertiesPtr | registerProperties |
Definition at line 15 of file RegisterWizard.h.
RegisterWizard::RegisterWizard | ( | RegisterPropertiesPtr | registerProperties | ) |
Definition at line 10 of file RegisterWizard.cpp.
RegisterWizard::~RegisterWizard | ( | ) | [virtual] |
Definition at line 15 of file RegisterWizard.cpp.
void RegisterWizard::certifyRegister | ( | uint16_t & | registerValue | ) | [inline] |
Definition at line 46 of file RegisterWizard.h.
vector< string > RegisterWizard::changedRegisterProperties | ( | const uint16_t & | registerValueBefore, |
const uint16_t & | registerValueAfter, | ||
const uint16_t & | bitsToCheckMask = -1 |
||
) |
Definition at line 56 of file RegisterWizard.cpp.
std::vector< std::string > RegisterWizard::getRegisterProperties | ( | ) |
Definition at line 78 of file RegisterWizard.cpp.
uint16_t RegisterWizard::getRegisterValue | ( | const std::string & | prop, |
const uint16_t & | registerValue | ||
) | [inline] |
Definition at line 65 of file RegisterWizard.h.
bool RegisterWizard::has | ( | const std::string & | prop | ) |
Definition at line 73 of file RegisterWizard.cpp.
bool RegisterWizard::isRegisterCertified | ( | const uint16_t & | registerValue | ) | [inline] |
Definition at line 52 of file RegisterWizard.h.
bool RegisterWizard::isWritable | ( | ) |
Definition at line 90 of file RegisterWizard.cpp.
string RegisterWizard::registerToString | ( | const uint16_t & | registerValue | ) |
Definition at line 19 of file RegisterWizard.cpp.
void RegisterWizard::setRegisterValue | ( | const uint16_t & | val, |
const std::string & | prop, | ||
uint16_t & | registerValue | ||
) | [inline] |
Definition at line 58 of file RegisterWizard.h.
BitWizard<uint16_t> RegisterWizard::bitWizard [private] |
Definition at line 37 of file RegisterWizard.h.
Definition at line 38 of file RegisterWizard.h.