FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
template<class T >
int
AutoScheduler
< T >::Execute
(
)
inline
Definition at line
659
of file
scheduler.cc
.
References
Error()
.
660
{
661
switch
(T::GetCurrentState())
662
{
663
case
kSM_Scheduling
:
664
try
665
{
666
return
Schedule
() ? T::kSM_Error : T::kSM_Ready;
667
}
668
catch
(
const
mysqlpp::Exception &e)
669
{
670
T::Error
(
string
(
"MySQL: "
)+e.what());
671
return
T::kSM_Error;
672
}
673
674
// This does an autmatic reset (FOR TESTING ONLY)
675
case
T::kSM_Error:
676
return
T::kSM_Ready;
677
}
678
return
T::GetCurrentState();
679
}
AutoScheduler::kSM_Scheduling
Definition:
scheduler.cc:60
AutoScheduler::Schedule
int Schedule()
Definition:
scheduler.cc:151
Error
Error()
Definition:
HeadersFTM.h:197
Here is the call graph for this function:
AutoScheduler
Generated on Sun Sep 18 2016 20:50:42 for FACT++ by
1.8.11