Instrument Neutral Distributed Interface INDI  1.9.2
Public Member Functions | List of all members
INDI::PropertyBlob Class Reference

#include <indipropertyblob.h>

Inheritance diagram for INDI::PropertyBlob:
INDI::PropertyBasic< IBLOB > INDI::Property

Public Member Functions

 PropertyBlob (size_t count)
 
 ~PropertyBlob ()
 
bool update (const int sizes[], const int blobsizes[], const char *const blobs[], const char *const formats[], 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)
 
- Public Member Functions inherited from INDI::PropertyBasic< IBLOB >
 ~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 &timestamp)
 
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
 
PropertyView< IBLOB > * operator& ()
 
size_t size () const
 
void reserve (size_t size)
 
void resize (size_t size)
 
void shrink_to_fit ()
 
void push (WidgetView< IBLOB > &&item)
 
void push (const WidgetView< IBLOB > &item)
 
const WidgetView< IBLOB > * at (size_t index) const
 
WidgetView< IBLOB > & operator[] (size_t index) const
 
WidgetView< IBLOB > * begin ()
 
const WidgetView< IBLOB > * begin () const
 
WidgetView< IBLOB > * end ()
 
const WidgetView< IBLOB > * end () const
 
WidgetView< IBLOB > * find_if (Predicate pred)
 
const WidgetView< IBLOB > * find_if (Predicate pred) const
 
WidgetView< IBLOB > * findWidgetByName (const char *name) const
 
int findWidgetIndexByName (const char *name) const
 
- Public Member Functions inherited from INDI::Property
 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
 
BaseDevicegetBaseDevice () 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::Propertyoperator-> ()
 
const INDI::Propertyoperator-> () const
 
 operator INDI::Property * ()
 
 operator const INDI::Property * () const
 

Additional Inherited Members

- Protected Member Functions inherited from INDI::PropertyBasic< IBLOB >
 PropertyBasic (PropertyBasicPrivate &dd)
 
- Protected Member Functions inherited from INDI::Property
 Property (std::shared_ptr< PropertyPrivate > dd)
 
 Property (PropertyPrivate &dd)
 
- Protected Attributes inherited from INDI::Property
std::shared_ptr< PropertyPrivated_ptr
 

Detailed Description

Definition at line 27 of file indipropertyblob.h.

Constructor & Destructor Documentation

◆ PropertyBlob()

INDI::PropertyBlob::PropertyBlob ( size_t  count)

Definition at line 32 of file indipropertyblob.cpp.

◆ ~PropertyBlob()

INDI::PropertyBlob::~PropertyBlob ( )

Definition at line 36 of file indipropertyblob.cpp.

Member Function Documentation

◆ fill()

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

Definition at line 48 of file indipropertyblob.cpp.

◆ update()

bool INDI::PropertyBlob::update ( const int  sizes[],
const int  blobsizes[],
const char *const  blobs[],
const char *const  formats[],
const char *const  names[],
int  n 
)

Definition at line 39 of file indipropertyblob.cpp.


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