19 #ifndef INCLUDE_RCF_SERVERTASK_HPP 20 #define INCLUDE_RCF_SERVERTASK_HPP 25 #include <RCF/Export.hpp> 26 #include <RCF/ThreadPool.hpp> 32 class RCF_EXPORT TaskEntry
37 StopFunctor stopFunctor,
38 const std::string & threadName,
39 bool autoStart =
true);
47 void setThreadPoolPtr(ThreadPoolPtr threadPoolPtr);
57 friend class RcfServer;
62 StopFunctor mStopFunctor;
63 std::string mThreadName;
65 ThreadPoolPtr mLocalThreadPoolPtr;
66 ThreadPoolPtr mWhichThreadPoolPtr;
71 typedef std::vector<TaskEntry> TaskEntries;
75 #endif // ! INCLUDE_RCF_SERVERTASK_HPP Definition: AmiIoHandler.hpp:24