#include <SensorNet.h>
Public Member Functions | |
bool | actuator () |
char | address () |
Node () | |
Node (char address, char type, int period) | |
int | period () |
bool | sensor () |
bool | sensors (int i) |
void | setAddress (char address) |
void | setPeriod (int period) |
void | setSensors (int s1, int s2, int s3, int s4, int w1, int w2) |
void | setType (char type) |
char | type () |
~Node () | |
Private Attributes | |
char | node_address |
int | node_period |
bool | node_sensors [6] |
char | node_type |
Definition at line 79 of file SensorNet.h.
SensorNet::Node::Node | ( | ) | [inline] |
Definition at line 82 of file SensorNet.h.
SensorNet::Node::Node | ( | char | address, |
char | type, | ||
int | period | ||
) | [inline] |
Definition at line 83 of file SensorNet.h.
SensorNet::Node::~Node | ( | ) | [inline] |
Definition at line 89 of file SensorNet.h.
bool SensorNet::Node::actuator | ( | ) | [inline] |
Definition at line 110 of file SensorNet.h.
char SensorNet::Node::address | ( | ) | [inline] |
Definition at line 91 of file SensorNet.h.
int SensorNet::Node::period | ( | ) | [inline] |
Definition at line 93 of file SensorNet.h.
bool SensorNet::Node::sensor | ( | ) | [inline] |
Definition at line 109 of file SensorNet.h.
bool SensorNet::Node::sensors | ( | int | i | ) | [inline] |
Definition at line 94 of file SensorNet.h.
void SensorNet::Node::setAddress | ( | char | address | ) | [inline] |
Definition at line 96 of file SensorNet.h.
void SensorNet::Node::setPeriod | ( | int | period | ) | [inline] |
Definition at line 98 of file SensorNet.h.
void SensorNet::Node::setSensors | ( | int | s1, |
int | s2, | ||
int | s3, | ||
int | s4, | ||
int | w1, | ||
int | w2 | ||
) | [inline] |
Definition at line 99 of file SensorNet.h.
void SensorNet::Node::setType | ( | char | type | ) | [inline] |
Definition at line 97 of file SensorNet.h.
char SensorNet::Node::type | ( | ) | [inline] |
Definition at line 92 of file SensorNet.h.
char SensorNet::Node::node_address [private] |
Definition at line 113 of file SensorNet.h.
int SensorNet::Node::node_period [private] |
Definition at line 115 of file SensorNet.h.
bool SensorNet::Node::node_sensors[6] [private] |
Definition at line 117 of file SensorNet.h.
char SensorNet::Node::node_type [private] |
Definition at line 114 of file SensorNet.h.