FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
bool StateMachineFeedback::CheckEventSize
(
size_t
has
,
const char *
name
,
size_t
size
)
inline
private
Definition at line
103
of file
feedback.cc
.
104
{
105
if
(has==
size
)
106
return
true
;
107
108
// Disconnected
109
if
(has==0)
110
return
false
;
111
112
ostringstream msg;
113
msg << name <<
" - Received event has "
<< has <<
" bytes, but expected "
<<
size
<<
"."
;
114
Fatal
(msg);
115
return
false
;
116
}
size
int size
Definition:
db_dim_server.c:17
MessageImp::Fatal
int Fatal(const std::string &str)
Definition:
MessageImp.h:51
StateMachineFeedback
Generated on Sun Sep 18 2016 20:51:00 for FACT++ by
1.8.11