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

#include <indipropertyview.h>

Inheritance diagram for INDI::WidgetView< ILight >:

Public Types

using Type = ILight
 

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 (ILightVectorProperty *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 IPState &state)
 
bool setState (const std::string &state)
 
void setAux (void *user)
 
const char * getName () const
 
const char * getLabel () const
 
IPState 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, IPState state=IPS_OK)
 
void fill (const std::string &name, const std::string &&label, IPState state=IPS_OK)
 

Friends

template<typename >
struct PropertyView
 

Detailed Description

Definition at line 815 of file indipropertyview.h.

Member Typedef Documentation

◆ Type

Definition at line 817 of file indipropertyview.h.

Constructor & Destructor Documentation

◆ WidgetView() [1/3]

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

Definition at line 821 of file indipropertyview.h.

◆ WidgetView() [2/3]

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

Definition at line 825 of file indipropertyview.h.

◆ WidgetView() [3/3]

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

Definition at line 826 of file indipropertyview.h.

◆ ~WidgetView()

Definition at line 839 of file indipropertyview.h.

Member Function Documentation

◆ clear()

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

Definition at line 840 of file indipropertyview.h.

◆ fill() [1/2]

void INDI::WidgetView< ILight >::fill ( const char *  name,
const char *  label,
IPState  state = IPS_OK 
)

Definition at line 316 of file indipropertyview.cpp.

◆ fill() [2/2]

void INDI::WidgetView< ILight >::fill ( const std::string &  name,
const std::string &&  label,
IPState  state = IPS_OK 
)
inline

Definition at line 937 of file indipropertyview.h.

◆ getAux()

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

Definition at line 908 of file indipropertyview.h.

◆ getLabel()

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

Definition at line 894 of file indipropertyview.h.

◆ getName()

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

Definition at line 890 of file indipropertyview.h.

◆ getState()

IPState INDI::WidgetView< ILight >::getState ( ) const
inline

Definition at line 899 of file indipropertyview.h.

◆ getStateAsString()

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

Definition at line 903 of file indipropertyview.h.

◆ isLabelMatch() [1/2]

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

Definition at line 924 of file indipropertyview.h.

◆ isLabelMatch() [2/2]

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

Definition at line 928 of file indipropertyview.h.

◆ isNameMatch() [1/2]

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

Definition at line 915 of file indipropertyview.h.

◆ isNameMatch() [2/2]

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

Definition at line 919 of file indipropertyview.h.

◆ operator=() [1/2]

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

Definition at line 830 of file indipropertyview.h.

◆ operator=() [2/2]

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

Definition at line 834 of file indipropertyview.h.

◆ setAux()

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

Definition at line 883 of file indipropertyview.h.

◆ setLabel() [1/2]

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

Definition at line 865 of file indipropertyview.h.

◆ setLabel() [2/2]

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

Definition at line 869 of file indipropertyview.h.

◆ setName() [1/2]

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

Definition at line 856 of file indipropertyview.h.

◆ setName() [2/2]

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

Definition at line 860 of file indipropertyview.h.

◆ setParent() [1/2]

void INDI::WidgetView< ILight >::setParent ( ILightVectorProperty *  parent)
inline

Definition at line 847 of file indipropertyview.h.

◆ setParent() [2/2]

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

Definition at line 851 of file indipropertyview.h.

◆ setState() [1/2]

void INDI::WidgetView< ILight >::setState ( const IPState &  state)
inline

Definition at line 874 of file indipropertyview.h.

◆ setState() [2/2]

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

Definition at line 878 of file indipropertyview.h.

Friends And Related Symbol Documentation

◆ PropertyView

template<typename >
friend struct PropertyView
friend

Definition at line 818 of file indipropertyview.h.


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