Main Page
Namespaces
Classes
Files
File List
File Members
include
robotis_device
device.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
* device.h
19
*
20
* Created on: 2016. 5. 12.
21
* Author: zerom
22
*/
23
24
#ifndef ROBOTIS_DEVICE_DEVICE_H_
25
#define ROBOTIS_DEVICE_DEVICE_H_
26
27
28
#include <map>
29
#include <string>
30
#include <vector>
31
32
#include "
control_table_item.h
"
33
34
namespace
robotis_framework
35
{
36
37
class
Device
38
{
39
public
:
40
uint8_t
id_
;
41
float
protocol_version_
;
42
std::string
model_name_
;
43
std::string
port_name_
;
44
45
std::map<std::string, ControlTableItem *>
ctrl_table_
;
46
std::vector<ControlTableItem *>
bulk_read_items_
;
47
48
virtual
~Device
() { }
49
};
50
51
}
52
53
54
#endif
/* ROBOTIS_DEVICE_DEVICE_H_ */
robotis_framework::Device::id_
uint8_t id_
Definition:
device.h:40
robotis_framework::Device::model_name_
std::string model_name_
Definition:
device.h:42
robotis_framework::Device::protocol_version_
float protocol_version_
Definition:
device.h:41
control_table_item.h
robotis_framework::Device
Definition:
device.h:37
robotis_framework::Device::bulk_read_items_
std::vector< ControlTableItem * > bulk_read_items_
Definition:
device.h:46
robotis_framework::Device::port_name_
std::string port_name_
Definition:
device.h:43
robotis_framework::Device::~Device
virtual ~Device()
Definition:
device.h:48
robotis_framework
Definition:
control_table_item.h:30
robotis_framework::Device::ctrl_table_
std::map< std::string, ControlTableItem * > ctrl_table_
Definition:
device.h:45
robotis_device
Author(s): Zerom
, Kayman
, SCH
autogenerated on Mon Jun 10 2019 14:35:09