Instrument Neutral Distributed Interface INDI  1.9.2
Public Types | Public Member Functions | Friends | List of all members
INDI::WidgetView< ISwitch > Struct Reference

#include <indipropertyview.h>

Inheritance diagram for INDI::WidgetView< ISwitch >:

Public Types

using Type = ISwitch
 

Public Member Functions

 WidgetView ()
 
 WidgetView (const WidgetView &other)
 
 WidgetView (WidgetView &&other)
 
WidgetViewoperator= (const WidgetView &other)
 
WidgetViewoperator= (WidgetView &&other)
 
 ~WidgetView ()
 
void clear ()
 
void setParent (ISwitchVectorProperty *parent)
 
void setParent (PropertyView< Type > *parent)
 
void setName (const char *name)
 
void setName (const std::string &name)
 
void setLabel (const char *label)
 
void setLabel (const std::string &label)
 
void setState (const ISState &state)
 
bool setState (const std::string &state)
 
void setAux (void *user)
 
const char * getName () const
 
const char * getLabel () const
 
ISState getState () const
 
const char * getStateAsString () const
 
void * getAux () 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 fill (const char *name, const char *label, ISState state=ISS_OFF)
 
void fill (const std::string &name, const std::string &label, ISState state=ISS_OFF)
 

Friends

template<typename >
struct PropertyView
 

Detailed Description

Definition at line 379 of file indipropertyview.h.

Member Typedef Documentation

◆ Type

Definition at line 381 of file indipropertyview.h.

Constructor & Destructor Documentation

◆ WidgetView() [1/3]

Definition at line 385 of file indipropertyview.h.

◆ WidgetView() [2/3]

INDI::WidgetView< ISwitch >::WidgetView ( const WidgetView< ISwitch > &  other)
inline

Definition at line 386 of file indipropertyview.h.

◆ WidgetView() [3/3]

INDI::WidgetView< ISwitch >::WidgetView ( WidgetView< ISwitch > &&  other)
inline

Definition at line 387 of file indipropertyview.h.

◆ ~WidgetView()

Definition at line 390 of file indipropertyview.h.

Member Function Documentation

◆ clear()

void INDI::WidgetView< ISwitch >::clear ( )
inline

Definition at line 391 of file indipropertyview.h.

◆ fill() [1/2]

void INDI::WidgetView< ISwitch >::fill ( const char *  name,
const char *  label,
ISState  state = ISS_OFF 
)

Definition at line 137 of file indipropertyview_client.cpp.

◆ fill() [2/2]

void INDI::WidgetView< ISwitch >::fill ( const std::string &  name,
const std::string &  label,
ISState  state = ISS_OFF 
)
inline

Definition at line 431 of file indipropertyview.h.

◆ getAux()

void* INDI::WidgetView< ISwitch >::getAux ( ) const
inline

Definition at line 417 of file indipropertyview.h.

◆ getLabel()

const char* INDI::WidgetView< ISwitch >::getLabel ( ) const
inline

Definition at line 412 of file indipropertyview.h.

◆ getName()

const char* INDI::WidgetView< ISwitch >::getName ( ) const
inline

Definition at line 411 of file indipropertyview.h.

◆ getState()

ISState INDI::WidgetView< ISwitch >::getState ( ) const
inline

Definition at line 414 of file indipropertyview.h.

◆ getStateAsString()

const char* INDI::WidgetView< ISwitch >::getStateAsString ( ) const
inline

Definition at line 415 of file indipropertyview.h.

◆ isLabelMatch() [1/2]

bool INDI::WidgetView< ISwitch >::isLabelMatch ( const char *  otherLabel) const
inline

Definition at line 424 of file indipropertyview.h.

◆ isLabelMatch() [2/2]

bool INDI::WidgetView< ISwitch >::isLabelMatch ( const std::string &  otherLabel) const
inline

Definition at line 425 of file indipropertyview.h.

◆ isNameMatch() [1/2]

bool INDI::WidgetView< ISwitch >::isNameMatch ( const char *  otherName) const
inline

Definition at line 421 of file indipropertyview.h.

◆ isNameMatch() [2/2]

bool INDI::WidgetView< ISwitch >::isNameMatch ( const std::string &  otherName) const
inline

Definition at line 422 of file indipropertyview.h.

◆ operator=() [1/2]

WidgetView& INDI::WidgetView< ISwitch >::operator= ( const WidgetView< ISwitch > &  other)
inline

Definition at line 388 of file indipropertyview.h.

◆ operator=() [2/2]

WidgetView& INDI::WidgetView< ISwitch >::operator= ( WidgetView< ISwitch > &&  other)
inline

Definition at line 389 of file indipropertyview.h.

◆ setAux()

void INDI::WidgetView< ISwitch >::setAux ( void *  user)
inline

Definition at line 407 of file indipropertyview.h.

◆ setLabel() [1/2]

void INDI::WidgetView< ISwitch >::setLabel ( const char *  label)
inline

Definition at line 401 of file indipropertyview.h.

◆ setLabel() [2/2]

void INDI::WidgetView< ISwitch >::setLabel ( const std::string &  label)
inline

Definition at line 402 of file indipropertyview.h.

◆ setName() [1/2]

void INDI::WidgetView< ISwitch >::setName ( const char *  name)
inline

Definition at line 398 of file indipropertyview.h.

◆ setName() [2/2]

void INDI::WidgetView< ISwitch >::setName ( const std::string &  name)
inline

Definition at line 399 of file indipropertyview.h.

◆ setParent() [1/2]

void INDI::WidgetView< ISwitch >::setParent ( ISwitchVectorProperty parent)
inline

Definition at line 395 of file indipropertyview.h.

◆ setParent() [2/2]

void INDI::WidgetView< ISwitch >::setParent ( PropertyView< Type > *  parent)
inline

Definition at line 396 of file indipropertyview.h.

◆ setState() [1/2]

void INDI::WidgetView< ISwitch >::setState ( const ISState state)
inline

Definition at line 404 of file indipropertyview.h.

◆ setState() [2/2]

bool INDI::WidgetView< ISwitch >::setState ( const std::string &  state)
inline

Definition at line 405 of file indipropertyview.h.

Friends And Related Function Documentation

◆ PropertyView

template<typename >
friend struct PropertyView
friend

Definition at line 382 of file indipropertyview.h.


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