Main Page
Namespaces
Classes
Files
File List
File Members
include
robotis_device
sensor.h
Go to the documentation of this file.
1
/*******************************************************************************
2
* Copyright 2018 ROBOTIS CO., LTD.
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
* sensor.h
19
*
20
* Created on: 2015. 12. 16.
21
* Author: zerom
22
*/
23
24
#ifndef ROBOTIS_DEVICE_SENSOR_H_
25
#define ROBOTIS_DEVICE_SENSOR_H_
26
27
#include <map>
28
#include <string>
29
#include <stdint.h>
30
31
#include "
device.h
"
32
#include "
sensor_state.h
"
33
#include "
control_table_item.h
"
34
35
namespace
robotis_framework
36
{
37
38
class
Sensor
:
public
Device
39
{
40
public
:
41
SensorState
*
sensor_state_
;
42
43
Sensor
(
int
id
, std::string model_name,
float
protocol_version);
44
};
45
46
}
47
48
49
#endif
/* ROBOTIS_DEVICE_SENSOR_H_ */
control_table_item.h
robotis_framework::Sensor::Sensor
Sensor(int id, std::string model_name, float protocol_version)
Definition:
sensor.cpp:28
robotis_framework::Device
Definition:
device.h:37
sensor_state.h
robotis_framework::Sensor::sensor_state_
SensorState * sensor_state_
Definition:
sensor.h:41
robotis_framework
Definition:
control_table_item.h:30
robotis_framework::SensorState
Definition:
sensor_state.h:33
device.h
robotis_framework::Sensor
Definition:
sensor.h:38
robotis_device
Author(s): Zerom
, Kayman
, SCH
autogenerated on Mon Jun 10 2019 14:35:09