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

#include <pfsdp_2300.h>

Inheritance diagram for PFSDP_2300:
Inheritance graph
[legend]

Public Member Functions

virtual std::string get_part ()
 
virtual std::string get_product ()
 
virtual void get_scan_parameters ()
 
 PFSDP_2300 (std::shared_ptr< HandleInfo > info, std::shared_ptr< ScanConfig > config, std::shared_ptr< ScanParameters > params)
 
void setup_param_server ()
 
- Public Member Functions inherited from PFSDPBase
void factory_reset ()
 
bool feed_watchdog (const std::string &handle)
 
template<typename... Ts>
std::map< std::string, std::string > get_parameter (const Ts &... ts)
 
float get_parameter_float (const std::string &param)
 
std::int64_t get_parameter_int (const std::string &param)
 
std::string get_parameter_str (const std::string &param)
 
ProtocolInfo get_protocol_info ()
 
virtual void get_scanoutput_config (const std::string &handle)
 
std::string get_scanoutput_config (const std::string &param, const std::string &handle)
 
const std::vector< std::string > list_parameters ()
 
 PFSDPBase (std::shared_ptr< HandleInfo > info, std::shared_ptr< ScanConfig > config, std::shared_ptr< ScanParameters > params)
 
bool reboot_device ()
 
bool release_handle (const std::string &handle)
 
void request_handle_tcp (const std::string &port="", const std::string &packet_type="")
 
virtual void request_handle_udp (const std::string &packet_type="")
 
template<typename... Ts>
bool reset_parameter (const Ts &... ts)
 
void set_connection_failure_cb (std::function< void()> callback)
 
template<typename... Ts>
bool set_parameter (const std::initializer_list< param_type > params)
 
bool set_scanoutput_config (const std::string &handle, const ScanConfig &config)
 
bool start_scanoutput ()
 
bool stop_scanoutput (const std::string &handle)
 
bool update_scanoutput_config ()
 

Private Member Functions

virtual std::pair< float, float > get_angle_start_stop (int start_angle)
 
void get_layers_enabled (uint16_t &enabled, uint16_t &highest)
 
virtual std::string get_start_angle_str ()
 
void reconfig_callback (pf_driver::PFDriverR2300Config &config, uint32_t level)
 

Private Attributes

std::unique_ptr< dynamic_reconfigure::Server< pf_driver::PFDriverR2300Config > > param_server_R2300_
 

Additional Inherited Members

- Protected Attributes inherited from PFSDPBase
std::shared_ptr< ScanConfigconfig_
 
std::shared_ptr< HandleInfoinfo_
 
std::shared_ptr< ScanParametersparams_
 

Detailed Description

Definition at line 8 of file pfsdp_2300.h.

Constructor & Destructor Documentation

◆ PFSDP_2300()

PFSDP_2300::PFSDP_2300 ( std::shared_ptr< HandleInfo info,
std::shared_ptr< ScanConfig config,
std::shared_ptr< ScanParameters params 
)

Definition at line 5 of file pfsdp_2300.cpp.

Member Function Documentation

◆ get_angle_start_stop()

std::pair< float, float > PFSDP_2300::get_angle_start_stop ( int  start_angle)
privatevirtual

Definition at line 59 of file pfsdp_2300.cpp.

◆ get_layers_enabled()

void PFSDP_2300::get_layers_enabled ( uint16_t &  enabled,
uint16_t &  highest 
)
private

Definition at line 43 of file pfsdp_2300.cpp.

◆ get_part()

std::string PFSDP_2300::get_part ( )
virtual

Reimplemented from PFSDPBase.

Definition at line 16 of file pfsdp_2300.cpp.

◆ get_product()

std::string PFSDP_2300::get_product ( )
virtual

Reimplemented from PFSDPBase.

Definition at line 11 of file pfsdp_2300.cpp.

◆ get_scan_parameters()

void PFSDP_2300::get_scan_parameters ( )
virtual

Reimplemented from PFSDPBase.

Definition at line 21 of file pfsdp_2300.cpp.

◆ get_start_angle_str()

std::string PFSDP_2300::get_start_angle_str ( )
privatevirtual

Definition at line 70 of file pfsdp_2300.cpp.

◆ reconfig_callback()

void PFSDP_2300::reconfig_callback ( pf_driver::PFDriverR2300Config &  config,
uint32_t  level 
)
private

Definition at line 75 of file pfsdp_2300.cpp.

◆ setup_param_server()

void PFSDP_2300::setup_param_server ( )
virtual

Reimplemented from PFSDPBase.

Definition at line 36 of file pfsdp_2300.cpp.

Member Data Documentation

◆ param_server_R2300_

std::unique_ptr<dynamic_reconfigure::Server<pf_driver::PFDriverR2300Config> > PFSDP_2300::param_server_R2300_
private

Definition at line 31 of file pfsdp_2300.h.


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


pf_driver
Author(s): Harsh Deshpande
autogenerated on Fri Feb 24 2023 03:59:35