| 
    Jpp 19.3.0-rc.1
    
   the software that should make you happy 
   | 
 
Auxiliary class for selection of data type. More...
#include <JValve.hh>
  
Public Member Functions | |
| JValve () | |
| Default constructor.   | |
| template<class JController_t > | |
| JValve (const JController_t &controller) | |
| Constructor.   | |
| bool | is_open () const | 
| Check if valve is open.   | |
| void | open () | 
| Open valve.   | |
| void | close () | 
| Close valve.   | |
| template<class JController_t > | |
| JValve & | operator() (const JController_t &controller) | 
| Set valve.   | |
Static Public Member Functions | |
| static const T & | getDefault () | 
| Get default value of template class.   | |
Protected Attributes | |
| bool | status | 
Static Private Attributes | |
| static const T | value | 
Auxiliary class for selection of data type.
      
  | 
  inline | 
Default constructor.
By default, the valve is open.
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
Set valve.
The template argument JController_t refers to a data structure which should provide for the function object operator: 
bool operator()(JType<T>& type) const; // get status of valve
| controller | controller of valve | 
      
  | 
  inlinestaticinherited | 
Get default value of template class.
Definition at line 24 of file JDefault.hh.
      
  | 
  protected | 
      
  | 
  staticprivateinherited | 
Definition at line 30 of file JDefault.hh.