Основные функции SObjectizer API.
|
Пространства имен |
| namespace | so_4 |
| namespace | so_4::rt |
| namespace | so_4::api |
Перечисления |
| enum | so_4::api::insend_dispatching_status_t { so_4::api::insend_dispatching_disabled,
so_4::api::insend_dispatching_enabled
} |
| | Статус разрешенности обработки insend-событий. Подробнее...
|
Функции |
| ret_code_t | so_4::api::start (so_4::rt::dispatcher_t &disp, so_4::rt::agent_coop_t *initial_coop) |
| | Запуск Run-time.
|
| ret_code_t | so_4::api::start (so_4::rt::dispatcher_t *disp, so_4::destroy_disp_flags_t destruction_flag, so_4::rt::agent_coop_t *initial_coop) |
| | Запуск Run-time.
|
| ret_code_t | so_4::api::shutdown () |
| | Подача сигнала на завершение работы системы.
|
| ret_code_t | so_4::api::register_coop (so_4::rt::agent_coop_t &coop) |
| | Регистрация кооперации.
|
| ret_code_t | so_4::api::deregister_coop (const std::string &coop_name) |
| | Дерегистрация кооперации.
|
| ret_code_t | so_4::api::make_global_agent (const std::string &agent_name, const std::string &agent_type) |
| | Создание глобального агента.
|
| cpp_util_2::string_piece_t | so_4::api::receiver_unknown () |
| | Вспомогательная функция для указания того, что у получателя нет конкретного получателя.
|
| ret_code_t | so_4::api::send_msg (const cpp_util_2::string_piece_t agent_name, const cpp_util_2::string_piece_t msg_name, void *msg_data=0, const cpp_util_2::string_piece_t receiver=cpp_util_2::string_piece_t(), unsigned int delay=0, unsigned int period=0) |
| | Отсылка сообщения.
|
| ret_code_t | so_4::api::send_msg (const so_4::rt::comm_channel_t &channel_to, const cpp_util_2::string_piece_t agent_name, const cpp_util_2::string_piece_t msg_name, void *msg_data, const cpp_util_2::string_piece_t receiver=cpp_util_2::string_piece_t(), unsigned int delay=0, unsigned int period=0) |
| | Отсылка сообщения.
|
| template<class Msg> |
| so_4::ret_code_t | so_4::api::send_msg_safely (const cpp_util_2::string_piece_t agent_name, const cpp_util_2::string_piece_t msg_name, Msg *msg_data, const cpp_util_2::string_piece_t receiver=cpp_util_2::string_piece_t(), unsigned int delay=0, unsigned int period=0) |
| | Безопасная отсылка сообщения.
|
| template<class Msg> |
| so_4::ret_code_t | so_4::api::send_msg_safely (const so_4::rt::comm_channel_t &channel_to, const cpp_util_2::string_piece_t agent_name, const cpp_util_2::string_piece_t msg_name, Msg *msg_data, const cpp_util_2::string_piece_t receiver=cpp_util_2::string_piece_t(), unsigned int delay=0, unsigned int period=0) |
| | Безопасная отсылка сообщения.
|
| template<class Msg> |
| so_4::ret_code_t | so_4::api::send_msg_safely (const so_4::rt::comm_channel_t &channel_to, const cpp_util_2::string_piece_t agent_name, const cpp_util_2::string_piece_t msg_name, std::auto_ptr< Msg > msg_data, const cpp_util_2::string_piece_t receiver=cpp_util_2::string_piece_t(), unsigned int delay=0, unsigned int period=0) |
| | Безопасная отсылка сообщения.
|
| template<class Msg> |
| so_4::ret_code_t | so_4::api::send_msg_safely (const cpp_util_2::string_piece_t agent_name, const cpp_util_2::string_piece_t msg_name, std::auto_ptr< Msg > msg_data, const cpp_util_2::string_piece_t receiver=cpp_util_2::string_piece_t(), unsigned int delay=0, unsigned int period=0) |
| unsigned int | so_4::api::deliver_msg_on_nonblocked_kernel (const so_4::rt::msg_data_t &data, const insend_dispatching_status_t &insend_status) |
| | Низкоуровневая доставка сообщения при разблокированном ядре SObjectizer.
|
| ret_code_t | so_4::api::subscribe_event (const std::string &agent, const std::string &event, int priority, const so_4::rt::evt_subscr_t &subscr, const so_4::rt::evt_subscr_t::subscr_flag_t &subscr_flag, const so_4::rt::evt_subscr_t::dispatching_t &dispatching=so_4::rt::evt_subscr_t::normal_dispatching) |
| | Подписка события агента.
|
| ret_code_t | so_4::api::query_agent_state (const std::string &agent_name, std::string &state_name) |
| | Определение текущего состояния агента.
|
| so_4::api::settings::settings_t | so_4::api::sobjectizer_settings () |
| | Управление глобальными настройками SObjectizer.
|