ASensor
 All Classes Functions Pages
MeasurementNode Class Reference

Measurement node controls measurement process between different sensors. More...

#include <MeasurementNode.h>

Public Member Functions

 MeasurementNode (LinkedList< SensorManager > &sensors, Transceiver *tranceiver)
 Constructor. More...
 
void SetID (const __FlashStringHelper *nodeID)
 Sets node id. The id is sended to the receiver.
 
void Initialize ()
 Setups radio module.
 
void SetCriticalProcess (ICriticalProcess *criticalProcess)
 Sets pointer to the critical process like touch management.
 
bool Measure ()
 Perfroms measurements over all sensors.
 
bool IsChanged ()
 Return true if during the last measurement step at least one sensor contains data that differ from previos measurement step.
 
void SendData ()
 Sends data over radio module.
 
void LogResults ()
 Logs last measurement results.
 
void SetupPLXLog ()
 Very usefull excel logging tool https://www.parallax.com/downloads/plx-daq.
 
void LogResultsPLX ()
 

Detailed Description

Measurement node controls measurement process between different sensors.

Constructor & Destructor Documentation

MeasurementNode::MeasurementNode ( LinkedList< SensorManager > &  sensors,
Transceiver *  tranceiver 
)
inline

Constructor.

Parameters
Listof sensors
tranceiveris not null if data need to be send over radio like RF24 sensor or Wifi

The documentation for this class was generated from the following file: