LoggedDataSweep
LoggedDataSweep

Represents 1 data sweep that was logged to a WirelessNode.

Functions
LoggedDataSweep
LoggedDataSweep()

Creates a LoggedDataSweep object with a tick and timestamp of 0.

LoggedDataSweep
LoggedDataSweep(
const Timestamp &timestamp,
uint64 tick,
const ChannelData &data
)

Creates a LoggedDataSweep object.

Parameters
timestamp
const Timestamp&

The Timestamp of the sweep.

tick
uint64

The tick of the sweep.

data
const ChannelData&

The <ChannelData> containing the actual data points.

Variables
m_timestamp
Timestamp m_timestamp

The Timestamp of the data sweep.

m_tick
uint64 m_tick

The tick value representing the count of each sweep in a datalogging session (increments with each sweep).

m_data
ChannelData m_data

Contains one or more WirelessDataPoints, corresponding to each channel's data for this sweep.

Functions
timestamp
Timestamp timestamp() const

Gets the timestamp of the sweep as a Timestamp

Returns

A Timestamp representing the timestamp of the sweep

nanoseconds
uint64 nanoseconds() const

Gets the timestamp of the sweep in nanoseconds since UTC

Returns

The timestamp of the sweep in nanoseconds since UTC

tick
uint64 tick() const

Gets the tick value of the sweep

Returns

The tick value of the sweep

data
const ChannelData& data() const

Gets the channel data in this sweep as a WirelessDataPoint::ChannelData container.

Returns

A WirelessDataPoint::ChannelData container holding the data for the sweep.

timestamp
void timestamp(
const Timestamp &time
)

Sets the timestamp of the sweep

Parameters
time
const Timestamp&

The Timestamp to set

tick
void tick(
uint64 tick
)

Sets the tick of the sweep

Parameters
tick
uint64

The tick to set

data
void data(
ChannelData data
)

Sets the data of the sweep

Parameters
data
ChannelData

The <ChannelData> to set

Types
LoggedDataSweeps

Typedef for a vector of LoggedDataSweep objects.