PLCnext API Documentation 26.0.4.73
IStatusInfoService.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
8#include "Arp/Base/Rsc/Commons/Rsc.hpp"
9#include "Arp/Base/Rsc/Commons/IRscService.hpp"
10#include <vector>
11#include "Arp/Base/Rsc/Commons/RscString.hxx"
12
13// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED BY IStatusInfoService.cs
14
16{
17
18using namespace Arp::Base::Rsc::Commons;
19
25class ARP_EXPORT IStatusInfoService : public IRscService
26{
27public: // usings
28 using Ptr = std::shared_ptr<IStatusInfoService>;
29
30public: // construction/destruction
32 IStatusInfoService(void) = default;
33
34public: // static policy operation
35 static IRscServiceProxyFactory& GetProxyFactory(void);
36
37public: // abstract operations
40 virtual std::vector<RscString<64>> ListAllKnownRoles() = 0;
41
44 virtual std::vector<RscString<64>> ListRolesOfCurrentSession() = 0;
45};
46
47} // end of namespace Arp::System::Um::Services
This is the base interface of all Rsc services.
Definition: IRscService.hpp:22
std::shared_ptr< IRscService > Ptr
The shared_ptr type of IRscService.
Definition: IRscService.hpp:25
Interface for service proxy factories to create service proxies used by RSC clients.
Definition: IRscServiceProxyFactory.hpp:22
This service provides information about the current configuration and state of the UserManager
Definition: IStatusInfoService.hpp:26
virtual std::vector< RscString< 64 > > ListAllKnownRoles()=0
This operation retrieves the names of all roles currently known to the UserManager
IStatusInfoService(void)=default
Constructs an IStatusInfoService instance.
virtual std::vector< RscString< 64 > > ListRolesOfCurrentSession()=0
This operation retrieves the names of all roles for this session
Namespace for services of the User Manager (UM)