The ID of a task to be retrieved from the special get_mark_next_task() function. More...
#include <database_task.h>
Public Member Functions | |
DatabaseTaskIDTyped () | |
DatabaseTaskIDTyped (std::string function_field) | |
Public Attributes | |
database_interface::DBField< int > | id_ |
The ID of a task to be retrieved from the special get_mark_next_task() function.
This function will atomically acquire an ID from a task set to TO_RUN and mark it as RUNNING. After that is done, we can use the class below this one to recover the rest of the information about the task.
Definition at line 68 of file database_task.h.
Definition at line 73 of file database_task.h.
household_objects_database::DatabaseTaskIDTyped::DatabaseTaskIDTyped | ( | std::string | function_field | ) | [inline] |
This constructor allows us to specify the name of the function, which can include any arguments inside it.
Definition at line 82 of file database_task.h.
Definition at line 71 of file database_task.h.