Instrument Neutral Distributed Interface INDI  2.0.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 650 of file indipropertyview.h.

Member Typedef Documentation

◆ Type

Definition at line 652 of file indipropertyview.h.

Constructor & Destructor Documentation

◆ WidgetView() [1/3]

Definition at line 656 of file indipropertyview.h.

◆ WidgetView() [2/3]

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

Definition at line 660 of file indipropertyview.h.

◆ WidgetView() [3/3]

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

Definition at line 661 of file indipropertyview.h.

◆ ~WidgetView()

Definition at line 674 of file indipropertyview.h.

Member Function Documentation

◆ clear()

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

Definition at line 675 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 274 of file indipropertyview.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 772 of file indipropertyview.h.

◆ getAux()

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

Definition at line 743 of file indipropertyview.h.

◆ getLabel()

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

Definition at line 729 of file indipropertyview.h.

◆ getName()

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

Definition at line 725 of file indipropertyview.h.

◆ getState()

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

Definition at line 734 of file indipropertyview.h.

◆ getStateAsString()

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

Definition at line 738 of file indipropertyview.h.

◆ isLabelMatch() [1/2]

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

Definition at line 759 of file indipropertyview.h.

◆ isLabelMatch() [2/2]

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

Definition at line 763 of file indipropertyview.h.

◆ isNameMatch() [1/2]

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

Definition at line 750 of file indipropertyview.h.

◆ isNameMatch() [2/2]

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

Definition at line 754 of file indipropertyview.h.

◆ operator=() [1/2]

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

Definition at line 665 of file indipropertyview.h.

◆ operator=() [2/2]

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

Definition at line 669 of file indipropertyview.h.

◆ setAux()

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

Definition at line 718 of file indipropertyview.h.

◆ setLabel() [1/2]

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

Definition at line 700 of file indipropertyview.h.

◆ setLabel() [2/2]

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

Definition at line 704 of file indipropertyview.h.

◆ setName() [1/2]

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

Definition at line 691 of file indipropertyview.h.

◆ setName() [2/2]

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

Definition at line 695 of file indipropertyview.h.

◆ setParent() [1/2]

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

Definition at line 682 of file indipropertyview.h.

◆ setParent() [2/2]

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

Definition at line 686 of file indipropertyview.h.

◆ setState() [1/2]

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

Definition at line 709 of file indipropertyview.h.

◆ setState() [2/2]

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

Definition at line 713 of file indipropertyview.h.

Friends And Related Function Documentation

◆ PropertyView

template<typename >
friend struct PropertyView
friend

Definition at line 653 of file indipropertyview.h.


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