BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Public Types | Public Member Functions | Protected Member Functions
BeeeOn::BelkinWemoDeviceManager::BelkinWemoSeeker Class Reference

Provides searching belkin wemo devices on network in own thread. More...

#include <BelkinWemoDeviceManager.h>

Inheritance diagram for BeeeOn::BelkinWemoDeviceManager::BelkinWemoSeeker:
BeeeOn::AbstractSeeker BeeeOn::AsyncWork<> BeeeOn::Loggable BeeeOn::AnyAsyncWork BeeeOn::Cancellable

Public Types

typedef Poco::SharedPtr
< BelkinWemoSeeker
Ptr
 
- Public Types inherited from BeeeOn::AbstractSeeker
typedef Poco::SharedPtr
< AbstractSeeker
Ptr
 
- Public Types inherited from BeeeOn::AsyncWork<>
typedef Poco::SharedPtr
< AsyncWork
Ptr
 
- Public Types inherited from BeeeOn::AnyAsyncWork
typedef Poco::SharedPtr
< AnyAsyncWork
Ptr
 
- Public Types inherited from BeeeOn::Cancellable
typedef Poco::SharedPtr
< Cancellable
Ptr
 

Public Member Functions

 BelkinWemoSeeker (BelkinWemoDeviceManager &parent, const Poco::Timespan &duration)
 
- Public Member Functions inherited from BeeeOn::AbstractSeeker
 AbstractSeeker (const Poco::Timespan &duration)
 
Poco::Timespan duration () const
 
Poco::Timespan elapsed () const
 
Poco::Timespan remaining () const
 Compute time that is remaining to finish the seeking process. If the seeking has finished, it returns 0. More...
 
void start ()
 Start the seeking thread. More...
 
bool tryJoin (const Poco::Timespan &timeout) override
 Join the seeking thread via Joiner.
 
void cancel () override
 Cancel seeking and wait for the thread to finish.
 
- Public Member Functions inherited from BeeeOn::AsyncWork<>
virtual Poco::Nullable
< Poco::Void > 
result () const
 If the asynchronous operation provides a result, this method gives access to it. Until the operation finishes, the result would be null. AsyncWork implementations with no result returns always null. More...
 

Protected Member Functions

void seekLoop (StopControl &control) override
 
- Protected Member Functions inherited from BeeeOn::AbstractSeeker
void seek ()
 
- Protected Member Functions inherited from BeeeOn::Loggable
void setupLogger (Poco::Logger *logger=0) const
 
Poco::Logger & logger () const
 
 Loggable (const ClassInfo &info)
 
 Loggable (const std::type_info &info)
 

Additional Inherited Members

- Static Protected Member Functions inherited from BeeeOn::Loggable
static Poco::Logger & forMethod (const char *name)
 
static Poco::Logger & forClass (const ClassInfo &info)
 
static Poco::Logger & forClass (const std::type_info &info)
 
template<typename T >
static Poco::Logger & forInstance (const T *i)
 
static void configureSimple (Poco::Logger &logger, const std::string &level)
 
static void logException (Poco::Logger &logger, const Poco::Message::Priority priority, const Poco::Exception &e, const char *file, size_t line)
 

Detailed Description

Provides searching belkin wemo devices on network in own thread.


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