Use beast for bind, placeholders, and function

This commit is contained in:
Vinnie Falco
2013-06-27 17:17:10 -07:00
parent a21bb13915
commit 903cc001dd
7 changed files with 30 additions and 20 deletions

View File

@@ -12,6 +12,9 @@ class JobQueue
public:
explicit JobQueue (boost::asio::io_service&);
// VFALCO TODO make convenience functions that allow the caller to not
// have to call bind.
//
void addJob (JobType type, const std::string& name, const FUNCTION_TYPE<void (Job&)>& job);
int getJobCount (JobType t); // Jobs waiting at this priority