Instrument Neutral Distributed Interface INDI 2.2.5
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>
WidgetType * findOnSwitch () const
template<typename X = T, enable_if_is_same_t< X, ISwitch > = true>
bool isSwitchOn (const std::string &name) 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, ISwitch > = true>
std::string findOnSwitchName () 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
WidgetType * widget () const
WidgetType * findWidgetByName (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
bool load ()
void save (FILE *f) const
bool snoop (XMLEle *root)
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)
template<typename X = T, enable_if_is_same_t< X, IText > = true>
bool isUpdated (const char *const texts[], const char *const names[], int n) const
template<typename X = T, enable_if_is_same_t< X, INumber > = true>
bool isUpdated (const double values[], const char *const names[], int n) const
template<typename X = T, enable_if_is_same_t< X, ISwitch > = true>
bool isUpdated (const ISState states[], const char *const names[], int n) const
WidgetType * begin () const
WidgetType * end () const
WidgetType * at (size_t index) const
void clear ()
PropertyType * cast ()
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 ()
bool isUpdated (const char *const texts[], const char *const names[], int n) const
bool isUpdated (const double values[], const char *const names[], int n) const
bool isUpdated (const ISState states[], const char *const names[], int n) const
bool load ()
bool load ()
bool load ()
bool load ()
bool load ()
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
bool snoop (XMLEle *root)
bool snoop (XMLEle *root)
bool snoop (XMLEle *root)
bool snoop (XMLEle *root)
bool snoop (XMLEle *root)
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 >::WidgetType * widget () const
PropertyView< INumber >::WidgetType * widget () const
PropertyView< ISwitch >::WidgetType * widget () const
PropertyView< ILight >::WidgetType * widget () const
PropertyView< IBLOB >::WidgetType * widget () 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 1114 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 265 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 349 of file indipropertyview.h.

◆ begin()

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

Definition at line 340 of file indipropertyview.h.

◆ cast() [1/2]

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

Definition at line 368 of file indipropertyview.h.

◆ cast() [2/2]

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

Definition at line 364 of file indipropertyview.h.

◆ clear()

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

Definition at line 354 of file indipropertyview.h.

◆ count() [1/6]

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

Definition at line 1462 of file indipropertyview.h.

◆ count() [2/6]

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

Definition at line 1456 of file indipropertyview.h.

◆ count() [3/6]

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

Definition at line 1450 of file indipropertyview.h.

◆ count() [4/6]

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

Definition at line 1444 of file indipropertyview.h.

◆ count() [5/6]

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

Definition at line 1438 of file indipropertyview.h.

◆ count() [6/6]

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

◆ define() [1/2]

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

Definition at line 269 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 344 of file indipropertyview.h.

