18 #ifndef INCLUDE_RCF_SERVERTASK_HPP 19 #define INCLUDE_RCF_SERVERTASK_HPP 24 #include <RCF/Export.hpp> 25 #include <RCF/ThreadPool.hpp> 31 class RCF_EXPORT TaskEntry
36 StopFunctor stopFunctor,
37 const std::string & threadName,
38 bool autoStart =
true);
46 void setThreadPoolPtr(ThreadPoolPtr threadPoolPtr);
56 friend class RcfServer;
61 StopFunctor mStopFunctor;
62 std::string mThreadName;
64 ThreadPoolPtr mLocalThreadPoolPtr;
65 ThreadPoolPtr mWhichThreadPoolPtr;
70 typedef std::vector<TaskEntry> TaskEntries;
74 #endif // ! INCLUDE_RCF_SERVERTASK_HPP Definition: AmiIoHandler.hpp:23