WSF
WsfL16::Messages::AngleField Class Reference

#include <FieldTypes.hpp>

Inheritance diagram for WsfL16::Messages::AngleField:
Collaboration diagram for WsfL16::Messages::AngleField:

Public Types

typedef double accessor_type
typedef AccessorUnitsRadiansTag accessor_units
Public Types inherited from WsfL16::Messages::NormalField< 9, NoStatementMax >
typedef FieldNoStatementValidTag no_statement_type
Public Types inherited from WsfL16::Messages::FieldBase< BIT_COUNT >
typedef NoAccessorTypeTag accessor_type
typedef NoAccessorUnitsTag accessor_units
typedef FieldNoStatementInvalidTag no_statement_type
typedef NoEnumStringMapTag enum_map_type
typedef SmallIntType< BIT_COUNT >::integer_type value_type
 Use the smallest integer to hold the data.

Public Member Functions

bool IsIllegalValue () const
void SetDegrees (double aAngle)
void SetRadians (double aAngle)
double GetDegrees () const
double GetRadians () const
AngleFieldoperator= (double aVal)
 operator double () const
Public Member Functions inherited from WsfL16::Messages::NormalField< 9, NoStatementMax >
 NormalField ()
void SetNoStatement ()
bool IsNoStatement () const
Public Member Functions inherited from WsfL16::Messages::FieldBase< BIT_COUNT >
 FieldBase ()
value_type GetRawData () const
template<class T>
value_type SafeCast (T aValue) const
void SetRawData (value_type aValue)

Additional Inherited Members

Static Public Attributes inherited from WsfL16::Messages::NormalField< 9, NoStatementMax >
static const unsigned int cNO_STATEMENT_VALUE
Static Public Attributes inherited from WsfL16::Messages::FieldBase< BIT_COUNT >
static const unsigned int cFIELD_SIZE = BIT_COUNT
static const unsigned int cMID_VALUE = (1u << cFIELD_SIZE) / 2
static const unsigned int cMAX_VALUE = (1u << cFIELD_SIZE) - 1
Protected Member Functions inherited from WsfL16::Messages::FieldBase< BIT_COUNT >
int DecodeTC (unsigned a2C) const
unsigned EncodeTC (int aInt) const
 Encode an integer into a N-bit two's compliment representation.
unsigned EncodeTCMod (int aInt) const
Protected Attributes inherited from WsfL16::Messages::FieldBase< BIT_COUNT >
value_type mValue

Member Typedef Documentation

◆ accessor_type

typedef double WsfL16::Messages::AngleField::accessor_type

◆ accessor_units

typedef AccessorUnitsRadiansTag WsfL16::Messages::AngleField::accessor_units

Member Function Documentation

◆ GetDegrees()

double WsfL16::Messages::AngleField::GetDegrees ( ) const
inline

◆ GetRadians()

double WsfL16::Messages::AngleField::GetRadians ( ) const
inline

◆ IsIllegalValue()

bool WsfL16::Messages::AngleField::IsIllegalValue ( ) const
inline

◆ operator double()

WsfL16::Messages::AngleField::operator double ( ) const
inline

References GetRadians().

◆ operator=()

AngleField & WsfL16::Messages::AngleField::operator= ( double aVal)
inline

References SetRadians().

◆ SetDegrees()

void WsfL16::Messages::AngleField::SetDegrees ( double aAngle)

◆ SetRadians()

void WsfL16::Messages::AngleField::SetRadians ( double aAngle)
inline

The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved