AriacKitTray.cpp
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2012-2016 Open Source Robotics Foundation
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 #include "osrf_gear/AriacKitTray.h"
19 
20 using namespace ariac;
21 
24 {
25 }
26 
29 {
30 }
31 
33 KitTray::KitTray(std::string _trayID)
34  : trayID(_trayID)
35 {
36 }
37 
39 void KitTray::UpdateKitState(const Kit & kit)
40 {
41  this->currentKit = kit;
42  this->kitStateChanged = true;
43 }
void UpdateKitState(const Kit &kit)
Update the current state of the kit on the tray.
bool kitStateChanged
Flag for signalling the state of the tray has changed.
Definition: AriacKitTray.h:48
Kit currentKit
The current state of the kit on the tray.
Definition: AriacKitTray.h:45
KitTray()
Constructor.
std::string trayID
The ID of the tray.
Definition: AriacKitTray.h:42
~KitTray()
Destructor.
Class to store information about a kit.
Definition: ARIAC.hh:266
Definition: ARIAC.hh:27


osrf_gear
Author(s):
autogenerated on Wed Sep 7 2016 03:48:12