AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
ARDesign.Widgets.ParentWidget Class Reference

Reader class for parent widgets Parent widgets query a measurement for a list of types (ie. CO2, temp, etc), and then build a child data widget for each dataVals Data type is therefore string[] More...

Inheritance diagram for ARDesign.Widgets.ParentWidget:
ARDesign.Widgets.InfluxType< string[]>

Public Member Functions

void AddChild (DataWidget dw)
 Adds a child widget to the parent More...
 
- Public Member Functions inherited from ARDesign.Widgets.InfluxType< string[]>
GetData ()
 Returns the data for the widget More...
 

Protected Member Functions

override void CastWidget ()
 
override void ParseSetUpText (string webReturn)
 Pareses the setup query and builds the widget and all its children More...
 
override void ParseUpdateText (string webResult)
 Parent widgets should never be updated - toUpdate is always false More...
 
override string SetQueryUrl ()
 Queries a list of types in the measure More...
 
override string SetUpdateUrl ()
 

Additional Inherited Members

- Protected Attributes inherited from ARDesign.Widgets.InfluxType< string[]>
dataVals
 

Detailed Description

Reader class for parent widgets Parent widgets query a measurement for a list of types (ie. CO2, temp, etc), and then build a child data widget for each dataVals Data type is therefore string[]

Definition at line 15 of file ParentWidget.cs.

Member Function Documentation

§ AddChild()

void ARDesign.Widgets.ParentWidget.AddChild ( DataWidget  dw)

Adds a child widget to the parent

Parameters
dwWidget to add

Definition at line 36 of file ParentWidget.cs.

§ CastWidget()

override void ARDesign.Widgets.ParentWidget.CastWidget ( )
protectedvirtual

Implements ARDesign.Widgets.InfluxType< string[]>.

Definition at line 49 of file ParentWidget.cs.

§ ParseSetUpText()

override void ARDesign.Widgets.ParentWidget.ParseSetUpText ( string  webReturn)
protected

Pareses the setup query and builds the widget and all its children

Parameters
webReturnJSON string returned from query

Definition at line 59 of file ParentWidget.cs.

§ ParseUpdateText()

override void ARDesign.Widgets.ParentWidget.ParseUpdateText ( string  webResult)
protected

Parent widgets should never be updated - toUpdate is always false

Parameters
webResult

Definition at line 82 of file ParentWidget.cs.

§ SetQueryUrl()

override string ARDesign.Widgets.ParentWidget.SetQueryUrl ( )
protected

Queries a list of types in the measure

Returns
Http query url

Definition at line 91 of file ParentWidget.cs.

§ SetUpdateUrl()

override string ARDesign.Widgets.ParentWidget.SetUpdateUrl ( )
protected

Definition at line 97 of file ParentWidget.cs.


The documentation for this class was generated from the following file: