|
SMACC2
|
#include <cp_http_connection_manager.hpp>


Public Member Functions | |
| CpHttpConnectionManager () | |
| virtual | ~CpHttpConnectionManager () |
| void | onInitialize () override |
| boost::asio::any_io_executor | getStrand () |
| boost::asio::io_context & | getIoContext () |
Public Member Functions inherited from smacc2::ISmaccComponent | |
| ISmaccComponent () | |
| virtual | ~ISmaccComponent () |
| virtual std::string | getName () const |
Private Attributes | |
| boost::asio::io_context | io_context_ |
| boost::asio::executor_work_guard< decltype(io_context_)::executor_type > | worker_guard_ |
| std::thread | io_thread_ |
| bool | initialized_ |
Additional Inherited Members | |
Protected Member Functions inherited from smacc2::ISmaccComponent | |
| template<typename TOrthogonal , typename TClient > | |
| void | onComponentInitialization () |
| template<typename EventType > | |
| void | postEvent (const EventType &ev) |
| template<typename EventType > | |
| void | postEvent () |
| template<typename TOrthogonal , typename TSourceObject > | |
| void | onStateOrthogonalAllocation () |
| template<typename TComponent > | |
| void | requiresComponent (TComponent *&requiredComponentStorage, ComponentRequirement requirementType=ComponentRequirement::SOFT) |
| template<typename TComponent > | |
| void | requiresComponent (std::string name, TComponent *&requiredComponentStorage, ComponentRequirement requirementType=ComponentRequirement::SOFT) |
| template<typename TClient > | |
| void | requiresClient (TClient *&requiredClientStorage) |
| template<typename SmaccComponentType , typename TOrthogonal , typename TClient , typename... TArgs> | |
| SmaccComponentType * | createSiblingComponent (TArgs... targs) |
| template<typename SmaccComponentType , typename TOrthogonal , typename TClient , typename... TArgs> | |
| SmaccComponentType * | createSiblingNamedComponent (std::string name, TArgs... targs) |
| rclcpp::Node::SharedPtr | getNode () |
| rclcpp::Logger | getLogger () const |
| ISmaccStateMachine * | getStateMachine () |
Protected Attributes inherited from smacc2::ISmaccComponent | |
| ISmaccStateMachine * | stateMachine_ |
| ISmaccClient * | owner_ |
Definition at line 33 of file cp_http_connection_manager.hpp.
| cl_http::CpHttpConnectionManager::CpHttpConnectionManager | ( | ) |
Definition at line 26 of file cp_http_connection_manager.cpp.
|
virtual |
Definition at line 31 of file cp_http_connection_manager.cpp.
References initialized_, io_thread_, and worker_guard_.
| boost::asio::io_context & cl_http::CpHttpConnectionManager::getIoContext | ( | ) |
| boost::asio::any_io_executor cl_http::CpHttpConnectionManager::getStrand | ( | ) |
Definition at line 52 of file cp_http_connection_manager.cpp.
References io_context_.
Referenced by cl_http::CpHttpRequestExecutor::executeRequest().

|
overridevirtual |
Reimplemented from smacc2::ISmaccComponent.
Definition at line 43 of file cp_http_connection_manager.cpp.
References initialized_, io_context_, and io_thread_.
|
private |
Definition at line 51 of file cp_http_connection_manager.hpp.
Referenced by onInitialize(), and ~CpHttpConnectionManager().
|
private |
Definition at line 48 of file cp_http_connection_manager.hpp.
Referenced by getIoContext(), getStrand(), and onInitialize().
|
private |
Definition at line 50 of file cp_http_connection_manager.hpp.
Referenced by onInitialize(), and ~CpHttpConnectionManager().
|
private |
Definition at line 49 of file cp_http_connection_manager.hpp.
Referenced by ~CpHttpConnectionManager().