add flag for when device is connected to a broker
This commit is contained in:
parent
74b95cf007
commit
77113b9139
|
@ -30,6 +30,7 @@ namespace RDMnet::RPT {
|
|||
* @brief Device::Device
|
||||
*/
|
||||
Device::Device()
|
||||
: connectedToBroker(false)
|
||||
{
|
||||
|
||||
}
|
||||
|
|
|
@ -32,6 +32,9 @@ class Device
|
|||
{
|
||||
public:
|
||||
Device();
|
||||
|
||||
protected:
|
||||
bool connectedToBroker; ///< True if the device is connected to a broker.
|
||||
};
|
||||
|
||||
} // namespace RDMnet::RPT
|
||||
|
|
Loading…
Reference in New Issue