Instrument Neutral Distributed Interface INDI
1.9.5
|
#include <indipropertybasic.h>
Public Member Functions | |
~PropertyBasic () | |
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 ×tamp) |
const char * | getName () const |
const char * | getLabel () const |
const char * | getGroupName () const |
IPerm | getPermission () const |
const char * | getPermissionAsString () const |
double | getTimeout () const |
IPState | getState () const |
const char * | getStateAsString () const |
const char * | getTimestamp () 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 |
PropertyView< T > * | operator& () |
size_t | size () const |
void | reserve (size_t size) |
void | resize (size_t size) |
void | shrink_to_fit () |
void | push (WidgetView< T > &&item) |
void | push (const WidgetView< T > &item) |
const WidgetView< T > * | at (size_t index) const |
WidgetView< T > & | operator[] (size_t index) const |
WidgetView< T > * | begin () |
WidgetView< T > * | end () |
const WidgetView< T > * | begin () const |
const WidgetView< T > * | end () const |
template<typename Predicate > | |
WidgetView< T > * | find_if (Predicate pred) |
template<typename Predicate > | |
const WidgetView< T > * | find_if (Predicate pred) const |
WidgetView< T > * | findWidgetByName (const char *name) const |
int | findWidgetIndexByName (const char *name) const |
![]() | |
Property () | |
Property (void *property, INDI_PROPERTY_TYPE type) | |
Property (INumberVectorProperty *property) | |
Property (ITextVectorProperty *property) | |
Property (ISwitchVectorProperty *property) | |
Property (ILightVectorProperty *property) | |
Property (IBLOBVectorProperty *property) | |
~Property () | |
void | setProperty (void *) |
void | setType (INDI_PROPERTY_TYPE t) |
void | setRegistered (bool r) |
void | setDynamic (bool d) |
void | setBaseDevice (BaseDevice *idp) |
void * | getProperty () const |
INDI_PROPERTY_TYPE | getType () const |
const char * | getTypeAsString () const |
bool | getRegistered () const |
bool | isDynamic () const |
BaseDevice * | getBaseDevice () const |
void | setName (const char *name) |
void | setLabel (const char *label) |
void | setGroupName (const char *groupName) |
void | setDeviceName (const char *deviceName) |
void | setTimestamp (const char *timestamp) |
void | setState (IPState state) |
void | setPermission (IPerm permission) |
void | setTimeout (double timeout) |
const char * | getName () const |
const char * | getLabel () const |
const char * | getGroupName () const |
const char * | getDeviceName () const |
const char * | getTimestamp () const |
IPState | getState () const |
const char * | getStateAsString () const |
IPerm | getPermission () const |
bool | isEmpty () const |
bool | isValid () 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 *fp) 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 |
INDI::PropertyView< INumber > * | getNumber () const |
INDI::PropertyView< IText > * | getText () const |
INDI::PropertyView< ISwitch > * | getSwitch () const |
INDI::PropertyView< ILight > * | getLight () const |
INDI::PropertyView< IBLOB > * | getBLOB () const |
INDI::Property * | operator-> () |
const INDI::Property * | operator-> () const |
operator INDI::Property * () | |
operator const INDI::Property * () const | |
Protected Member Functions | |
PropertyBasic (PropertyBasicPrivate &dd) | |
![]() | |
Property (std::shared_ptr< PropertyPrivate > dd) | |
Property (PropertyPrivate &dd) | |
Additional Inherited Members | |
![]() | |
std::shared_ptr< PropertyPrivate > | d_ptr |
Definition at line 37 of file indipropertybasic.h.
INDI::PropertyBasic< T >::~PropertyBasic |
Definition at line 38 of file indipropertybasic.cpp.
|
protected |
Definition at line 42 of file indipropertybasic.cpp.
void INDI::PropertyBasic< T >::apply |
Definition at line 263 of file indipropertybasic.cpp.
void INDI::PropertyBasic< T >::apply | ( | const char * | format, |
... | |||
) | const |
Definition at line 243 of file indipropertybasic.cpp.
const WidgetView< T > * INDI::PropertyBasic< T >::at | ( | size_t | index | ) | const |
Definition at line 338 of file indipropertybasic.cpp.
const WidgetView< T > * INDI::PropertyBasic< T >::begin |
Definition at line 352 of file indipropertybasic.cpp.
const WidgetView<T>* INDI::PropertyBasic< T >::begin | ( | ) | const |
void INDI::PropertyBasic< T >::define |
Definition at line 270 of file indipropertybasic.cpp.
void INDI::PropertyBasic< T >::define | ( | const char * | format, |
... | |||
) | const |
Definition at line 253 of file indipropertybasic.cpp.
const WidgetView< T > * INDI::PropertyBasic< T >::end |
Definition at line 359 of file indipropertybasic.cpp.
const WidgetView<T>* INDI::PropertyBasic< T >::end | ( | ) | const |
|
inline |
Definition at line 122 of file indipropertybasic.h.
|
inline |
Definition at line 126 of file indipropertybasic.h.
WidgetView< T > * INDI::PropertyBasic< T >::findWidgetByName | ( | const char * | name | ) | const |
Definition at line 277 of file indipropertybasic.cpp.
int INDI::PropertyBasic< T >::findWidgetIndexByName | ( | const char * | name | ) | const |
Definition at line 284 of file indipropertybasic.cpp.
const char * INDI::PropertyBasic< T >::getGroupName |
Definition at line 138 of file indipropertybasic.cpp.
const char * INDI::PropertyBasic< T >::getLabel |
Definition at line 131 of file indipropertybasic.cpp.
const char * INDI::PropertyBasic< T >::getName |
Definition at line 124 of file indipropertybasic.cpp.
IPerm INDI::PropertyBasic< T >::getPermission |
Definition at line 145 of file indipropertybasic.cpp.
const char * INDI::PropertyBasic< T >::getPermissionAsString |
Definition at line 152 of file indipropertybasic.cpp.
IPState INDI::PropertyBasic< T >::getState |
Definition at line 166 of file indipropertybasic.cpp.
const char * INDI::PropertyBasic< T >::getStateAsString |
Definition at line 173 of file indipropertybasic.cpp.
double INDI::PropertyBasic< T >::getTimeout |
Definition at line 159 of file indipropertybasic.cpp.
const char * INDI::PropertyBasic< T >::getTimestamp |
Definition at line 180 of file indipropertybasic.cpp.
bool INDI::PropertyBasic< T >::isEmpty |
Definition at line 187 of file indipropertybasic.cpp.
bool INDI::PropertyBasic< T >::isLabelMatch | ( | const char * | otherLabel | ) | const |
Definition at line 208 of file indipropertybasic.cpp.
bool INDI::PropertyBasic< T >::isLabelMatch | ( | const std::string & | otherLabel | ) | const |
Definition at line 215 of file indipropertybasic.cpp.
bool INDI::PropertyBasic< T >::isNameMatch | ( | const char * | otherName | ) | const |
Definition at line 194 of file indipropertybasic.cpp.
bool INDI::PropertyBasic< T >::isNameMatch | ( | const std::string & | otherName | ) | const |
Definition at line 201 of file indipropertybasic.cpp.
PropertyView< T > * INDI::PropertyBasic< T >::operator& |
Definition at line 380 of file indipropertybasic.cpp.
WidgetView< T > & INDI::PropertyBasic< T >::operator[] | ( | size_t | index | ) | const |
Definition at line 345 of file indipropertybasic.cpp.
void INDI::PropertyBasic< T >::push | ( | const WidgetView< T > & | item | ) |
Definition at line 332 of file indipropertybasic.cpp.
void INDI::PropertyBasic< T >::push | ( | WidgetView< T > && | item | ) |
Definition at line 323 of file indipropertybasic.cpp.
void INDI::PropertyBasic< T >::reserve | ( | size_t | size | ) |
Definition at line 307 of file indipropertybasic.cpp.
void INDI::PropertyBasic< T >::resize | ( | size_t | size | ) |
Definition at line 298 of file indipropertybasic.cpp.
void INDI::PropertyBasic< T >::save | ( | FILE * | f | ) | const |
Definition at line 222 of file indipropertybasic.cpp.
void INDI::PropertyBasic< T >::setGroupName | ( | const char * | name | ) |
Definition at line 75 of file indipropertybasic.cpp.
void INDI::PropertyBasic< T >::setGroupName | ( | const std::string & | name | ) |
Definition at line 82 of file indipropertybasic.cpp.
void INDI::PropertyBasic< T >::setLabel | ( | const char * | label | ) |
Definition at line 61 of file indipropertybasic.cpp.
void INDI::PropertyBasic< T >::setLabel | ( | const std::string & | label | ) |
Definition at line 68 of file indipropertybasic.cpp.
void INDI::PropertyBasic< T >::setName | ( | const char * | name | ) |
Definition at line 47 of file indipropertybasic.cpp.
void INDI::PropertyBasic< T >::setName | ( | const std::string & | name | ) |
Definition at line 54 of file indipropertybasic.cpp.
void INDI::PropertyBasic< T >::setPermission | ( | IPerm | permission | ) |
Definition at line 89 of file indipropertybasic.cpp.
void INDI::PropertyBasic< T >::setState | ( | IPState | state | ) |
Definition at line 103 of file indipropertybasic.cpp.
void INDI::PropertyBasic< T >::setTimeout | ( | double | timeout | ) |
Definition at line 96 of file indipropertybasic.cpp.
void INDI::PropertyBasic< T >::setTimestamp | ( | const char * | timestamp | ) |
Definition at line 110 of file indipropertybasic.cpp.
void INDI::PropertyBasic< T >::setTimestamp | ( | const std::string & | timestamp | ) |
Definition at line 117 of file indipropertybasic.cpp.
void INDI::PropertyBasic< T >::shrink_to_fit |
Definition at line 315 of file indipropertybasic.cpp.
size_t INDI::PropertyBasic< T >::size |
Definition at line 291 of file indipropertybasic.cpp.
void INDI::PropertyBasic< T >::vapply | ( | const char * | format, |
va_list | args | ||
) | const |
Definition at line 229 of file indipropertybasic.cpp.
void INDI::PropertyBasic< T >::vdefine | ( | const char * | format, |
va_list | args | ||
) | const |
Definition at line 236 of file indipropertybasic.cpp.