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

Provides generic container for INDI properties. More...

#include <indiproperty.h>

Public Member Functions

 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 ()
 
INDI_PROPERTY_TYPE getType ()
 
bool getRegistered ()
 
bool isDynamic ()
 
BaseDevicegetBaseDevice ()
 
const char * getName () const
 
const char * getLabel () const
 
const char * getGroupName () const
 
const char * getDeviceName () const
 
const char * getTimestamp () const
 
IPState getState () const
 
IPerm getPermission () const
 
INumberVectorPropertygetNumber ()
 
ITextVectorPropertygetText ()
 
ISwitchVectorPropertygetSwitch ()
 
ILightVectorPropertygetLight ()
 
IBLOBVectorPropertygetBLOB ()
 

Detailed Description

Provides generic container for INDI properties.

Author
Jasem Mutlaq
Examples:
tutorial_client.cpp, and tutorial_client.h.

Definition at line 33 of file indiproperty.h.

Constructor & Destructor Documentation

Property::Property ( )

Definition at line 23 of file indiproperty.cpp.

Property::~Property ( )

Definition at line 31 of file indiproperty.cpp.

Member Function Documentation

BaseDevice* INDI::Property::getBaseDevice ( )
inline

Definition at line 49 of file indiproperty.h.

IBLOBVectorProperty * Property::getBLOB ( )

Definition at line 381 of file indiproperty.cpp.

const char * Property::getDeviceName ( ) const
Examples:
tutorial_client.cpp.

Definition at line 220 of file indiproperty.cpp.

const char * Property::getGroupName ( ) const

Definition at line 186 of file indiproperty.cpp.

const char * Property::getLabel ( ) const

Definition at line 153 of file indiproperty.cpp.

ILightVectorProperty * Property::getLight ( )

Definition at line 373 of file indiproperty.cpp.

const char * Property::getName ( ) const
Examples:
tutorial_client.cpp.

Definition at line 119 of file indiproperty.cpp.

INumberVectorProperty * Property::getNumber ( )

Definition at line 349 of file indiproperty.cpp.

IPerm Property::getPermission ( ) const

Definition at line 319 of file indiproperty.cpp.

void* INDI::Property::getProperty ( )
inline

Definition at line 45 of file indiproperty.h.

bool INDI::Property::getRegistered ( )
inline

Definition at line 47 of file indiproperty.h.

IPState Property::getState ( ) const

Definition at line 288 of file indiproperty.cpp.

ISwitchVectorProperty * Property::getSwitch ( )

Definition at line 365 of file indiproperty.cpp.

ITextVectorProperty * Property::getText ( )

Definition at line 357 of file indiproperty.cpp.

const char * Property::getTimestamp ( ) const

Definition at line 254 of file indiproperty.cpp.

INDI_PROPERTY_TYPE INDI::Property::getType ( )
inline

Definition at line 46 of file indiproperty.h.

bool INDI::Property::isDynamic ( )
inline

Definition at line 48 of file indiproperty.h.

void Property::setBaseDevice ( BaseDevice idp)

Definition at line 114 of file indiproperty.cpp.

void Property::setDynamic ( bool  d)

Definition at line 109 of file indiproperty.cpp.

void Property::setProperty ( void *  p)

Definition at line 93 of file indiproperty.cpp.

void Property::setRegistered ( bool  r)

Definition at line 104 of file indiproperty.cpp.

void Property::setType ( INDI_PROPERTY_TYPE  t)

Definition at line 99 of file indiproperty.cpp.


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