Jpp
master_rocky
the software that should make you happy
|
Auxiliary class for selection of data type. More...
#include <JValve.hh>
Public Member Functions | |
JValve () | |
Default constructor. More... | |
template<class JController_t > | |
JValve (const JController_t &controller) | |
Constructor. More... | |
bool | is_open () const |
Check if valve is open. More... | |
void | open () |
Open valve. More... | |
void | close () |
Close valve. More... | |
template<class JController_t > | |
JValve & | operator() (const JController_t &controller) |
Set valve. More... | |
Static Public Member Functions | |
static const JValve< T > & | getDefault () |
Get default value of template class. More... | |
Protected Attributes | |
bool | status |
Static Private Attributes | |
static const JValve< T > | value |
Auxiliary class for selection of data type.
|
inline |
Default constructor.
By default, the valve is open.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestaticinherited |
|
protected |
|
staticprivateinherited |
Definition at line 30 of file JDefault.hh.