BeeeOn Gateway
v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
|
DeviceUnpairResult holds set of devices that have been unpaired. If the set is empty, no device have been unpaired but the operation was successful. More...
#include <DeviceUnpairResult.h>
Public Types | |
typedef Poco::AutoPtr < DeviceUnpairResult > | Ptr |
Public Types inherited from BeeeOn::Result | |
typedef Poco::AutoPtr< Result > | Ptr |
typedef Poco::ScopedLock< Result > | ScopedLock |
typedef Enum< StatusEnum > | Status |
Public Member Functions | |
DeviceUnpairResult (Poco::AutoPtr< Answer > answer) | |
void | setUnpaired (const std::set< DeviceID > &ids) |
const std::set< DeviceID > & | unpaired () const |
Public Member Functions inherited from BeeeOn::Result | |
Result (Poco::AutoPtr< Answer > answer) | |
void | setStatus (const Status status) |
Status | status () const |
void | notifyUpdated () |
void | lock () |
void | unlock () |
Public Member Functions inherited from BeeeOn::Castable | |
template<typename T > | |
bool | is () |
template<typename T > | |
bool | is () const |
template<typename C > | |
const C & | cast () const |
template<typename C > | |
C & | cast () |
DeviceUnpairResult holds set of devices that have been unpaired. If the set is empty, no device have been unpaired but the operation was successful.
The result makes possible to change the device ID asked to be unpaired to another one or to multple ones.