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

Member Typedef Documentation

◆ Type

Definition at line 438 of file indipropertyview.h.

Constructor & Destructor Documentation

◆ WidgetView() [1/3]

Definition at line 442 of file indipropertyview.h.

◆ WidgetView() [2/3]

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

Definition at line 443 of file indipropertyview.h.

◆ WidgetView() [3/3]

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

Definition at line 444 of file indipropertyview.h.

◆ ~WidgetView()

Definition at line 447 of file indipropertyview.h.

Member Function Documentation

◆ clear()

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

Definition at line 448 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 141 of file indipropertyview_client.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 488 of file indipropertyview.h.

◆ getAux()

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

Definition at line 474 of file indipropertyview.h.

◆ getLabel()

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

Definition at line 469 of file indipropertyview.h.

◆ getName()

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

Definition at line 468 of file indipropertyview.h.

◆ getState()

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

Definition at line 471 of file indipropertyview.h.

◆ getStateAsString()

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

Definition at line 472 of file indipropertyview.h.

◆ isLabelMatch() [1/2]

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

Definition at line 481 of file indipropertyview.h.

◆ isLabelMatch() [2/2]

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

Definition at line 482 of file indipropertyview.h.

◆ isNameMatch() [1/2]

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

Definition at line 478 of file indipropertyview.h.

◆ isNameMatch() [2/2]

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

Definition at line 479 of file indipropertyview.h.

◆ operator=() [1/2]

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

Definition at line 445 of file indipropertyview.h.

◆ operator=() [2/2]

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

Definition at line 446 of file indipropertyview.h.

◆ setAux()

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

Definition at line 464 of file indipropertyview.h.

◆ setLabel() [1/2]

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

Definition at line 458 of file indipropertyview.h.

◆ setLabel() [2/2]

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

Definition at line 459 of file indipropertyview.h.

◆ setName() [1/2]

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

Definition at line 455 of file indipropertyview.h.

◆ setName() [2/2]

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

Definition at line 456 of file indipropertyview.h.

◆ setParent() [1/2]

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

Definition at line 452 of file indipropertyview.h.

◆ setParent() [2/2]

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

Definition at line 453 of file indipropertyview.h.

◆ setState() [1/2]

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

Definition at line 461 of file indipropertyview.h.

◆ setState() [2/2]

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

Definition at line 462 of file indipropertyview.h.

Friends And Related Function Documentation

◆ PropertyView

template<typename >
friend struct PropertyView
friend

Definition at line 439 of file indipropertyview.h.


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