SDOSegmented.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 _SDOSegmented_H
19 #define _SDOSegmented_H
20 
21 #include <vector>
22 
27 class segData {
28 
29  public:
30 
39  };
40 
41  segData() {
42  objectID = 0x0000;
43  objectSubID = 0x00;
44  toggleBit = false;
46  }
47 
48  ~segData() {}
49 
54  data.clear();
55  objectID = 0x0000;
56  objectSubID = 0x00;
57  toggleBit = false;
59  }
60 
61  //public attributes
62  //all attributes are public, as this class is used only as ~data array
63 
72 
76  int objectID;
77 
82 
86  bool toggleBit;
87 
91  unsigned int numTotalBytes;
92 
96  std::vector<unsigned char> data;
97 };
98 
99 #endif
int objectID
Definition: SDOSegmented.h:76
void resetTransferData()
Definition: SDOSegmented.h:53
std::vector< unsigned char > data
Definition: SDOSegmented.h:96
bool toggleBit
Definition: SDOSegmented.h:86
int objectSubID
Definition: SDOSegmented.h:81
unsigned int numTotalBytes
Definition: SDOSegmented.h:91
int statusFlag
Definition: SDOSegmented.h:71


cob_canopen_motor
Author(s): Christian Connette
autogenerated on Wed Apr 7 2021 02:11:53