Instrument Neutral Distributed Interface INDI  2.0.2
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 &other)
 
 WidgetView (WidgetView &&other)
 
WidgetViewoperator= (const WidgetView &other)
 
WidgetViewoperator= (WidgetView &&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 779 of file indipropertyview.h.

Member Typedef Documentation

◆ Type

Definition at line 781 of file indipropertyview.h.

Constructor & Destructor Documentation

◆ WidgetView() [1/3]

Definition at line 785 of file indipropertyview.h.

◆ WidgetView() [2/3]

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

Definition at line 789 of file indipropertyview.h.

◆ WidgetView() [3/3]

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

Definition at line 790 of file indipropertyview.h.

◆ ~WidgetView()

Definition at line 803 of file indipropertyview.h.

Member Function Documentation

◆ clear()

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

Definition at line 804 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 280 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 901 of file indipropertyview.h.

◆ getAux()

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

Definition at line 872 of file indipropertyview.h.

◆ getLabel()

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

Definition at line 858 of file indipropertyview.h.

◆ getName()

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

Definition at line 854 of file indipropertyview.h.

◆ getState()

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

Definition at line 863 of file indipropertyview.h.

◆ getStateAsString()

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

Definition at line 867 of file indipropertyview.h.

◆ isLabelMatch() [1/2]

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

Definition at line 888 of file indipropertyview.h.

◆ isLabelMatch() [2/2]

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

Definition at line 892 of file indipropertyview.h.

◆ isNameMatch() [1/2]

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

Definition at line 879 of file indipropertyview.h.

◆ isNameMatch() [2/2]

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

Definition at line 883 of file indipropertyview.h.

◆ operator=() [1/2]

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

Definition at line 794 of file indipropertyview.h.

◆ operator=() [2/2]

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

Definition at line 798 of file indipropertyview.h.

◆ setAux()

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

Definition at line 847 of file indipropertyview.h.

◆ setLabel() [1/2]

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

Definition at line 829 of file indipropertyview.h.

◆ setLabel() [2/2]

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

Definition at line 833 of file indipropertyview.h.

◆ setName() [1/2]

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

Definition at line 820 of file indipropertyview.h.

◆ setName() [2/2]

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

Definition at line 824 of file indipropertyview.h.

◆ setParent() [1/2]

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

Definition at line 811 of file indipropertyview.h.

◆ setParent() [2/2]

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

Definition at line 815 of file indipropertyview.h.

◆ setState() [1/2]

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

Definition at line 838 of file indipropertyview.h.

◆ setState() [2/2]

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

Definition at line 842 of file indipropertyview.h.

Friends And Related Function Documentation

◆ PropertyView

template<typename >
friend struct PropertyView
friend

Definition at line 782 of file indipropertyview.h.


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