Main Page
+
Namespaces
Namespace List
+
Namespace Members
All
Functions
+
Classes
Class List
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
r
s
t
u
v
w
x
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
r
s
t
w
x
~
+
Variables
_
a
b
c
d
g
h
l
m
p
r
s
t
u
v
Typedefs
+
Files
File List
+
File Members
All
Functions
Variables
Typedefs
Enumerations
Enumerator
common
include
modeFactory.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 MODEFACTORY_H
19
#define MODEFACTORY_H
20
21
#include <
mode.h
>
22
#include <
iColorO.h
>
23
#include <cob_light/SetLightMode.h>
24
#include <cob_light/LightModes.h>
25
#include <boost/shared_ptr.hpp>
26
27
class
ModeFactory
28
{
29
public
:
30
ModeFactory
();
31
~ModeFactory
();
32
33
static
boost::shared_ptr<Mode>
create
(cob_light::LightMode requestMode,
IColorO
* colorO);
34
static
boost::shared_ptr<Mode>
create
(std::string mode,
color::rgba
color
);
35
36
static
int
type
(
Mode
*mode);
37
38
private
:
39
IColorO
*
_colorO
;
40
};
41
42
#endif
ModeFactory::_colorO
IColorO * _colorO
Definition:
modeFactory.h:39
IColorO
Definition:
iColorO.h:24
Mode
Definition:
mode.h:26
ModeFactory::ModeFactory
ModeFactory()
Definition:
modeFactory.cpp:33
boost::shared_ptr< Mode >
ModeFactory::type
static int type(Mode *mode)
Definition:
modeFactory.cpp:210
ModeFactory
Definition:
modeFactory.h:27
iColorO.h
color::rgba
Definition:
colorUtils.h:26
mode.h
color
Definition:
colorUtils.h:24
ModeFactory::~ModeFactory
~ModeFactory()
Definition:
modeFactory.cpp:36
ModeFactory::create
static boost::shared_ptr< Mode > create(cob_light::LightMode requestMode, IColorO *colorO)
Definition:
modeFactory.cpp:40
cob_light
Author(s): Benjamin Maidel
autogenerated on Thu Nov 17 2022 03:17:28