Zigbee Protocol Controller 1.6.0
TimeoutHandler Class Reference

Handling timeout data and ctimers sharing data. More...

#include <ota_cache.hpp>

Public Member Functions

 TimeoutHandler ()=default
 TimeoutHandler constructor. More...
 
 TimeoutHandler (timeout_handler_t input_timeout_data)
 
TimeoutHandleroperator= (const TimeoutHandler &)=delete
 
 TimeoutHandler (TimeoutHandler &&)=delete
 
TimeoutHandleroperator= (TimeoutHandler &&)=delete
 
 ~TimeoutHandler ()
 TimeoutHandler deconstructor. Will stop ctimer in shared ptr. More...
 
std::string get_unid () const
 
std::string get_subscribe_topic () const
 
bool get_unid_poll_state () const
 
void set_unid_poll_state (bool state) const
 
uic_ota::image_ready_funct_t get_image_ready_cb () const
 
ctimerget_ctimer_pointer () const
 

Private Attributes

std::shared_ptr< timeout_handler_ttimeout_data
 

Detailed Description

Handling timeout data and ctimers sharing data.

Constructor & Destructor Documentation

◆ TimeoutHandler() [1/3]

TimeoutHandler::TimeoutHandler ( )
default

TimeoutHandler constructor.

Parameters
input_timeout_dataA struct containing all data needed for timeout callbacks.

◆ TimeoutHandler() [2/3]

TimeoutHandler::TimeoutHandler ( timeout_handler_t  input_timeout_data)
inline

◆ TimeoutHandler() [3/3]

TimeoutHandler::TimeoutHandler ( TimeoutHandler &&  )
delete

◆ ~TimeoutHandler()

TimeoutHandler::~TimeoutHandler ( )

TimeoutHandler deconstructor. Will stop ctimer in shared ptr.

Member Function Documentation

◆ get_ctimer_pointer()

ctimer * TimeoutHandler::get_ctimer_pointer ( ) const

◆ get_image_ready_cb()

uic_ota::image_ready_funct_t TimeoutHandler::get_image_ready_cb ( ) const

◆ get_subscribe_topic()

std::string TimeoutHandler::get_subscribe_topic ( ) const

◆ get_unid()

std::string TimeoutHandler::get_unid ( ) const

◆ get_unid_poll_state()

bool TimeoutHandler::get_unid_poll_state ( ) const

◆ operator=() [1/2]

TimeoutHandler & TimeoutHandler::operator= ( const TimeoutHandler )
delete

◆ operator=() [2/2]

TimeoutHandler & TimeoutHandler::operator= ( TimeoutHandler &&  )
delete

◆ set_unid_poll_state()

void TimeoutHandler::set_unid_poll_state ( bool  state) const

Member Data Documentation

◆ timeout_data

std::shared_ptr<timeout_handler_t> TimeoutHandler::timeout_data
private

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