FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
template<class T>
bool
StateMachineFAD
< T >::Check
(
const uint32_t *
dat
,
uint32_t
maxaddr
,
uint32_t
maxval
)
inline
private
Definition at line
634
of file
fadctrl.cc
.
References
Error()
.
635
{
636
if
(dat[0]>maxaddr)
637
{
638
ostringstream msg;
639
msg << hex <<
"Address "
<< dat[0] <<
" out of range, max="
<< maxaddr <<
"."
;
640
T::Error
(msg);
641
return
false
;
642
}
643
644
if
(dat[1]>maxval)
645
{
646
ostringstream msg;
647
msg << hex <<
"Value "
<< dat[1] <<
" out of range, max="
<< maxval <<
"."
;
648
T::Error
(msg);
649
return
false
;
650
}
651
652
return
true
;
653
}
Error
Error()
Definition:
HeadersFTM.h:197
Here is the call graph for this function:
StateMachineFAD
Generated on Sun Sep 18 2016 20:50:59 for FACT++ by
1.8.11