Public Member Functions | Private Member Functions | Private Attributes | List of all members
SickSafeVisionary Class Reference

#include <sick_safevisionary.h>

Public Member Functions

void run ()
 Starts the driver functionality. More...
 
 SickSafeVisionary ()
 
void stop ()
 Stops the driver functionality. More...
 
virtual ~SickSafeVisionary ()
 

Private Member Functions

void publishThread ()
 Thread for publishing sensor data. More...
 
void receiveThread ()
 Thread for receiving sensor data. More...
 

Private Attributes

CompoundPublisher compound_publisher_
 
std::atomic< bool > data_available_
 
std::shared_ptr< visionary::SafeVisionaryData > data_handle_
 
std::shared_ptr< visionary::SafeVisionaryDataStream > data_stream_
 
std::string frame_id_
 
ros::NodeHandle priv_nh_
 
std::unique_ptr< std::thread > publish_thread_ptr_
 
std::unique_ptr< std::thread > receive_thread_ptr_
 
boost::lockfree::spsc_queue< visionary::SafeVisionaryData, boost::lockfree::capacity< 10 > > spsc_queue_
 
int udp_port_
 

Detailed Description

Definition at line 44 of file sick_safevisionary.h.

Constructor & Destructor Documentation

◆ SickSafeVisionary()

SickSafeVisionary::SickSafeVisionary ( )

Definition at line 34 of file sick_safevisionary.cpp.

◆ ~SickSafeVisionary()

virtual SickSafeVisionary::~SickSafeVisionary ( )
inlinevirtual

Definition at line 48 of file sick_safevisionary.h.

Member Function Documentation

◆ publishThread()

void SickSafeVisionary::publishThread ( )
private

Thread for publishing sensor data.

Definition at line 100 of file sick_safevisionary.cpp.

◆ receiveThread()

void SickSafeVisionary::receiveThread ( )
private

Thread for receiving sensor data.

Definition at line 83 of file sick_safevisionary.cpp.

◆ run()

void SickSafeVisionary::run ( )

Starts the driver functionality.

Definition at line 70 of file sick_safevisionary.cpp.

◆ stop()

void SickSafeVisionary::stop ( )

Stops the driver functionality.

Definition at line 76 of file sick_safevisionary.cpp.

Member Data Documentation

◆ compound_publisher_

CompoundPublisher SickSafeVisionary::compound_publisher_
private

Definition at line 68 of file sick_safevisionary.h.

◆ data_available_

std::atomic<bool> SickSafeVisionary::data_available_
private

Definition at line 78 of file sick_safevisionary.h.

◆ data_handle_

std::shared_ptr<visionary::SafeVisionaryData> SickSafeVisionary::data_handle_
private

Definition at line 70 of file sick_safevisionary.h.

◆ data_stream_

std::shared_ptr<visionary::SafeVisionaryDataStream> SickSafeVisionary::data_stream_
private

Definition at line 71 of file sick_safevisionary.h.

◆ frame_id_

std::string SickSafeVisionary::frame_id_
private

Definition at line 74 of file sick_safevisionary.h.

◆ priv_nh_

ros::NodeHandle SickSafeVisionary::priv_nh_
private

Definition at line 73 of file sick_safevisionary.h.

◆ publish_thread_ptr_

std::unique_ptr<std::thread> SickSafeVisionary::publish_thread_ptr_
private

Definition at line 77 of file sick_safevisionary.h.

◆ receive_thread_ptr_

std::unique_ptr<std::thread> SickSafeVisionary::receive_thread_ptr_
private

Definition at line 76 of file sick_safevisionary.h.

◆ spsc_queue_

boost::lockfree::spsc_queue<visionary::SafeVisionaryData, boost::lockfree::capacity<10> > SickSafeVisionary::spsc_queue_
private

Definition at line 81 of file sick_safevisionary.h.

◆ udp_port_

int SickSafeVisionary::udp_port_
private

Definition at line 75 of file sick_safevisionary.h.


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


sick_safevisionary_driver
Author(s):
autogenerated on Fri Oct 20 2023 02:09:16