Main Page
Namespaces
Classes
Files
File List
File Members
ros
include
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
();
34
void
setColor
(
color::rgba
color
);
35
void
setColorMulti
(std::vector<color::rgba> &colors);
36
37
private
:
38
SerialIO
*
_serialIO
;
39
std::stringstream
_ssOut
;
40
};
41
42
#endif
IColorO
Definition:
iColorO.h:24
ColorO::setColor
void setColor(color::rgba color)
Definition:
colorO.cpp:40
ColorO::~ColorO
virtual ~ColorO()
Definition:
colorO.cpp:26
ColorO::_serialIO
SerialIO * _serialIO
Definition:
colorO.h:38
serialIO.h
iColorO.h
SerialIO
Definition:
serialIO.h:39
ColorO::setColorMulti
void setColorMulti(std::vector< color::rgba > &colors)
Definition:
colorO.cpp:35
ColorO::ColorO
ColorO(SerialIO *serialIO)
Definition:
colorO.cpp:21
colorUtils.h
ColorO::_ssOut
std::stringstream _ssOut
Definition:
colorO.h:39
color::rgba
Definition:
colorUtils.h:26
ColorO::init
bool init()
Definition:
colorO.cpp:30
color
Definition:
colorUtils.h:24
ColorO
Definition:
colorO.h:27
cob_light
Author(s): Benjamin Maidel
autogenerated on Wed Apr 7 2021 02:11:39