Auxiliary class for prescaling.
More...
#include <JPrescaler.hh>
Auxiliary class for prescaling.
Definition at line 23 of file JPrescaler.hh.
◆ JPrescaler() [1/2]
JTRIGGER::JPrescaler::JPrescaler |
( |
| ) |
|
|
inline |
◆ JPrescaler() [2/2]
JTRIGGER::JPrescaler::JPrescaler |
( |
const long long int | value | ) |
|
|
inline |
Constructor.
- Parameters
-
value | prescale value (0 is off) |
Definition at line 41 of file JPrescaler.hh.
◆ ~JPrescaler()
virtual JTRIGGER::JPrescaler::~JPrescaler |
( |
| ) |
|
|
inlinevirtual |
◆ equals()
bool JTRIGGER::JPrescaler::equals |
( |
const JPrescaler & | prescaler | ) |
const |
|
inline |
Equality.
- Parameters
-
- Returns
- true if equals; else false
Definition at line 60 of file JPrescaler.hh.
61 {
62 return prescale == prescaler.prescale;
63 }
◆ operator()()
bool JTRIGGER::JPrescaler::operator() |
( |
| ) |
const |
|
inline |
Test operator.
This operator increments the internal counter and checks whether this counter complies with the prescale value.
- Returns
- true if this turn not prescaled; else false
Definition at line 74 of file JPrescaler.hh.
◆ operator bool()
JTRIGGER::JPrescaler::operator bool |
( |
| ) |
const |
|
inline |
Check status.
- Returns
- true if this turn not prescaled; else false
Definition at line 87 of file JPrescaler.hh.
◆ ClassDef()
◆ prescale
long long int JTRIGGER::JPrescaler::prescale |
◆ counter
long long int JTRIGGER::JPrescaler::counter |
|
mutable |
The documentation for this class was generated from the following file: