Instrument Neutral Distributed Interface INDI  2.0.2
Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
INDI::PropertyView< T > Class Template Reference

Provides decorator for Low-Level IXXXVectorProperty/IXXX. More...

#include <indipropertyview.h>

Inheritance diagram for INDI::PropertyView< T >:

Public Types

using Type = T
 
using PropertyType = typename WidgetTraits< T >::PropertyType
 
using WidgetType = WidgetView< T >
 
template<typename X , typename Needed >
using enable_if_is_same_t = typename std::enable_if< std::is_same< X, Needed >::value, bool >::type
 

Public Member Functions

 PropertyView ()
 
void setDeviceName (const char *name)
 
void setDeviceName (const std::string &name)
 
void setName (const char *name)
 
void setName (const std::string &name)
 
void setLabel (const char *label)
 
void setLabel (const std::string &label)
 
void setGroupName (const char *name)
 
void setGroupName (const std::string &name)
 
void setPermission (IPerm permission)
 
void setTimeout (double timeout)
 
void setState (IPState state)
 
void setTimestamp (const char *timestamp)
 
void setTimestamp (const std::string &timestamp)
 
void setAux (void *user)
 
void setWidgets (WidgetType *w, size_t count)
 
template<size_t N>
void setWidgets (WidgetType(&w)[N])
 
void setRule (ISRule rule)
 
bool setRule (const std::string &rule)
 
template<typename X = T, enable_if_is_same_t< X, ISwitch > = true>
void reset ()
 
template<typename X = T, enable_if_is_same_t< X, ISwitch > = true>
WidgetTypefindOnSwitch () const
 
template<typename X = T, enable_if_is_same_t< X, ISwitch > = true>
int findOnSwitchIndex () const
 
template<typename X = T, enable_if_is_same_t< X, INumber > = true>
void updateMinMax ()
 
const char * getDeviceName () const
 
const char * getName () const
 
const char * getLabel () const
 
const char * getGroupName () const
 
IPerm getPermission () const
 
const char * getPermissionAsString () const
 
ISRule getRule () const
 
const char * getRuleAsString () const
 
double getTimeout () const
 
IPState getState () const
 
const char * getStateAsString () const
 
const char * getTimestamp () const
 
void * getAux () const
 
int count () const
 
WidgetTypewidget () const
 
WidgetTypefindWidgetByName (const char *name) const
 
bool isEmpty () const
 
bool isNameMatch (const char *otherName) const
 
bool isNameMatch (const std::string &otherName) const
 
bool isLabelMatch (const char *otherLabel) const
 
bool isLabelMatch (const std::string &otherLabel) const
 
void save (FILE *f) const
 
void vapply (const char *format, va_list args) const
 
void vdefine (const char *format, va_list args) const
 
