• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kstars

Functions defined by Drivers that are called when a Client wishes to set different values named members of the given vector Property.

The values and their names are parallel arrays of n elements each. More...


Functions

void ISNewBLOB (const char *dev, const char *name, int sizes[], char *blobs[], char *formats[], char *names[], int n)
void ISNewNumber (const char *dev, const char *name, double *doubles, char *names[], int n)
void ISNewSwitch (const char *dev, const char *name, ISState *states, char *names[], int n)
void ISNewText (const char *dev, const char *name, char *texts[], char *names[], int n)

Detailed Description

The values and their names are parallel arrays of n elements each.

Function Documentation

void ISNewBLOB ( const char *  dev,
const char *  name,
int  sizes[],
char *  blobs[],
char *  formats[],
char *  names[],
int  n 
)

Update data of an existing blob vector property.

Parameters:
dev the name of the device.
name the name of the blob vector property to update.
sizes an array of blob sizes in bytes.
blobs the blob data array in bytes
formats Blob data format (e.g. fits.z).
names names of blob members to update.
n the number of blobs to update.
Note:
You do not need to call this function, it is called by INDI when new blob values arrive from the client. e.g. BLOB element with name names[0] has data located in blobs[0] with size sizes[0] and format formats[0].

void ISNewNumber ( const char *  dev,
const char *  name,
double *  doubles,
char *  names[],
int  n 
)

Update the value of an existing number vector property.

Parameters:
dev the name of the device.
name the name of the number vector property to update.
doubles an array of number values.
names parallel names to the array of number values.
n the dimension of doubles[].
Note:
You do not need to call this function, it is called by INDI when new number values arrive from the client.

void ISNewSwitch ( const char *  dev,
const char *  name,
ISState *  states,
char *  names[],
int  n 
)

Update the value of an existing switch vector property.

Parameters:
dev the name of the device.
name the name of the switch vector property to update.
states an array of switch states.
names parallel names to the array of switch states.
n the dimension of states[].
Note:
You do not need to call this function, it is called by INDI when new switch values arrive from the client.

Definition at line 119 of file apmount.cpp.

void ISNewText ( const char *  dev,
const char *  name,
char *  texts[],
char *  names[],
int  n 
)

Update the value of an existing text vector property.

Parameters:
dev the name of the device.
name the name of the text vector property to update.
texts an array of text values.
names parallel names to the array of text values.
n the dimension of texts[].
Note:
You do not need to call this function, it is called by INDI when new text values arrive from the client.

Definition at line 125 of file apmount.cpp.

kstars

Skip menu "kstars"
  • Main Page
  • Modules
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • keduca
  • kstars
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal