Version FC
Dependencies: DmTftLibrary eeprom SX1280Lib filesystem mbed
Fork of MSNV2-Terminal_V1-5 by
Diff: ChannelValue.hpp
- Revision:
- 24:92c30dabfda4
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ChannelValue.hpp Tue Sep 11 21:45:52 2018 +0000 @@ -0,0 +1,25 @@ +#ifndef __CHANNELVALUE_HPP__ +#define __CHANNELVALUE_HPP__ + +#include "Context.h" + +class Value; + + +namespace misnet { + class ChannelValue; +} + + +// This class represents a channel value block. +// NB. The term "channel" represents both the channel concept and the index of a service in a payload. +// NB2. For performance reasons, the value is actually a reference to the "value" part of a service. +class misnet::ChannelValue { + public: + + private: + uint8_t _channel; // Index of the payload channel whose value follows + Value& _value; // Channel value +}; + +#endif // __CHANNELVALUE_HPP__