.. index:: pair: class; EventLoop .. _doxid-class_event_loop: class EventLoop =============== .. toctree:: :hidden: Overview ~~~~~~~~ :ref:`EventLoop ` implementation which runs a Computational Graph. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class EventLoop: public :ref:`EventLoopInterface` { public: // construction :ref:`EventLoop`( const :ref:`nlohmann::json`& graph_config, std::chrono::milliseconds timestep, std::chrono::milliseconds timestepThres, :ref:`ComputationalGraph::ExecMode` execMode = ComputationalGraph::ExecMode::ALL_NODES, bool ownGIL = true, bool spinROS = false ); }; Inherited Members ----------------- .. ref-code-block:: cpp :class: doxyrest-overview-inherited-code-block public: // methods virtual void :ref:`initialize`(); void :ref:`runLoopOnce`(const std::chrono::time_point& startTime); void :ref:`runLoop`(std::chrono::milliseconds timeout); void :ref:`runLoopAsync`( std::chrono::milliseconds timeout = std::chrono::milliseconds(0), bool doInit = false ); void :ref:`stopLoop`(); void :ref:`shutdown`(); bool :ref:`isRunning`(); void :ref:`waitForLoopEnd`(); .. _details-class_event_loop: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ :ref:`EventLoop ` implementation which runs a Computational Graph. Construction ------------ .. index:: pair: function; EventLoop .. _doxid-class_event_loop_1a55155b3338a650e2ed6e293fc78d85b3: .. ref-code-block:: cpp :class: doxyrest-title-code-block EventLoop( const :ref:`nlohmann::json`& graph_config, std::chrono::milliseconds timestep, std::chrono::milliseconds timestepThres, :ref:`ComputationalGraph::ExecMode` execMode = ComputationalGraph::ExecMode::ALL_NODES, bool ownGIL = true, bool spinROS = false ) Constructor.