Main Page
Namespaces
Classes
Files
File List
File Members
include
packml_stacklight
action.h
Go to the documentation of this file.
1
/*
2
* Software License Agreement (Apache License)
3
*
4
* Copyright (c) 2019 Joshua Hatzenbuehler
5
*
6
* Licensed under the Apache License, Version 2.0 (the "License");
7
* you may not use this file except in compliance with the License.
8
* You may obtain a copy of the License at
9
*
10
* http://www.apache.org/licenses/LICENSE-2.0
11
*
12
* Unless required by applicable law or agreed to in writing, software
13
* distributed under the License is distributed on an "AS IS" BASIS,
14
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
* See the License for the specific language governing permissions and
16
* limitations under the License.
17
*/
18
19
#ifndef PACKML_STACKLIGHT_ACTION_H
20
#define PACKML_STACKLIGHT_ACTION_H
21
22
#include <packml_msgs/State.h>
23
#include <
packml_stacklight/light.h
>
24
#include <
packml_stacklight/button.h
>
25
#include <
packml_stacklight/buzzer.h
>
26
27
namespace
packml_stacklight
28
{
29
class
Action
30
{
31
public
:
32
int8_t
state_
= packml_msgs::State::UNDEFINED;
33
std::vector<Light>
light_vec_
;
34
std::vector<Button>
button_vec_
;
35
Buzzer
buzzer_
;
36
};
37
}
// namespace packml_stacklight
38
39
#endif // PACKML_STACKLIGHT_ACTION_H
packml_stacklight::Action::button_vec_
std::vector< Button > button_vec_
Definition:
action.h:34
button.h
light.h
buzzer.h
packml_stacklight::Action::state_
int8_t state_
Definition:
action.h:32
packml_stacklight::Action::light_vec_
std::vector< Light > light_vec_
Definition:
action.h:33
packml_stacklight::Buzzer
Definition:
buzzer.h:26
packml_stacklight::Action
Definition:
action.h:29
packml_stacklight::Action::buzzer_
Buzzer buzzer_
Definition:
action.h:35
packml_stacklight
Definition:
action.h:27
packml_stacklight
Author(s): Joshua Hatzenbuehler
autogenerated on Fri Jul 12 2019 03:31:01