Wombat Environmental Node 1.0
An environmental node for SDI-12 and digital sensors.
Loading...
Searching...
No Matches
URC< T > Struct Template Reference

#include <Utils.h>

Collaboration diagram for URC< T >:

Public Member Functions

 URC ()=default
 
 URC (bool v, T c, int r)
 

Public Attributes

bool valid { false }
 
command { static_cast<T>(-1) }
 
int result { -1 }
 
int err1 { 0 }
 
int err2 { 0 }
 

Constructor & Destructor Documentation

◆ URC() [1/2]

template<typename T >
URC< T >::URC ( )
default

◆ URC() [2/2]

template<typename T >
URC< T >::URC ( bool  v,
c,
int  r 
)
inline

Member Data Documentation

◆ command

template<typename T >
T URC< T >::command { static_cast<T>(-1) }

◆ err1

template<typename T >
int URC< T >::err1 { 0 }

◆ err2

template<typename T >
int URC< T >::err2 { 0 }

◆ result

template<typename T >
int URC< T >::result { -1 }

◆ valid

template<typename T >
bool URC< T >::valid { false }

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