API
 
Loading...
Searching...
No Matches
MagAOX::app::MagAOXApp< _useINDI >::indiCallBack Struct Reference

Structure to hold the call-back details for handling INDI communications. More...

#include <MagAOXApp.hpp>

Collaboration diagram for MagAOX::app::MagAOXApp< _useINDI >::indiCallBack:
Collaboration graph

Public Attributes

pcf::IndiProperty * property { 0 }
 A pointer to an INDI property.
 
int(* callBack )(void *, const pcf::IndiProperty &)
 
bool m_defReceived { false }
 
uint32_t m_retryCount { 0 }
 Number of GetProperties retries sent while waiting for a matching Def/Set.
 
std::chrono::steady_clock::duration m_retryDelay
 Current retry delay for this unresolved subscription.
 
std::chrono::steady_clock::time_point m_nextRetry
 Earliest instant when the next retry may be sent.
 
bool m_missingLogged { false }
 Tracks whether a long-unresolved notice has already been logged.
 

Detailed Description

template<bool _useINDI = true>
struct MagAOX::app::MagAOXApp< _useINDI >::indiCallBack

Structure to hold the call-back details for handling INDI communications.

Definition at line 673 of file MagAOXApp.hpp.

Member Data Documentation

◆ callBack

template<bool _useINDI = true>
int(* MagAOX::app::MagAOXApp< _useINDI >::indiCallBack::callBack) (void *, const pcf::IndiProperty &)
inline

Definition at line 676 of file MagAOXApp.hpp.

◆ m_defReceived

template<bool _useINDI = true>
bool MagAOX::app::MagAOXApp< _useINDI >::indiCallBack::m_defReceived { false }

The function to call for a new or set property. Flag indicating that a DefProperty has been received after a GetProperty.

Definition at line 679 of file MagAOXApp.hpp.

Referenced by MagAOX::app::MagAOXApp< _useINDI >::indiSetPropertyShouldRequest().

◆ m_missingLogged

template<bool _useINDI = true>
bool MagAOX::app::MagAOXApp< _useINDI >::indiCallBack::m_missingLogged { false }

Tracks whether a long-unresolved notice has already been logged.

Definition at line 690 of file MagAOXApp.hpp.

Referenced by MagAOX::app::MagAOXApp< _useINDI >::noteIndiSetPropertyRequested(), and MagAOX::app::MagAOXApp< _useINDI >::resetIndiSetPropertyRetry().

◆ m_nextRetry

template<bool _useINDI = true>
std::chrono::steady_clock::time_point MagAOX::app::MagAOXApp< _useINDI >::indiCallBack::m_nextRetry
Initial value:
{
std::chrono::steady_clock::time_point::min() }

Earliest instant when the next retry may be sent.

Definition at line 687 of file MagAOXApp.hpp.

Referenced by MagAOX::app::MagAOXApp< _useINDI >::indiSetPropertyShouldRequest(), MagAOX::app::MagAOXApp< _useINDI >::noteIndiSetPropertyRequested(), and MagAOX::app::MagAOXApp< _useINDI >::resetIndiSetPropertyRetry().

◆ m_retryCount

template<bool _useINDI = true>
uint32_t MagAOX::app::MagAOXApp< _useINDI >::indiCallBack::m_retryCount { 0 }

Number of GetProperties retries sent while waiting for a matching Def/Set.

Definition at line 682 of file MagAOXApp.hpp.

Referenced by MagAOX::app::MagAOXApp< _useINDI >::noteIndiSetPropertyRequested(), and MagAOX::app::MagAOXApp< _useINDI >::resetIndiSetPropertyRetry().

◆ m_retryDelay

template<bool _useINDI = true>
std::chrono::steady_clock::duration MagAOX::app::MagAOXApp< _useINDI >::indiCallBack::m_retryDelay
Initial value:
{
std::chrono::steady_clock::duration::zero() }

Current retry delay for this unresolved subscription.

Definition at line 684 of file MagAOXApp.hpp.

Referenced by MagAOX::app::MagAOXApp< _useINDI >::noteIndiSetPropertyRequested(), and MagAOX::app::MagAOXApp< _useINDI >::resetIndiSetPropertyRetry().

◆ property

template<bool _useINDI = true>
pcf::IndiProperty* MagAOX::app::MagAOXApp< _useINDI >::indiCallBack::property { 0 }

A pointer to an INDI property.

Definition at line 675 of file MagAOXApp.hpp.

Referenced by MagAOX::app::MagAOXApp< _useINDI >::noteIndiSetPropertyRequested().


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