Main Page
Namespaces
Classes
Files
File List
File Members
ros
include
cob_phidgets
phidget_manager.h
Go to the documentation of this file.
1
/*
2
* Copyright 2017 Fraunhofer Institute for Manufacturing Engineering and Automation (IPA)
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
16
17
18
#ifndef _PHIDGETMANAGER_H_
19
#define _PHIDGETMANAGER_H_
20
21
#include <vector>
22
#include <string>
23
#include <
cob_phidgets/phidget.h
>
24
25
struct
AttachedDevice
26
{
27
int
serial_num
;
28
std::string
name
;
29
};
30
31
class
PhidgetManager
32
{
33
public
:
34
PhidgetManager
();
35
~
PhidgetManager
();
36
37
auto
getAttachedDevices()-> std::vector<AttachedDevice>;
38
private
:
39
CPhidgetManagerHandle
_manHandle
;
40
std::vector<AttachedDevice>
_attachedDevices
;
41
};
42
#endif //_PHIDGETMANAGER_H_
PhidgetManager
Definition:
phidget_manager.h:31
AttachedDevice
Definition:
phidget_manager.h:25
AttachedDevice::name
std::string name
Definition:
phidget_manager.h:28
AttachedDevice::serial_num
int serial_num
Definition:
phidget_manager.h:27
phidget.h
PhidgetManager::_manHandle
CPhidgetManagerHandle _manHandle
Definition:
phidget_manager.h:39
PhidgetManager::_attachedDevices
std::vector< AttachedDevice > _attachedDevices
Definition:
phidget_manager.h:40
cob_phidgets
Author(s): Florian Weisshardt
autogenerated on Wed Apr 7 2021 02:11:43