Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
Variables
_
a
b
i
k
n
p
r
s
t
v
Typedefs
a
b
c
f
h
i
m
n
p
s
t
u
w
y
Enumerations
Enumerator
a
b
c
e
f
h
i
l
m
n
o
p
r
s
t
u
v
w
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
~
Variables
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
y
Enumerations
Enumerator
a
b
c
e
g
i
k
l
m
n
o
p
r
s
u
v
Related Functions
a
b
c
d
e
i
l
m
o
r
s
u
w
x
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
g
m
o
p
r
s
t
Variables
_
a
b
f
g
l
t
u
Typedefs
Enumerations
Enumerator
Macros
_
a
b
c
e
f
g
i
l
m
r
s
u
v
w
x
sick_visionary_cpp_shared
src
IAuthentication.h
Go to the documentation of this file.
1
//
2
// Copyright (c) 2023 SICK AG, Waldkirch
3
//
4
// SPDX-License-Identifier: Unlicense
5
6
#pragma once
7
#include <string>
8
9
namespace
visionary
{
10
11
class
IAuthentication
12
{
13
public
:
15
enum class
UserLevel
: int8_t
16
{
17
RUN
= 0,
18
OPERATOR
= 1,
19
MAINTENANCE
= 2,
20
AUTHORIZED_CLIENT
= 3,
21
SERVICE
= 4
22
};
23
24
virtual
~IAuthentication
() =
default
;
25
26
virtual
bool
login
(
UserLevel
userLevel,
const
std::string& password) = 0;
27
virtual
bool
logout
() = 0;
28
};
29
30
}
// namespace visionary
visionary::IAuthentication::UserLevel
UserLevel
Available CoLa user levels.
Definition:
IAuthentication.h:15
visionary::IAuthentication::UserLevel::AUTHORIZED_CLIENT
@ AUTHORIZED_CLIENT
visionary::IAuthentication::UserLevel::SERVICE
@ SERVICE
visionary
Definition:
MD5.cpp:44
visionary::IAuthentication::logout
virtual bool logout()=0
visionary::IAuthentication::UserLevel::OPERATOR
@ OPERATOR
visionary::IAuthentication::login
virtual bool login(UserLevel userLevel, const std::string &password)=0
visionary::IAuthentication::UserLevel::RUN
@ RUN
visionary::IAuthentication::~IAuthentication
virtual ~IAuthentication()=default
visionary::IAuthentication
Definition:
IAuthentication.h:11
visionary::IAuthentication::UserLevel::MAINTENANCE
@ MAINTENANCE
sick_visionary_ros
Author(s): SICK AG TechSupport 3D Snapshot
autogenerated on Thu Feb 8 2024 03:39:49