Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
sick_scan::SickScanFieldMonSingleton Class Reference

#include <sick_generic_field_mon.h>

Public Member Functions

int getActiveFieldset (void)
 
const std::vector< SickScanMonField > & getMonFields (void) const
 
int parseAsciiDatagram (std::vector< unsigned char > datagramm)
 Parsing Ascii datagram. More...
 
int parseAsciiLIDinputstateMsg (unsigned char *datagram, int datagram_length)
 Parse binary LIDinputstate message and set active field set. More...
 
int parseBinaryDatagram (std::vector< unsigned char > datagramm)
 
int parseBinaryLIDinputstateMsg (unsigned char *datagram, int datagram_length)
 Parse binary LIDinputstate message and set active field set. More...
 
void setActiveFieldset (int active_fieldset)
 

Static Public Member Functions

static SickScanFieldMonSingletongetInstance ()
 

Private Member Functions

 SickScanFieldMonSingleton ()
 

Private Attributes

int active_mon_fieldset
 
ros::Publisher chatter_pub
 
std::vector< SickScanMonFieldmonFields
 
ros::NodeHandle nh_
 

Static Private Attributes

static SickScanFieldMonSingletoninstance = 0
 

Detailed Description

Definition at line 151 of file sick_generic_field_mon.h.

Constructor & Destructor Documentation

◆ SickScanFieldMonSingleton()

sick_scan::SickScanFieldMonSingleton::SickScanFieldMonSingleton ( )
private

Definition at line 186 of file sick_generic_field_mon.cpp.

Member Function Documentation

◆ getActiveFieldset()

int sick_scan::SickScanFieldMonSingleton::getActiveFieldset ( void  )
inline

Definition at line 172 of file sick_generic_field_mon.h.

◆ getInstance()

SickScanFieldMonSingleton * sick_scan::SickScanFieldMonSingleton::getInstance ( )
static

Definition at line 176 of file sick_generic_field_mon.cpp.

◆ getMonFields()

const std::vector<SickScanMonField>& sick_scan::SickScanFieldMonSingleton::getMonFields ( void  ) const
inline

Definition at line 169 of file sick_generic_field_mon.h.

◆ parseAsciiDatagram()

int sick_scan::SickScanFieldMonSingleton::parseAsciiDatagram ( std::vector< unsigned char >  datagramm)

Parsing Ascii datagram.

Parameters
datagramPointer to datagram data
datagram_lengthNumber of bytes in datagram

Definition at line 235 of file sick_generic_field_mon.cpp.

◆ parseAsciiLIDinputstateMsg()

int sick_scan::SickScanFieldMonSingleton::parseAsciiLIDinputstateMsg ( unsigned char *  datagram,
int  datagram_length 
)

Parse binary LIDinputstate message and set active field set.

Parameters
datagrammPointer to datagram data
datagram_lengthNumber of bytes in datagram

Definition at line 198 of file sick_generic_field_mon.cpp.

◆ parseBinaryDatagram()

int sick_scan::SickScanFieldMonSingleton::parseBinaryDatagram ( std::vector< unsigned char >  datagramm)

Definition at line 242 of file sick_generic_field_mon.cpp.

◆ parseBinaryLIDinputstateMsg()

int sick_scan::SickScanFieldMonSingleton::parseBinaryLIDinputstateMsg ( unsigned char *  datagramm,
int  datagram_length 
)

Parse binary LIDinputstate message and set active field set.

Parameters
datagrammPointer to datagram data
datagram_lengthNumber of bytes in datagram

Definition at line 210 of file sick_generic_field_mon.cpp.

◆ setActiveFieldset()

void sick_scan::SickScanFieldMonSingleton::setActiveFieldset ( int  active_fieldset)
inline

Definition at line 171 of file sick_generic_field_mon.h.

Member Data Documentation

◆ active_mon_fieldset

int sick_scan::SickScanFieldMonSingleton::active_mon_fieldset
private

Definition at line 163 of file sick_generic_field_mon.h.

◆ chatter_pub

ros::Publisher sick_scan::SickScanFieldMonSingleton::chatter_pub
private

Definition at line 161 of file sick_generic_field_mon.h.

◆ instance

SickScanFieldMonSingleton * sick_scan::SickScanFieldMonSingleton::instance = 0
staticprivate

Definition at line 155 of file sick_generic_field_mon.h.

◆ monFields

std::vector<SickScanMonField> sick_scan::SickScanFieldMonSingleton::monFields
private

Definition at line 162 of file sick_generic_field_mon.h.

◆ nh_

ros::NodeHandle sick_scan::SickScanFieldMonSingleton::nh_
private

Definition at line 160 of file sick_generic_field_mon.h.


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


sick_scan
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Wed Sep 7 2022 02:25:06