colorO.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 COLORO_H
19 #define COLORO_H
20 
21 #include <iColorO.h>
22 
23 #include <serialIO.h>
24 #include <colorUtils.h>
25 #include <sstream>
26 
27 class ColorO : public IColorO
28 {
29 public:
30  ColorO(SerialIO* serialIO);
31  virtual ~ColorO();
32 
33  bool init();
35  void setColorMulti(std::vector<color::rgba> &colors);
36 
37 private:
39  std::stringstream _ssOut;
40 };
41 
42 #endif
void setColor(color::rgba color)
Definition: colorO.cpp:40
virtual ~ColorO()
Definition: colorO.cpp:26
SerialIO * _serialIO
Definition: colorO.h:38
void setColorMulti(std::vector< color::rgba > &colors)
Definition: colorO.cpp:35
ColorO(SerialIO *serialIO)
Definition: colorO.cpp:21
std::stringstream _ssOut
Definition: colorO.h:39
bool init()
Definition: colorO.cpp:30
Definition: colorO.h:27


cob_light
Author(s): Benjamin Maidel
autogenerated on Wed Apr 7 2021 02:11:39