Public Member Functions | Private Attributes | List of all members
env_var< T > Class Template Reference

Public Member Functions

 env_var (char const *name, T default_value, std::function< bool(T) > checker=nullptr)
 
bool is_set () const
 
 operator T () const
 
value () const
 

Private Attributes

bool _is_set
 
_value
 

Detailed Description

template<class T>
class env_var< T >

Definition at line 75 of file ac-trigger.cpp.

Constructor & Destructor Documentation

template<class T>
env_var< T >::env_var ( char const *  name,
default_value,
std::function< bool(T) >  checker = nullptr 
)
inline

Definition at line 81 of file ac-trigger.cpp.

Member Function Documentation

template<class T>
bool env_var< T >::is_set ( ) const
inline

Definition at line 107 of file ac-trigger.cpp.

template<class T>
env_var< T >::operator T ( ) const
inline

Definition at line 110 of file ac-trigger.cpp.

template<class T>
T env_var< T >::value ( ) const
inline

Definition at line 108 of file ac-trigger.cpp.

Member Data Documentation

template<class T>
bool env_var< T >::_is_set
private

Definition at line 77 of file ac-trigger.cpp.

template<class T>
T env_var< T >::_value
private

Definition at line 78 of file ac-trigger.cpp.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:31