Instrument Neutral Distributed Interface INDI
2.0.2
|
#include <indipropertytext.h>
Public Member Functions | |
PropertyText (size_t count) | |
PropertyText (INDI::Property property) | |
~PropertyText () | |
bool | update (const char *const texts[], const char *const names[], int n) |
void | fill (const char *device, const char *name, const char *label, const char *group, IPerm permission, double timeout, IPState state) |
![]() | |
~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 void | apply () const |
void void | define (const char *format,...) const ATTRIBUTE_FORMAT_PRINTF(2 |
void | define () const |
size_t | size () const |
size_t | count () const |
void | reserve (size_t size) |
void | resize (size_t size) |
void | shrink_to_fit () |
void | push (WidgetView< IText > &&item) |
void | push (const WidgetView< IText > &item) |
const WidgetView< IText > * | at (size_t index) const |
WidgetView< IText > & | operator[] (ssize_t index) const |
WidgetView< IText > * | begin () |
const WidgetView< IText > * | begin () const |
WidgetView< IText > * | end () |
const WidgetView< IText > * | end () const |
WidgetView< IText > * | find_if (Predicate pred) |
const WidgetView< IText > * | find_if (Predicate pred) const |
WidgetView< IText > * | findWidgetByName (const char *name) const |
int | findWidgetIndexByName (const char *name) const |
INDI::PropertyView< IText > * | operator-> () |
INDI::PropertyView< IText > | operator* () |
![]() | |
Property () | |
~Property () | |
Property (INDI::PropertyNumber property) | |
Property (INDI::PropertyText property) | |
Property (INDI::PropertySwitch property) | |
Property (INDI::PropertyLight property) | |
Property (INDI::PropertyBlob property) | |
Property (INumberVectorProperty *property) | |
Property (ITextVectorProperty *property) | |
Property (ISwitchVectorProperty *property) | |
Property (ILightVectorProperty *property) | |
Property (IBLOBVectorProperty *property) | |
Property (INDI::PropertyViewNumber *property) | |
Property (INDI::PropertyViewText *property) | |
Property (INDI::PropertyViewSwitch *property) | |
Property (INDI::PropertyViewLight *property) | |
Property (INDI::PropertyViewBlob *property) | |
void | setProperty (void *) |
void | setType (INDI_PROPERTY_TYPE t) |
void | setRegistered (bool r) |
void | setDynamic (bool d) |
void | setBaseDevice (BaseDevice *idp) |
void | setBaseDevice (BaseDevice device) |
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 |
bool | isDeviceNameMatch (const char *otherDeviceName) const |
bool | isDeviceNameMatch (const std::string &otherDeviceName) const |
bool | isTypeMatch (INDI_PROPERTY_TYPE otherType) const |
void | onUpdate (const std::function< void()> &callback) |
void | emitUpdate () |
bool | hasUpdateCallback () 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::PropertyViewNumber * | getNumber () const |
INDI::PropertyViewText * | getText () const |
INDI::PropertyViewSwitch * | getSwitch () const |
INDI::PropertyViewLight * | getLight () const |
INDI::PropertyViewBlob * | getBLOB () const |
INDI::Property * | operator-> () |
const INDI::Property * | operator-> () const |
operator INDI::Property * () | |
operator const INDI::Property * () const | |
operator INDI::PropertyViewNumber * () const | |
operator INDI::PropertyViewText * () const | |
operator INDI::PropertyViewSwitch * () const | |
operator INDI::PropertyViewLight * () const | |
operator INDI::PropertyViewBlob * () const | |
bool | operator!= (std::nullptr_t) const |
bool | operator== (std::nullptr_t) const |
operator bool () const | |
operator bool () | |
Additional Inherited Members | |
![]() | |
using | ViewType = IText |
![]() | |
PropertyView< IText > * | operator& () |
PropertyBasic (PropertyBasicPrivate &dd) | |
PropertyBasic (const std::shared_ptr< PropertyBasicPrivate > &dd) | |
![]() | |
Property (const std::shared_ptr< PropertyPrivate > &dd) | |
Property (PropertyPrivate &dd) | |
INDI::Property * | self () |
![]() | |
std::shared_ptr< PropertyPrivate > | d_ptr |
Definition at line 27 of file indipropertytext.h.
INDI::PropertyText::PropertyText | ( | size_t | count | ) |
Definition at line 32 of file indipropertytext.cpp.
INDI::PropertyText::PropertyText | ( | INDI::Property | property | ) |
Definition at line 36 of file indipropertytext.cpp.
INDI::PropertyText::~PropertyText | ( | ) |
Definition at line 40 of file indipropertytext.cpp.
void INDI::PropertyText::fill | ( | const char * | device, |
const char * | name, | ||
const char * | label, | ||
const char * | group, | ||
IPerm | permission, | ||
double | timeout, | ||
IPState | state | ||
) |
Definition at line 49 of file indipropertytext.cpp.
bool INDI::PropertyText::update | ( | const char *const | texts[], |
const char *const | names[], | ||
int | n | ||
) |
Definition at line 43 of file indipropertytext.cpp.