Public Member Functions | Private Attributes
RegisterWizard Class Reference

#include <RegisterWizard.h>

List of all members.

Public Member Functions

void certifyRegister (uint16_t &registerValue)
std::vector< std::string > changedRegisterProperties (const uint16_t &registerValueBefore, const uint16_t &registerValueAfter, const uint16_t &bitsToCheckMask=-1)
std::vector< std::string > getRegisterProperties ()
uint16_t getRegisterValue (const std::string &prop, const uint16_t &registerValue)
bool has (const std::string &prop)
bool isRegisterCertified (const uint16_t &registerValue)
bool isWritable ()
std::string registerToString (const uint16_t &registerValue)
 RegisterWizard (RegisterPropertiesPtr registerProperties)
void setRegisterValue (const uint16_t &val, const std::string &prop, uint16_t &registerValue)
virtual ~RegisterWizard ()

Private Attributes

BitWizard< uint16_t > bitWizard
RegisterPropertiesPtr registerProperties

Detailed Description

Definition at line 15 of file RegisterWizard.h.


Constructor & Destructor Documentation

Definition at line 10 of file RegisterWizard.cpp.

Definition at line 15 of file RegisterWizard.cpp.


Member Function Documentation

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.

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.


Member Data Documentation

BitWizard<uint16_t> RegisterWizard::bitWizard [private]

Definition at line 37 of file RegisterWizard.h.

Definition at line 38 of file RegisterWizard.h.


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


robot_instance
Author(s):
autogenerated on Sat Jun 8 2019 20:43:12