Main Page
Namespaces
Classes
Files
File List
File Members
include
robotis_device
control_table_item.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
* control_table_item.h
19
*
20
* Created on: 2015. 12. 16.
21
* Author: zerom
22
*/
23
24
#ifndef ROBOTIS_DEVICE_CONTROL_TABLE_ITEM_H_
25
#define ROBOTIS_DEVICE_CONTROL_TABLE_ITEM_H_
26
27
28
#include <stdint.h>
29
30
namespace
robotis_framework
31
{
32
33
enum
AccessType
{
34
Read
,
35
ReadWrite
36
};
37
38
enum
MemoryType
{
39
EEPROM
,
40
RAM
41
};
42
43
class
ControlTableItem
44
{
45
public
:
46
std::string
item_name_
;
47
uint16_t
address_
;
48
AccessType
access_type_
;
49
MemoryType
memory_type_
;
50
uint8_t
data_length_
;
51
int32_t
data_min_value_
;
52
int32_t
data_max_value_
;
53
bool
is_signed_
;
54
55
ControlTableItem
()
56
: item_name_(
""
),
57
address_(0),
58
access_type_(
Read
),
59
memory_type_(
RAM
),
60
data_length_(0),
61
data_min_value_(0),
62
data_max_value_(0),
63
is_signed_(false)
64
{ }
65
};
66
67
}
68
69
70
#endif
/* ROBOTIS_DEVICE_CONTROL_TABLE_ITEM_H_ */
robotis_framework::ControlTableItem::data_max_value_
int32_t data_max_value_
Definition:
control_table_item.h:52
robotis_framework::MemoryType
MemoryType
Definition:
control_table_item.h:38
robotis_framework::ControlTableItem::ControlTableItem
ControlTableItem()
Definition:
control_table_item.h:55
robotis_framework::ControlTableItem
Definition:
control_table_item.h:43
robotis_framework::ControlTableItem::data_length_
uint8_t data_length_
Definition:
control_table_item.h:50
robotis_framework::ControlTableItem::memory_type_
MemoryType memory_type_
Definition:
control_table_item.h:49
robotis_framework::EEPROM
Definition:
control_table_item.h:39
robotis_framework::AccessType
AccessType
Definition:
control_table_item.h:33
robotis_framework::ControlTableItem::is_signed_
bool is_signed_
Definition:
control_table_item.h:53
robotis_framework::Read
Definition:
control_table_item.h:34
robotis_framework::ControlTableItem::access_type_
AccessType access_type_
Definition:
control_table_item.h:48
robotis_framework::ControlTableItem::data_min_value_
int32_t data_min_value_
Definition:
control_table_item.h:51
robotis_framework::ControlTableItem::address_
uint16_t address_
Definition:
control_table_item.h:47
robotis_framework::ReadWrite
Definition:
control_table_item.h:35
robotis_framework
Definition:
control_table_item.h:30
robotis_framework::ControlTableItem::item_name_
std::string item_name_
Definition:
control_table_item.h:46
robotis_framework::RAM
Definition:
control_table_item.h:40
robotis_device
Author(s): Zerom
, Kayman
, SCH
autogenerated on Mon Jun 10 2019 14:35:09