FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
template<class T , class S >
const sources::const_iterator
StateMachineDrive
< T, S >::GetSourceFromDB
(
const char *
ptr
,
const char *
last
)
inline
private
Definition at line
2039
of file
drivectrl.cc
.
References
Error()
.
2040
{
2041
if
(find(ptr, last,
'\0'
)==last)
2042
{
2043
T::Fatal(
"TrackWobble - The name transmitted by dim is not null-terminated."
);
2044
throw
uint32_t(T::kSM_FatalError);
2045
}
2046
2047
const
string
name(ptr);
2048
2049
const
sources::const_iterator it =
fSources
.find(name);
2050
if
(it==
fSources
.end())
2051
{
2052
T::Error
(
"Source '"
+name+
"' not found in list."
);
2053
throw
uint32_t(T::GetCurrentState());
2054
}
2055
2056
return
it;
2057
}
StateMachineDrive::fSources
sources fSources
Definition:
cosyctrl.cc:792
Error
Error()
Definition:
HeadersFTM.h:197
Here is the call graph for this function:
StateMachineDrive
Generated on Sun Sep 18 2016 20:50:59 for FACT++ by
1.8.11