Main Page
Namespaces
Classes
Files
File List
File Members
src
application
LdmrsSectorChangeApp.hpp
Go to the documentation of this file.
1
//
2
// LdmrsSectorChangeApp.hpp
3
//
4
5
#ifndef LDMRSSECTORCHANGEAPP_HPP
6
#define LDMRSSECTORCHANGEAPP_HPP
7
8
#include "../manager.hpp"
9
#include "../tools/Mutex.hpp"
10
#include "../datatypes/Scan.hpp"
11
#include "../devices/LuxBase.hpp"
12
13
namespace
application
14
{
15
16
//
17
// LdmrsApp
18
//
19
class
LdmrsSectorChangeApp
:
public
BasicApplication
20
{
21
public
:
22
LdmrsSectorChangeApp
(
Manager
* manager);
23
virtual
~LdmrsSectorChangeApp
();
24
25
protected
:
26
void
setData
(
BasicData
& data);
// Receiver
27
28
private
:
29
void
checkResolution
(
Scan
& scan);
30
void
changeThreadFunction
(
bool
& endThread,
UINT16
& waitTimeMs);
31
bool
changeFlexResConfiguration
(
const
ScannerInfo::ResolutionMap
& configuredRM);
32
bool
changeAngularResolutionType
(
devices::AngularResolutionType
type);
33
bool
readDetailedErrorCode
(
UINT32
* code = NULL);
34
35
private
:
36
bool
m_beVerbose
;
37
Manager
*
m_manager
;
38
ScannerInfo::ResolutionMap
m_lastMeasuredSector
;
39
SickThread<LdmrsSectorChangeApp, &LdmrsSectorChangeApp::changeThreadFunction>
m_changeThread
;
40
};
41
42
}
// namespace application
43
44
#endif
application::LdmrsSectorChangeApp::m_manager
Manager * m_manager
Definition:
LdmrsSectorChangeApp.hpp:37
application::LdmrsSectorChangeApp::~LdmrsSectorChangeApp
virtual ~LdmrsSectorChangeApp()
Definition:
LdmrsSectorChangeApp.cpp:49
application::BasicApplication
Definition:
BasicApplication.hpp:16
datatypes::Scan
Definition:
Scan.hpp:24
UINT16
uint16_t UINT16
Definition:
BasicDatatypes.hpp:27
UINT32
uint32_t UINT32
Definition:
BasicDatatypes.hpp:26
application::LdmrsSectorChangeApp::setData
void setData(BasicData &data)
Definition:
LdmrsSectorChangeApp.cpp:163
application::LdmrsSectorChangeApp
Definition:
LdmrsSectorChangeApp.hpp:19
application::LdmrsSectorChangeApp::m_lastMeasuredSector
ScannerInfo::ResolutionMap m_lastMeasuredSector
Definition:
LdmrsSectorChangeApp.hpp:38
datatypes::ScannerInfo::ResolutionMap
std::vector< std::pair< double, double > > ResolutionMap
Definition:
ScannerInfo.hpp:39
application::LdmrsSectorChangeApp::m_changeThread
SickThread< LdmrsSectorChangeApp,&LdmrsSectorChangeApp::changeThreadFunction > m_changeThread
Definition:
LdmrsSectorChangeApp.hpp:39
application::LdmrsSectorChangeApp::readDetailedErrorCode
bool readDetailedErrorCode(UINT32 *code=NULL)
Definition:
LdmrsSectorChangeApp.cpp:199
Manager
Definition:
manager.hpp:18
devices::AngularResolutionType
AngularResolutionType
Definition:
LuxBase.hpp:118
datatypes::BasicData
Definition:
BasicDatatypes.hpp:95
application
Definition:
BasicApplication.cpp:8
application::LdmrsSectorChangeApp::changeFlexResConfiguration
bool changeFlexResConfiguration(const ScannerInfo::ResolutionMap &configuredRM)
Definition:
LdmrsSectorChangeApp.cpp:252
application::LdmrsSectorChangeApp::changeAngularResolutionType
bool changeAngularResolutionType(devices::AngularResolutionType type)
Definition:
LdmrsSectorChangeApp.cpp:295
application::LdmrsSectorChangeApp::checkResolution
void checkResolution(Scan &scan)
Definition:
LdmrsSectorChangeApp.cpp:99
application::LdmrsSectorChangeApp::m_beVerbose
bool m_beVerbose
Definition:
LdmrsSectorChangeApp.hpp:36
application::LdmrsSectorChangeApp::changeThreadFunction
void changeThreadFunction(bool &endThread, UINT16 &waitTimeMs)
Definition:
LdmrsSectorChangeApp.cpp:318
application::LdmrsSectorChangeApp::LdmrsSectorChangeApp
LdmrsSectorChangeApp(Manager *manager)
Definition:
LdmrsSectorChangeApp.cpp:32
SickThread
Wrapper class for posix threads.
Definition:
SickThread.hpp:80
libsick_ldmrs
Author(s): SICK AG
, Martin Günther
, Jochen Sprickerhof
autogenerated on Sat Jun 8 2019 17:57:33