#include <ROSTask.h>
Public Types | |
typedef callTask_fun | Function |
Static Public Member Functions | |
static decision_making::TaskResult | call (std::string task_name, std::string task_address, const decision_making::CallContext &call_ctx, decision_making::EventQueue &events) |
static void | registrate (std::string task_name, callTask cb) |
static void | registrate (std::string task_name, Function cb) |
static bool | registrated (std::string task_name) |
static void | unregistrated (std::string task_name) |
Private Types | |
typedef std::map< std::string, callTask > | callbacks |
typedef std::map< std::string, callTask_fun > | callbacks_fun |
typedef decision_making::TaskResult(* | callTask )(std::string, const decision_making::CallContext &, decision_making::EventQueue &) |
typedef boost::function < decision_making::TaskResult(std::string, const decision_making::CallContext &, decision_making::EventQueue &) > | callTask_fun |
Static Private Member Functions | |
static callbacks & | get () |
static callbacks_fun & | get_fun () |
typedef std::map<std::string, callTask> decision_making::LocalTasks::callbacks [private] |
typedef std::map<std::string, callTask_fun> decision_making::LocalTasks::callbacks_fun [private] |
typedef decision_making::TaskResult(* decision_making::LocalTasks::callTask)(std::string, const decision_making::CallContext &, decision_making::EventQueue &) [private] |
typedef boost::function<decision_making::TaskResult (std::string, const decision_making::CallContext&, decision_making::EventQueue&) > decision_making::LocalTasks::callTask_fun [private] |
static decision_making::TaskResult decision_making::LocalTasks::call | ( | std::string | task_name, |
std::string | task_address, | ||
const decision_making::CallContext & | call_ctx, | ||
decision_making::EventQueue & | events | ||
) | [inline, static] |
static callbacks& decision_making::LocalTasks::get | ( | ) | [inline, static, private] |
static callbacks_fun& decision_making::LocalTasks::get_fun | ( | ) | [inline, static, private] |
static void decision_making::LocalTasks::registrate | ( | std::string | task_name, |
callTask | cb | ||
) | [inline, static] |
static void decision_making::LocalTasks::registrate | ( | std::string | task_name, |
Function | cb | ||
) | [inline, static] |
static bool decision_making::LocalTasks::registrated | ( | std::string | task_name | ) | [inline, static] |
static void decision_making::LocalTasks::unregistrated | ( | std::string | task_name | ) | [inline, static] |