WSF
WsfL16::Messages::NormalField< BIT_COUNT, NoStatementTag > Class Template Reference

#include <FieldTypes.hpp>

Inheritance diagram for WsfL16::Messages::NormalField< BIT_COUNT, NoStatementTag >:
Collaboration diagram for WsfL16::Messages::NormalField< BIT_COUNT, NoStatementTag >:

Public Types

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

 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)

Static Public Attributes

static const unsigned int cNO_STATEMENT_VALUE = NS_ValuatorType::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

Additional Inherited Members

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

Detailed Description

template<unsigned BIT_COUNT, typename NoStatementTag>
class WsfL16::Messages::NormalField< BIT_COUNT, NoStatementTag >

A field which supports a 'no-statement' value. No-statement is the default value NoStatementTag can be NoStatementMax, NoStatementMid, NoStatementZero, or NoStatementValue<VAL>

Member Typedef Documentation

◆ no_statement_type

template<unsigned BIT_COUNT, typename NoStatementTag>
typedef FieldNoStatementValidTag WsfL16::Messages::NormalField< BIT_COUNT, NoStatementTag >::no_statement_type

Constructor & Destructor Documentation

◆ NormalField()

template<unsigned BIT_COUNT, typename NoStatementTag>
WsfL16::Messages::NormalField< BIT_COUNT, NoStatementTag >::NormalField ( )
inline

Member Function Documentation

◆ IsNoStatement()

template<unsigned BIT_COUNT, typename NoStatementTag>
bool WsfL16::Messages::NormalField< BIT_COUNT, NoStatementTag >::IsNoStatement ( ) const
inline

◆ SetNoStatement()

template<unsigned BIT_COUNT, typename NoStatementTag>
void WsfL16::Messages::NormalField< BIT_COUNT, NoStatementTag >::SetNoStatement ( )
inline

Member Data Documentation

◆ cNO_STATEMENT_VALUE

template<unsigned BIT_COUNT, typename NoStatementTag>
const unsigned int WsfL16::Messages::NormalField< BIT_COUNT, NoStatementTag >::cNO_STATEMENT_VALUE = NS_ValuatorType::value
static

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