Rosetta
Signals | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
ui::network::BowmanThread Class Referencefinal

#include <bowman_thread.h>

Inheritance diagram for ui::network::BowmanThread:
Inheritance graph
[legend]

Signals

void client_connected (std::string const &)
 
void client_disconnected (std::string const &)
 
void specification_received (std::string const &, JSON_CSP const &)
 
void result_received (JSON_SP const &)
 
void progress_data_received (JSON_SP const &)
 

Public Member Functions

 BowmanThread (QObject *parent=0)
 
 ~BowmanThread ()
 
void abort (std::string const &hal_id)
 
void execute (std::string const &hal_id, JSON_CSP const &command)
 
void set_hal_settings (protocols::network::HAL_Settings const &)
 

Private Types

using ContextSP = std::shared_ptr< zmq::context_t >
 
using SocketUP = std::unique_ptr< zmq::socket_t >
 
using SocketSP = std::shared_ptr< zmq::socket_t >
 

Private Member Functions

void run () override
 

Private Attributes

ContextSP context_
 
SocketUP bus_
 

Member Typedef Documentation

◆ ContextSP

using ui::network::BowmanThread::ContextSP = std::shared_ptr<zmq::context_t>
private

◆ SocketSP

using ui::network::BowmanThread::SocketSP = std::shared_ptr<zmq::socket_t>
private

◆ SocketUP

using ui::network::BowmanThread::SocketUP = std::unique_ptr<zmq::socket_t>
private

Constructor & Destructor Documentation

◆ BowmanThread()

ui::network::BowmanThread::BowmanThread ( QObject parent = 0)

References bus_, and context_.

◆ ~BowmanThread()

ui::network::BowmanThread::~BowmanThread ( )

References bus_.

Member Function Documentation

◆ abort()

void ui::network::BowmanThread::abort ( std::string const &  hal_id)

◆ client_connected

void ui::network::BowmanThread::client_connected ( std::string const &  )
signal

◆ client_disconnected

void ui::network::BowmanThread::client_disconnected ( std::string const &  )
signal

◆ execute()

void ui::network::BowmanThread::execute ( std::string const &  hal_id,
JSON_CSP const &  command 
)

References bus_, and execute::command.

Referenced by ui::network::Bowman::execute().

◆ progress_data_received

void ui::network::BowmanThread::progress_data_received ( JSON_SP const &  )
signal

◆ result_received

void ui::network::BowmanThread::result_received ( JSON_SP const &  )
signal

◆ run()

void ui::network::BowmanThread::run ( )
overrideprivate

◆ set_hal_settings()

void ui::network::BowmanThread::set_hal_settings ( protocols::network::HAL_Settings const &  settings)

◆ specification_received

void ui::network::BowmanThread::specification_received ( std::string const &  ,
JSON_CSP const &   
)
signal

Member Data Documentation

◆ bus_

SocketUP ui::network::BowmanThread::bus_
private

◆ context_

ContextSP ui::network::BowmanThread::context_
private

Referenced by BowmanThread(), and run().


The documentation for this class was generated from the following files: