Murl::IGameControllerMapping::AxisRawData Class Reference

The raw axis data. More...

#include "murl_i_game_controller_mapping.h"

Public Member Functions

 AxisRawData ()
 The default constructor.
 
 AxisRawData (AxisType axisType, Float value)
 Constructor taking initialization values. More...
 
bool operator== (const AxisRawData &rhs) const
 The "equal to" comparison operator. More...
 
bool operator!= (const AxisRawData &rhs) const
 The "not equal to" comparison operator. More...
 

Public Attributes

AxisType mAxisType
 The axis type.
 
Float mValue
 The axis raw value. More...
 

Detailed Description

The raw axis data.

Constructor & Destructor Documentation

◆ AxisRawData()

Murl::IGameControllerMapping::AxisRawData::AxisRawData ( AxisType  axisType,
Float  value 
)
inline

Constructor taking initialization values.

Parameters
axisTypeThe axis type.
valueThe axis raw value. The axis raw value range is [-1.0 .. 1.0].

Member Function Documentation

◆ operator==()

bool Murl::IGameControllerMapping::AxisRawData::operator== ( const AxisRawData rhs) const
inline

The "equal to" comparison operator.

Parameters
rhsThe right hand side raw axis data to compare.
Returns
true if all members are exactly the same.

References mAxisType, and mValue.

◆ operator!=()

bool Murl::IGameControllerMapping::AxisRawData::operator!= ( const AxisRawData rhs) const
inline

The "not equal to" comparison operator.

Parameters
rhsThe right hand side raw axis data to compare.
Returns
true if the objects differ.

References mAxisType, and mValue.

Member Data Documentation

◆ mValue

Float Murl::IGameControllerMapping::AxisRawData::mValue

The axis raw value.

The axis raw value range is [-1.0 .. 1.0].

Referenced by operator!=(), and operator==().


The documentation for this class was generated from the following file:
  • murl_i_game_controller_mapping.h


Copyright © 2011-2018 Spraylight GmbH.