◆ fill() [1/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() [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< 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() [4/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() [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, 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() [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 153 of file indipropertyview.h.

◆ findOnSwitchName()

template<typename T>
template<typename X = T, enable_if_is_same_t< X, ISwitch > = true>
std::string INDI::PropertyView< T >::findOnSwitchName ( ) const
inline

Definition at line 159 of file indipropertyview.h.

◆ findWidgetByName() [1/6]

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

Definition at line 1361 of file indipropertyview.h.

◆ findWidgetByName() [2/6]

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

Definition at line 1355 of file indipropertyview.h.

◆ findWidgetByName() [3/6]

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

Definition at line 1349 of file indipropertyview.h.

◆ findWidgetByName() [4/6]

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

Definition at line 1343 of file indipropertyview.h.

◆ findWidgetByName() [5/6]

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

Definition at line 1337 of file indipropertyview.h.

◆ findWidgetByName() [6/6]

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

Definition at line 1331 of file indipropertyview.h.

◆ getAux()

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

Definition at line 216 of file indipropertyview.h.

◆ getDeviceName()

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

Definition at line 173 of file indipropertyview.h.

◆ getGroupName()

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

Definition at line 185 of file indipropertyview.h.

◆ getLabel()

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

Definition at line 181 of file indipropertyview.h.

◆ getName()

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

Definition at line 177 of file indipropertyview.h.

◆ getPermission() [1/2]

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

Definition at line 1373 of file indipropertyview.h.

◆ getPermission() [2/2]

template<typename T>
IPerm INDI::PropertyView< T >::getPermission ( ) const
inline

Definition at line 1367 of file indipropertyview.h.

◆ getPermissionAsString()

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

Definition at line 191 of file indipropertyview.h.

◆ getRule() [1/2]

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

Definition at line 1385 of file indipropertyview.h.

◆ getRule() [2/2]

template<typename T>
ISRule INDI::PropertyView< T >::getRule ( ) const
inline

Definition at line 1379 of file indipropertyview.h.

◆ getRuleAsString()

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

Definition at line 197 of file indipropertyview.h.

◆ getState()

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

Definition at line 203 of file indipropertyview.h.

◆ getStateAsString()

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

Definition at line 207 of file indipropertyview.h.

◆ getTimeout() [1/2]

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

Definition at line 1397 of file indipropertyview.h.

◆ getTimeout() [2/2]

template<typename T>
double INDI::PropertyView< T >::getTimeout ( ) const
inline

Definition at line 1391 of file indipropertyview.h.

◆ getTimestamp()

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

Definition at line 212 of file indipropertyview.h.

◆ isEmpty()

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

Definition at line 227 of file indipropertyview.h.

◆ isLabelMatch() [1/2]

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

Definition at line 241 of file indipropertyview.h.

◆ isLabelMatch() [2/2]

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

Definition at line 245 of file indipropertyview.h.

◆ isNameMatch() [1/2]

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

Definition at line 232 of file indipropertyview.h.

◆ isNameMatch() [2/2]

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

Definition at line 236 of file indipropertyview.h.

◆ isSwitchOn()

template<typename T>
template<typename X = T, enable_if_is_same_t< X, ISwitch > = true>
bool INDI::PropertyView< T >::isSwitchOn ( const std::string & name) const
inline

Definition at line 146 of file indipropertyview.h.

◆ isUpdated() [1/6]

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

Definition at line 269 of file indipropertyview.cpp.

◆ isUpdated() [2/6]

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

◆ isUpdated() [3/6]

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

Definition at line 281 of file indipropertyview.cpp.

◆ isUpdated() [4/6]

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

◆ isUpdated() [5/6]

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

Definition at line 293 of file indipropertyview.cpp.

◆ isUpdated() [6/6]

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

◆ load() [1/6]

bool INDI::PropertyView< IText >::load ( )
inline

Definition at line 1223 of file indipropertyview.h.

◆ load() [2/6]

bool INDI::PropertyView< IBLOB >::load ( )
inline

Definition at line 1217 of file indipropertyview.h.

◆ load() [3/6]

bool INDI::PropertyView< ILight >::load ( )
inline

Definition at line 1211 of file indipropertyview.h.

◆ load() [4/6]

bool INDI::PropertyView< ISwitch >::load ( )
inline

Definition at line 1205 of file indipropertyview.h.

◆ load() [5/6]

bool INDI::PropertyView< INumber >::load ( )
inline

Definition at line 1199 of file indipropertyview.h.

◆ load() [6/6]

template<typename T>
bool INDI::PropertyView< T >::load ( )

◆ 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]

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

Definition at line 1253 of file indipropertyview.h.

◆ save() [2/6]

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

Definition at line 1247 of file indipropertyview.h.

◆ save() [3/6]

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

Definition at line 1241 of file indipropertyview.h.

◆ save() [4/6]

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

Definition at line 1235 of file indipropertyview.h.

◆ save() [5/6]

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

Definition at line 1229 of file indipropertyview.h.

◆ save() [6/6]

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

◆ setAux()

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

Definition at line 1193 of file indipropertyview.h.

◆ setDeviceName() [1/2]

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

Definition at line 1120 of file indipropertyview.h.

◆ setDeviceName() [2/2]

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

Definition at line 1126 of file indipropertyview.h.

◆ setGroupName() [1/2]

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

Definition at line 1156 of file indipropertyview.h.

◆ setGroupName() [2/2]

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

Definition at line 1162 of file indipropertyview.h.

◆ setLabel() [1/2]

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

Definition at line 1144 of file indipropertyview.h.

◆ setLabel() [2/2]

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

Definition at line 1150 of file indipropertyview.h.

◆ setName() [1/2]

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

Definition at line 1132 of file indipropertyview.h.

◆ setName() [2/2]

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

Definition at line 1138 of file indipropertyview.h.

◆ setPermission() [1/2]

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

Definition at line 1299 of file indipropertyview.h.

◆ setPermission() [2/2]

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

Definition at line 1305 of file indipropertyview.h.

◆ setRule() [1/4]

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

Definition at line 1325 of file indipropertyview.h.

◆ setRule() [2/4]

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

Definition at line 1319 of file indipropertyview.h.

◆ setRule() [3/4]

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

Definition at line 1313 of file indipropertyview.h.

◆ setRule() [4/4]

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

Definition at line 1309 of file indipropertyview.h.

◆ setState()

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

Definition at line 1168 of file indipropertyview.h.

◆ setTimeout() [1/2]

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

Definition at line 1289 of file indipropertyview.h.

◆ setTimeout() [2/2]

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

Definition at line 1295 of file indipropertyview.h.

◆ setTimestamp() [1/2]

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

Definition at line 1174 of file indipropertyview.h.

◆ setTimestamp() [2/2]

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

Definition at line 1180 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< IBLOB >::setWidgets ( WidgetType * w,
size_t size )
inline

Definition at line 1431 of file indipropertyview.h.

◆ setWidgets() [3/7]

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

Definition at line 1424 of file indipropertyview.h.

◆ setWidgets() [4/7]

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

Definition at line 1417 of file indipropertyview.h.

◆ setWidgets() [5/7]

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

Definition at line 1410 of file indipropertyview.h.

◆ setWidgets() [6/7]

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

Definition at line 1403 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 1187 of file indipropertyview.h.

◆ snoop() [1/6]

bool INDI::PropertyView< IBLOB >::snoop ( XMLEle * root)
inline

Definition at line 1283 of file indipropertyview.h.

◆ snoop() [2/6]

bool INDI::PropertyView< ILight >::snoop ( XMLEle * root)
inline

Definition at line 1277 of file indipropertyview.h.

◆ snoop() [3/6]

bool INDI::PropertyView< ISwitch >::snoop ( XMLEle * root)
inline

Definition at line 1271 of file indipropertyview.h.

◆ snoop() [4/6]

bool INDI::PropertyView< IText >::snoop ( XMLEle * root)
inline

Definition at line 1265 of file indipropertyview.h.

◆ snoop() [5/6]

bool INDI::PropertyView< INumber >::snoop ( XMLEle * root)
inline

Definition at line 1259 of file indipropertyview.h.

◆ snoop() [6/6]

template<typename T>
bool INDI::PropertyView< T >::snoop ( XMLEle * root)

◆ 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< IBLOB >::vapply ( const char * format,
va_list arg ) const

Definition at line 118 of file indipropertyview.cpp.

◆ vapply() [2/6]

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

Definition at line 100 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< INumber >::vapply ( const char * format,
va_list arg ) const

Definition at line 64 of file indipropertyview.cpp.

◆ vapply() [5/6]

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

Definition at line 46 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< IBLOB >::vdefine ( const char * format,
va_list arg ) const

Definition at line 127 of file indipropertyview.cpp.

◆ vdefine() [2/6]

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

Definition at line 109 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< INumber >::vdefine ( const char * format,
va_list arg ) const

Definition at line 73 of file indipropertyview.cpp.

◆ vdefine() [5/6]

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

Definition at line 55 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]

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

Definition at line 1492 of file indipropertyview.h.

◆ widget() [2/6]

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

Definition at line 1486 of file indipropertyview.h.

◆ widget() [3/6]

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

Definition at line 1480 of file indipropertyview.h.

◆ widget() [4/6]

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

Definition at line 1474 of file indipropertyview.h.

◆ widget() [5/6]

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

Definition at line 1468 of file indipropertyview.h.

◆ widget() [6/6]

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

◆ 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: