Instrument Neutral Distributed Interface INDI 2.2.5
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< Type > &other)
 
 WidgetView (WidgetView< Type > &&other)
 
WidgetView< Type > & operator= (const WidgetView< Type > &other)
 
WidgetView< Type > & operator= (WidgetView< Type > &&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 686 of file indipropertyview.h.

Member Typedef Documentation

◆ Type

Definition at line 688 of file indipropertyview.h.

Constructor & Destructor Documentation

◆ WidgetView() [1/3]

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

Definition at line 692 of file indipropertyview.h.

◆ WidgetView() [2/3]

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

Definition at line 696 of file indipropertyview.h.

◆ WidgetView() [3/3]

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

Definition at line 697 of file indipropertyview.h.

◆ ~WidgetView()

Definition at line 710 of file indipropertyview.h.

Member Function Documentation

◆ clear()

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

Definition at line 711 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 310 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 808 of file indipropertyview.h.

◆ getAux()

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

Definition at line 779 of file indipropertyview.h.

◆ getLabel()

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

Definition at line 765 of file indipropertyview.h.

◆ getName()

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

Definition at line 761 of file indipropertyview.h.

◆ getState()

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

Definition at line 770 of file indipropertyview.h.

◆ getStateAsString()

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

Definition at line 774 of file indipropertyview.h.

◆ isLabelMatch() [1/2]

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

Definition at line 795 of file indipropertyview.h.

◆ isLabelMatch() [2/2]

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

Definition at line 799 of file indipropertyview.h.

◆ isNameMatch() [1/2]

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

Definition at line 786 of file indipropertyview.h.

◆ isNameMatch() [2/2]

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

Definition at line 790 of file indipropertyview.h.

◆ operator=() [1/2]

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

Definition at line 701 of file indipropertyview.h.

◆ operator=() [2/2]

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

Definition at line 705 of file indipropertyview.h.

◆ setAux()

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

Definition at line 754 of file indipropertyview.h.

◆ setLabel() [1/2]

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

Definition at line 736 of file indipropertyview.h.

◆ setLabel() [2/2]

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

Definition at line 740 of file indipropertyview.h.

◆ setName() [1/2]

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

Definition at line 727 of file indipropertyview.h.

◆ setName() [2/2]

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

Definition at line 731 of file indipropertyview.h.

◆ setParent() [1/2]

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

Definition at line 718 of file indipropertyview.h.

◆ setParent() [2/2]

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

Definition at line 722 of file indipropertyview.h.

◆ setState() [1/2]

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

Definition at line 745 of file indipropertyview.h.

◆ setState() [2/2]

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

Definition at line 749 of file indipropertyview.h.

Friends And Related Symbol Documentation

◆ PropertyView

template<typename >
friend struct PropertyView
friend

Definition at line 689 of file indipropertyview.h.


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