InertialDataPoint
public
DataPoint
InertialDataPoint

Represents a single Inertial Data Point (Extends from DataPoint)

See Also

DataPoint, Value

Functions
InertialDataPoint
InertialDataPoint()

Creates an InertialDataPoint object with default, unknown, values

InertialDataPoint
InertialDataPoint(
InertialTypes::ChannelField field,
InertialTypes::ChannelQualifier qualifier,
ValueType storedAsType,
anyType value,
bool valid
)

Creates an InertialDataPoint object

Parameters
field

The InertialTypes::ChannelField for the data point.

qualifier

The InertialTypes::ChannelQualifier for the data point.

storedAsType

The ValueType that represents how the internal data point value is stored.

value

The value to store.

valid
bool

Whether the data point is flagged as valid (true) or invalid (false).

Variables
m_field;

The InertialTypes::ChannelField of the data point.

m_qualifier
InertialTypes::ChannelQualifier m_qualifier

The InertialTypes::ChannelQualifier of the data point.

m_valid
bool m_valid

Whether the data point is valid(true) or invalid(false)

Functions
field
InertialTypes::ChannelField field() const

Gets the Channel Field that describes the full MIP "Field" that the data point came in.  This is a combination of a MIP "Descriptor ID", and a MIP "Field ID".

Returns

The InertialTypes::ChannelField for this data point.

qualifier
InertialTypes::ChannelQualifier qualifier() const

Gets the Channel Qualifier that describes the specific channel for the data point.  This, combined with the InertialTypes::ChannelField, is a fully unique identifier for the channel.

Returns

The InertialTypes::ChannelQualifier for this data point.

valid
bool valid() const

Gets whether the data point is flagged as valid(true) or invalid(false)

Returns

true if the data point is valid, false if the data point is invalid

channelName
std::string channelName() const

Gets the name of the channel.  This is the universal channel name that should be used for uploading to SensorCloud.

Returns

The name of the channel.

Exceptions
str
std::string str() const

Gets the string representation of the type of this data point

Returns

The string representation of the type of this data point

Types
InertialDataPoints

Typedef for a vector of InertialDataPoint objects