void apply (const char *format,...) const ATTRIBUTE_FORMAT_PRINTF(2
 
void void define (const char *format,...) const ATTRIBUTE_FORMAT_PRINTF(2
 
void void void apply () const
 
void define () const
 
template<typename X = T, enable_if_is_same_t< X, IText > = true>
void fill (const char *device, const char *name, const char *label, const char *group, IPerm permission, double timeout, IPState state)
 
template<typename X = T, enable_if_is_same_t< X, INumber > = true>
void fill (const char *device, const char *name, const char *label, const char *group, IPerm permission, double timeout, IPState state)
 
template<typename X = T, enable_if_is_same_t< X, ISwitch > = true>
void fill (const char *device, const char *name, const char *label, const char *group, IPerm permission, ISRule rule, double timeout, IPState state)
 
template<typename X = T, enable_if_is_same_t< X, ILight > = true>
void fill (const char *device, const char *name, const char *label, const char *group, IPState state)
 
template<typename X = T, enable_if_is_same_t< X, IBLOB > = true>
void fill (const char *device, const char *name, const char *label, const char *group, IPerm permission, double timeout, IPState state)
 
template<typename X = T, enable_if_is_same_t< X, IText > = true>
bool update (const char *const texts[], const char *const names[], int n)
 
template<typename X = T, enable_if_is_same_t< X, INumber > = true>
bool update (const double values[], const char *const names[], int n)
 
template<typename X = T, enable_if_is_same_t< X, ISwitch > = true>
bool update (const ISState states[], const char *const names[], int n)
 
template<typename X = T, enable_if_is_same_t< X, IBLOB > = true>
bool update (const int sizes[], const int blobsizes[], const char *const blobs[], const char *const formats[], const char *const names[], int n)
 
WidgetTypebegin () const
 
WidgetTypeend () const
 
WidgetTypeat (size_t index) const
 
void clear ()
 
PropertyTypecast ()
 
void vapply (const char *format, va_list arg) const
 
void vdefine (const char *format, va_list arg) const
 
void vapply (const char *format, va_list arg) const
 
void vdefine (const char *format, va_list arg) const
 
void vapply (const char *format, va_list arg) const
 
void vdefine (const char *format, va_list arg) const
 
void vapply (const char *format, va_list arg) const
 
void vdefine (const char *format, va_list arg) const
 
void vapply (const char *format, va_list arg) const
 
void vdefine (const char *format, va_list arg) const
 
void fill (const char *device, const char *name, const char *label, const char *group, IPerm permission, double timeout, IPState state)
 
void fill (const char *device, const char *name, const char *label, const char *group, IPerm permission, double timeout, IPState state)
 
void fill (const char *device, const char *name, const char *label, const char *group, IPerm permission, ISRule rule, double timeout, IPState state)
 
void fill (const char *device, const char *name, const char *label, const char *group, IPState state)
 
void fill (const char *device, const char *name, const char *label, const char *group, IPerm permission, double timeout, IPState state)
 
bool update (const char *const texts[], const char *const names[], int n)
 
bool update (const double values[], const char *const names[], int n)
 
bool update (const ISState states[], const char *const names[], int n)
 
bool update (const int sizes[], const int blobsizes[], const char *const blobs[], const char *const formats[], const char *const names[], int n)
 
void updateMinMax ()
 
void save (FILE *f) const
 
void save (FILE *f) const
 
void save (FILE *f) const
 
void save (FILE *f) const
 
void save (FILE *f) const
 
void setTimeout (double)
 
void setPermission (IPerm)
 
void setRule (ISRule rule)
 
bool setRule (const std::string &rule)
 
WidgetView< IText > * findWidgetByName (const char *name) const
 
WidgetView< INumber > * findWidgetByName (const char *name) const
 
WidgetView< ISwitch > * findWidgetByName (const char *name) const
 
WidgetView< ILight > * findWidgetByName (const char *name) const
 
WidgetView< IBLOB > * findWidgetByName (const char *name) const
 
IPerm getPermission () const
 
ISRule getRule () const
 
double getTimeout () const
 
void setWidgets (WidgetType *w, size_t size)
 
void setWidgets (WidgetType *w, size_t size)
 
void setWidgets (WidgetType *w, size_t size)
 
void setWidgets (WidgetType *w, size_t size)
 
void setWidgets (WidgetType *w, size_t size)
 
int count () const
 
int count () const
 
int count () const
 
int count () const
 
int count () const
 
PropertyView< IText >::WidgetTypewidget () const
 
PropertyView< INumber >::WidgetTypewidget () const
 
PropertyView< ISwitch >::WidgetTypewidget () const
 
PropertyView< ILight >::WidgetTypewidget () const
 
PropertyView< IBLOB >::WidgetTypewidget () const
 

Static Public Member Functions

static PropertyView< T > * cast (PropertyType *raw)
 

Friends

class Property
 
class PropertyPrivate
 
class BaseDevice
 
class DefaultDevice
 
template<typename >
struct WidgetView
 

Detailed Description

template<typename T>
class INDI::PropertyView< T >

Provides decorator for Low-Level IXXXVectorProperty/IXXX.

INDI::PropertyView

A class that will allow a easy transition to the new widget handling interface (future).

The PropertyView<IXXX> class is compatible with low-level IXXXVectorProperty structures.

INDI::WidgetView

A class that will allow a easy transition to the new widget handling interface (future).

The WidgetView<IXXX> class is compatible with low-level IXXX structures.

Definition at line 82 of file indipropertyview.h.

Member Typedef Documentation

◆ enable_if_is_same_t

template<typename T >
template<typename X , typename Needed >
using INDI::PropertyView< T >::enable_if_is_same_t = typename std::enable_if<std::is_same<X, Needed>::value, bool>::type

Definition at line 96 of file indipropertyview.h.

◆ PropertyType

template<typename T >
using INDI::PropertyView< T >::PropertyType = typename WidgetTraits<T>::PropertyType

Definition at line 85 of file indipropertyview.h.

◆ Type

template<typename T >
using INDI::PropertyView< T >::Type = T

Definition at line 84 of file indipropertyview.h.

◆ WidgetType

template<typename T >
using INDI::PropertyView< T >::WidgetType = WidgetView<T>

Definition at line 86 of file indipropertyview.h.

Constructor & Destructor Documentation

◆ PropertyView()

template<typename T >
INDI::PropertyView< T >::PropertyView
inline

Definition at line 1078 of file indipropertyview.h.

Member Function Documentation

◆ apply() [1/2]

template<typename T >
void void void INDI::PropertyView< T >::apply ( ) const
inline

Definition at line 246 of file indipropertyview.h.

◆ apply() [2/2]

template<typename T >
void INDI::PropertyView< T >::apply ( const char *  format,
  ... 
) const

Definition at line 136 of file indipropertyview.cpp.

◆ at()

template<typename T >
WidgetType* INDI::PropertyView< T >::at ( size_t  index) const
inline

Definition at line 321 of file indipropertyview.h.

◆ begin()

template<typename T >
WidgetType* INDI::PropertyView< T >::begin ( ) const
inline

Definition at line 312 of file indipropertyview.h.

◆ cast() [1/2]

template<typename T >
PropertyType* INDI::PropertyView< T >::cast ( )
inline

Definition at line 340 of file indipropertyview.h.

◆ cast() [2/2]

template<typename T >
static PropertyView<T>* INDI::PropertyView< T >::cast ( PropertyType raw)
inlinestatic

Definition at line 336 of file indipropertyview.h.

◆ clear()

template<typename T >
void INDI::PropertyView< T >::clear ( )
inline

Definition at line 326 of file indipropertyview.h.

◆ count() [1/6]

template<typename T >
int INDI::PropertyView< T >::count ( ) const

◆ count() [2/6]

int INDI::PropertyView< IText >::count ( ) const
inline

Definition at line 1342 of file indipropertyview.h.

◆ count() [3/6]

int INDI::PropertyView< INumber >::count ( ) const
inline

Definition at line 1348 of file indipropertyview.h.

◆ count() [4/6]

int INDI::PropertyView< ISwitch >::count ( ) const
inline

Definition at line 1354 of file indipropertyview.h.

◆ count() [5/6]

int INDI::PropertyView< ILight >::count ( ) const
inline

Definition at line 1360 of file indipropertyview.h.

◆ count() [6/6]

int INDI::PropertyView< IBLOB >::count ( ) const
inline

Definition at line 1366 of file indipropertyview.h.

◆ define() [1/2]

template<typename T >
void INDI::PropertyView< T >::define ( ) const
inline

Definition at line 250 of file indipropertyview.h.

◆ define() [2/2]

template<typename T >
void INDI::PropertyView< T >::define ( const char *  format,
  ... 
) const

Definition at line 145 of file indipropertyview.cpp.

◆ end()

template<typename T >
WidgetType* INDI::PropertyView< T >::end ( ) const
inline

Definition at line 316 of file indipropertyview.h.

◆ fill() [1/10]

void INDI::PropertyView< IText >::fill ( const char *  device,
const char *  name,
const char *  label,
const char *  group,
IPerm  permission,
double  timeout,
IPState  state 
)

Definition at line 154 of file indipropertyview.cpp.

◆ fill() [2/10]

void INDI::PropertyView< INumber >::fill ( const char *  device,
const char *  name,
const char *  label,
const char *  group,
IPerm  permission,
double  timeout,
IPState  state 
)

Definition at line 166 of file indipropertyview.cpp.

◆ fill() [3/10]

void INDI::PropertyView< IBLOB >::fill ( const char *  device,
const char *  name,
const char *  label,
const char *  group,
IPerm  permission,
double  timeout,
IPState  state 
)

Definition at line 202 of file indipropertyview.cpp.

◆ fill() [4/10]

template<typename T >
template<typename X = T, enable_if_is_same_t< X, IText > = true>
void INDI::PropertyView< T >::fill ( const char *  device,
const char *  name,
const char *  label,
const char *  group,
IPerm  permission,
double  timeout,
IPState  state 
)

◆ fill() [5/10]

template<typename T >
template<typename X = T, enable_if_is_same_t< X, INumber > = true>
void INDI::PropertyView< T >::fill ( const char *  device,
const char *  name,
const char *  label,
const char *  group,
IPerm  permission,
double  timeout,
IPState  state 
)

◆ fill() [6/10]

template<typename T >
template<typename X = T, enable_if_is_same_t< X, IBLOB > = true>
void INDI::PropertyView< T >::fill ( const char *  device,
const char *  name,
const char *  label,
const char *  group,
IPerm  permission,
double  timeout,
IPState  state 
)

◆ fill() [7/10]

void INDI::PropertyView< ISwitch >::fill ( const char *  device,
const char *  name,
const char *  label,
const char *  group,
IPerm  permission,
ISRule  rule,
double  timeout,
IPState  state 
)

Definition at line 178 of file indipropertyview.cpp.

◆ fill() [8/10]

template<typename T >
template<typename X = T, enable_if_is_same_t< X, ISwitch > = true>
void INDI::PropertyView< T >::fill ( const char *  device,
const char *  name,
const char *  label,
const char *  group,
IPerm  permission,
ISRule  rule,
double  timeout,
IPState  state 
)

◆ fill() [9/10]

void INDI::PropertyView< ILight >::fill ( const char *  device,
const char *  name,
const char *  label,
const char *  group,
IPState  state 
)

Definition at line 190 of file indipropertyview.cpp.

◆ fill() [10/10]

template<typename T >
template<typename X = T, enable_if_is_same_t< X, ILight > = true>
void INDI::PropertyView< T >::fill ( const char *  device,
const char *  name,
const char *  label,
const char *  group,
IPState  state 
)

◆ findOnSwitch()

template<typename T >
template<typename X = T, enable_if_is_same_t< X, ISwitch > = true>
WidgetType* INDI::PropertyView< T >::findOnSwitch ( ) const
inline

Definition at line 140 of file indipropertyview.h.

◆ findOnSwitchIndex()

template<typename T >
template<typename X = T, enable_if_is_same_t< X, ISwitch > = true>
int INDI::PropertyView< T >::findOnSwitchIndex ( ) const
inline

Definition at line 146 of file indipropertyview.h.

◆ findWidgetByName() [1/6]

template<typename T >
WidgetView< T > * INDI::PropertyView< T >::findWidgetByName ( const char *  name) const
inline

Definition at line 1235 of file indipropertyview.h.

◆ findWidgetByName() [2/6]

WidgetView< IText > * INDI::PropertyView< IText >::findWidgetByName ( const char *  name) const
inline

Definition at line 1241 of file indipropertyview.h.

◆ findWidgetByName() [3/6]

WidgetView< INumber > * INDI::PropertyView< INumber >::findWidgetByName ( const char *  name) const
inline

Definition at line 1247 of file indipropertyview.h.

◆ findWidgetByName() [4/6]

WidgetView< ISwitch > * INDI::PropertyView< ISwitch >::findWidgetByName ( const char *  name) const
inline

Definition at line 1253 of file indipropertyview.h.

◆ findWidgetByName() [5/6]

WidgetView< ILight > * INDI::PropertyView< ILight >::findWidgetByName ( const char *  name) const
inline

Definition at line 1259 of file indipropertyview.h.

◆ findWidgetByName() [6/6]

WidgetView< IBLOB > * INDI::PropertyView< IBLOB >::findWidgetByName ( const char *  name) const
inline

Definition at line 1265 of file indipropertyview.h.

◆ getAux()

template<typename T >
void* INDI::PropertyView< T >::getAux ( ) const
inline

Definition at line 199 of file indipropertyview.h.

◆ getDeviceName()

template<typename T >
const char* INDI::PropertyView< T >::getDeviceName ( ) const
inline

Definition at line 156 of file indipropertyview.h.

◆ getGroupName()

template<typename T >
const char* INDI::PropertyView< T >::getGroupName ( ) const
inline

Definition at line 168 of file indipropertyview.h.

◆ getLabel()

template<typename T >
const char* INDI::PropertyView< T >::getLabel ( ) const
inline

Definition at line 164 of file indipropertyview.h.

◆ getName()

template<typename T >
const char* INDI::PropertyView< T >::getName ( ) const
inline

Definition at line 160 of file indipropertyview.h.

◆ getPermission() [1/2]

template<typename T >
IPerm INDI::PropertyView< T >::getPermission
inline

Definition at line 1271 of file indipropertyview.h.

◆ getPermission() [2/2]

IPerm INDI::PropertyView< ILight >::getPermission ( ) const
inline

Definition at line 1277 of file indipropertyview.h.

◆ getPermissionAsString()

template<typename T >
const char* INDI::PropertyView< T >::getPermissionAsString ( ) const
inline

Definition at line 174 of file indipropertyview.h.

◆ getRule() [1/2]

template<typename T >
ISRule INDI::PropertyView< T >::getRule
inline

Definition at line 1283 of file indipropertyview.h.

◆ getRule() [2/2]

ISRule INDI::PropertyView< ISwitch >::getRule ( ) const
inline

Definition at line 1289 of file indipropertyview.h.

◆ getRuleAsString()

template<typename T >
const char* INDI::PropertyView< T >::getRuleAsString ( ) const
inline

Definition at line 180 of file indipropertyview.h.

◆ getState()

template<typename T >
IPState INDI::PropertyView< T >::getState ( ) const
inline

Definition at line 186 of file indipropertyview.h.

◆ getStateAsString()

template<typename T >
const char* INDI::PropertyView< T >::getStateAsString ( ) const
inline

Definition at line 190 of file indipropertyview.h.

◆ getTimeout() [1/2]

template<typename T >
double INDI::PropertyView< T >::getTimeout
inline

Definition at line 1295 of file indipropertyview.h.

◆ getTimeout() [2/2]

double INDI::PropertyView< ILight >::getTimeout ( ) const
inline

Definition at line 1301 of file indipropertyview.h.

◆ getTimestamp()

template<typename T >
const char* INDI::PropertyView< T >::getTimestamp ( ) const
inline

Definition at line 195 of file indipropertyview.h.

◆ isEmpty()

template<typename T >
bool INDI::PropertyView< T >::isEmpty ( ) const
inline

Definition at line 210 of file indipropertyview.h.

◆ isLabelMatch() [1/2]

template<typename T >
bool INDI::PropertyView< T >::isLabelMatch ( const char *  otherLabel) const
inline

Definition at line 224 of file indipropertyview.h.

◆ isLabelMatch() [2/2]

template<typename T >
bool INDI::PropertyView< T >::isLabelMatch ( const std::string &  otherLabel) const
inline

Definition at line 228 of file indipropertyview.h.

◆ isNameMatch() [1/2]

template<typename T >
bool INDI::PropertyView< T >::isNameMatch ( const char *  otherName) const
inline

Definition at line 215 of file indipropertyview.h.

◆ isNameMatch() [2/2]

template<typename T >
bool INDI::PropertyView< T >::isNameMatch ( const std::string &  otherName) const
inline

Definition at line 219 of file indipropertyview.h.

◆ reset()

template<typename T >
template<typename X = T, enable_if_is_same_t< X, ISwitch > = true>
void INDI::PropertyView< T >::reset ( )
inline

Definition at line 134 of file indipropertyview.h.

◆ save() [1/6]

template<typename T >
void INDI::PropertyView< T >::save ( FILE *  f) const

◆ save() [2/6]

void INDI::PropertyView< IText >::save ( FILE *  f) const
inline

Definition at line 1163 of file indipropertyview.h.

◆ save() [3/6]

void INDI::PropertyView< INumber >::save ( FILE *  f) const
inline

Definition at line 1169 of file indipropertyview.h.

◆ save() [4/6]

void INDI::PropertyView< ISwitch >::save ( FILE *  f) const
inline

Definition at line 1175 of file indipropertyview.h.

◆ save() [5/6]

void INDI::PropertyView< ILight >::save ( FILE *  f) const
inline

Definition at line 1181 of file indipropertyview.h.

◆ save() [6/6]

void INDI::PropertyView< IBLOB >::save ( FILE *  f) const
inline

Definition at line 1187 of file indipropertyview.h.

◆ setAux()

template<typename T >
void INDI::PropertyView< T >::setAux ( void *  user)
inline

Definition at line 1157 of file indipropertyview.h.

◆ setDeviceName() [1/2]

template<typename T >
void INDI::PropertyView< T >::setDeviceName ( const char *  name)
inline

Definition at line 1084 of file indipropertyview.h.

◆ setDeviceName() [2/2]

template<typename T >
void INDI::PropertyView< T >::setDeviceName ( const std::string &  name)
inline

Definition at line 1090 of file indipropertyview.h.

◆ setGroupName() [1/2]

template<typename T >
void INDI::PropertyView< T >::setGroupName ( const char *  name)
inline

Definition at line 1120 of file indipropertyview.h.

◆ setGroupName() [2/2]

template<typename T >
void INDI::PropertyView< T >::setGroupName ( const std::string &  name)
inline

Definition at line 1126 of file indipropertyview.h.

◆ setLabel() [1/2]

template<typename T >
void INDI::PropertyView< T >::setLabel ( const char *  label)
inline

Definition at line 1108 of file indipropertyview.h.

◆ setLabel() [2/2]

template<typename T >
void INDI::PropertyView< T >::setLabel ( const std::string &  label)
inline

Definition at line 1114 of file indipropertyview.h.

◆ setName() [1/2]

template<typename T >
void INDI::PropertyView< T >::setName ( const char *  name)
inline

Definition at line 1096 of file indipropertyview.h.

◆ setName() [2/2]

template<typename T >
void INDI::PropertyView< T >::setName ( const std::string &  name)
inline

Definition at line 1102 of file indipropertyview.h.

◆ setPermission() [1/2]

template<typename T >
void INDI::PropertyView< T >::setPermission ( IPerm  permission)
inline

Definition at line 1203 of file indipropertyview.h.

◆ setPermission() [2/2]

void INDI::PropertyView< ILight >::setPermission ( IPerm  )
inline

Definition at line 1209 of file indipropertyview.h.

◆ setRule() [1/4]

template<typename T >
bool INDI::PropertyView< T >::setRule ( const std::string &  rule)
inline

Definition at line 1223 of file indipropertyview.h.

◆ setRule() [2/4]

bool INDI::PropertyView< ISwitch >::setRule ( const std::string &  rule)
inline

Definition at line 1229 of file indipropertyview.h.

◆ setRule() [3/4]

template<typename T >
void INDI::PropertyView< T >::setRule ( ISRule  rule)
inline

Definition at line 1213 of file indipropertyview.h.

◆ setRule() [4/4]

void INDI::PropertyView< ISwitch >::setRule ( ISRule  rule)
inline

Definition at line 1217 of file indipropertyview.h.

◆ setState()

template<typename T >
void INDI::PropertyView< T >::setState ( IPState  state)
inline

Definition at line 1132 of file indipropertyview.h.

◆ setTimeout() [1/2]

template<typename T >
void INDI::PropertyView< T >::setTimeout ( double  timeout)
inline

Definition at line 1193 of file indipropertyview.h.

◆ setTimeout() [2/2]

void INDI::PropertyView< ILight >::setTimeout ( double  )
inline

Definition at line 1199 of file indipropertyview.h.

◆ setTimestamp() [1/2]

template<typename T >
void INDI::PropertyView< T >::setTimestamp ( const char *  timestamp)
inline

Definition at line 1138 of file indipropertyview.h.

◆ setTimestamp() [2/2]

template<typename T >
void INDI::PropertyView< T >::setTimestamp ( const std::string &  timestamp)
inline

Definition at line 1144 of file indipropertyview.h.

◆ setWidgets() [1/7]

template<typename T >
void INDI::PropertyView< T >::setWidgets ( WidgetType w,
size_t  count 
)

◆ setWidgets() [2/7]

void INDI::PropertyView< IText >::setWidgets ( WidgetType w,
size_t  size 
)
inline

Definition at line 1307 of file indipropertyview.h.

◆ setWidgets() [3/7]

void INDI::PropertyView< INumber >::setWidgets ( WidgetType w,
size_t  size 
)
inline

Definition at line 1314 of file indipropertyview.h.

◆ setWidgets() [4/7]

void INDI::PropertyView< ISwitch >::setWidgets ( WidgetType w,
size_t  size 
)
inline

Definition at line 1321 of file indipropertyview.h.

◆ setWidgets() [5/7]

void INDI::PropertyView< ILight >::setWidgets ( WidgetType w,
size_t  size 
)
inline

Definition at line 1328 of file indipropertyview.h.

◆ setWidgets() [6/7]

void INDI::PropertyView< IBLOB >::setWidgets ( WidgetType w,
size_t  size 
)
inline

Definition at line 1335 of file indipropertyview.h.

◆ setWidgets() [7/7]

template<typename T >
template<size_t N>
void INDI::PropertyView< T >::setWidgets ( WidgetType(&)  w[N])
inline

Definition at line 1151 of file indipropertyview.h.

◆ update() [1/8]

bool INDI::PropertyView< IText >::update ( const char *const  texts[],
const char *const  names[],
int  n 
)

Definition at line 214 of file indipropertyview.cpp.

◆ update() [2/8]

template<typename T >
template<typename X = T, enable_if_is_same_t< X, IText > = true>
bool INDI::PropertyView< T >::update ( const char *const  texts[],
const char *const  names[],
int  n 
)

◆ update() [3/8]

bool INDI::PropertyView< INumber >::update ( const double  values[],
const char *const  names[],
int  n 
)

Definition at line 224 of file indipropertyview.cpp.

◆ update() [4/8]

template<typename T >
template<typename X = T, enable_if_is_same_t< X, INumber > = true>
bool INDI::PropertyView< T >::update ( const double  values[],
const char *const  names[],
int  n 
)

◆ update() [5/8]

bool INDI::PropertyView< IBLOB >::update ( const int  sizes[],
const int  blobsizes[],
const char *const  blobs[],
const char *const  formats[],
const char *const  names[],
int  n 
)

Definition at line 244 of file indipropertyview.cpp.

◆ update() [6/8]

template<typename T >
template<typename X = T, enable_if_is_same_t< X, IBLOB > = true>
bool INDI::PropertyView< T >::update ( const int  sizes[],
const int  blobsizes[],
const char *const  blobs[],
const char *const  formats[],
const char *const  names[],
int  n 
)

◆ update() [7/8]

bool INDI::PropertyView< ISwitch >::update ( const ISState  states[],
const char *const  names[],
int  n 
)

Definition at line 234 of file indipropertyview.cpp.

◆ update() [8/8]

template<typename T >
template<typename X = T, enable_if_is_same_t< X, ISwitch > = true>
bool INDI::PropertyView< T >::update ( const ISState  states[],
const char *const  names[],
int  n 
)

◆ updateMinMax() [1/2]

void INDI::PropertyView< INumber >::updateMinMax ( )

Definition at line 262 of file indipropertyview.cpp.

◆ updateMinMax() [2/2]

template<typename T >
template<typename X = T, enable_if_is_same_t< X, INumber > = true>
void INDI::PropertyView< T >::updateMinMax ( )

◆ vapply() [1/6]

void INDI::PropertyView< IText >::vapply ( const char *  format,
va_list  arg 
) const

Definition at line 46 of file indipropertyview.cpp.

◆ vapply() [2/6]

void INDI::PropertyView< INumber >::vapply ( const char *  format,
va_list  arg 
) const

Definition at line 64 of file indipropertyview.cpp.

◆ vapply() [3/6]

void INDI::PropertyView< ISwitch >::vapply ( const char *  format,
va_list  arg 
) const

Definition at line 82 of file indipropertyview.cpp.

◆ vapply() [4/6]

void INDI::PropertyView< ILight >::vapply ( const char *  format,
va_list  arg 
) const

Definition at line 100 of file indipropertyview.cpp.

◆ vapply() [5/6]

void INDI::PropertyView< IBLOB >::vapply ( const char *  format,
va_list  arg 
) const

Definition at line 118 of file indipropertyview.cpp.

◆ vapply() [6/6]

template<typename T >
void INDI::PropertyView< T >::vapply ( const char *  format,
va_list  args 
) const

◆ vdefine() [1/6]

void INDI::PropertyView< IText >::vdefine ( const char *  format,
va_list  arg 
) const

Definition at line 55 of file indipropertyview.cpp.

◆ vdefine() [2/6]

void INDI::PropertyView< INumber >::vdefine ( const char *  format,
va_list  arg 
) const

Definition at line 73 of file indipropertyview.cpp.

◆ vdefine() [3/6]

void INDI::PropertyView< ISwitch >::vdefine ( const char *  format,
va_list  arg 
) const

Definition at line 91 of file indipropertyview.cpp.

◆ vdefine() [4/6]

void INDI::PropertyView< ILight >::vdefine ( const char *  format,
va_list  arg 
) const

Definition at line 109 of file indipropertyview.cpp.

◆ vdefine() [5/6]

void INDI::PropertyView< IBLOB >::vdefine ( const char *  format,
va_list  arg 
) const

Definition at line 127 of file indipropertyview.cpp.

◆ vdefine() [6/6]

template<typename T >
void INDI::PropertyView< T >::vdefine ( const char *  format,
va_list  args 
) const

◆ widget() [1/6]

template<typename T >
WidgetType* INDI::PropertyView< T >::widget ( ) const

◆ widget() [2/6]

PropertyView< IText >::WidgetType * INDI::PropertyView< IText >::widget ( ) const
inline

Definition at line 1372 of file indipropertyview.h.

◆ widget() [3/6]

PropertyView< INumber >::WidgetType * INDI::PropertyView< INumber >::widget ( ) const
inline

Definition at line 1378 of file indipropertyview.h.

◆ widget() [4/6]

PropertyView< ISwitch >::WidgetType * INDI::PropertyView< ISwitch >::widget ( ) const
inline

Definition at line 1384 of file indipropertyview.h.

◆ widget() [5/6]

PropertyView< ILight >::WidgetType * INDI::PropertyView< ILight >::widget ( ) const
inline

Definition at line 1390 of file indipropertyview.h.

◆ widget() [6/6]

PropertyView< IBLOB >::WidgetType * INDI::PropertyView< IBLOB >::widget ( ) const
inline

Definition at line 1396 of file indipropertyview.h.

Friends And Related Function Documentation

◆ BaseDevice

template<typename T >
friend class BaseDevice
friend

Definition at line 90 of file indipropertyview.h.

◆ DefaultDevice

template<typename T >
friend class DefaultDevice
friend

Definition at line 91 of file indipropertyview.h.

◆ Property

template<typename T >
friend class Property
friend

Definition at line 88 of file indipropertyview.h.

◆ PropertyPrivate

template<typename T >
friend class PropertyPrivate
friend

Definition at line 89 of file indipropertyview.h.

◆ WidgetView

template<typename T >
template<typename >
friend struct WidgetView
friend

Definition at line 93 of file indipropertyview.h.


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