PLCnext API Documentation 25.0.2.69
IPlcManagerService2.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 "Arp/Plc/Domain/Services/IPlcManagerService.hpp"
11#include "Arp/Plc/Domain/Services/PlcStartKind.hpp"
12
13// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED BY IPlcManagerService2.cs
14
16{
17
18using namespace Arp::Base::Rsc::Commons;
19
27class ARP_EXPORT IPlcManagerService2 : public IPlcManagerService
28{
29public: // usings
30 using Ptr = std::shared_ptr<IPlcManagerService2>;
31
32public: // construction/destruction
34 IPlcManagerService2(void) = default;
35
36public: // static policy operation
37 static IRscServiceProxyFactory& GetProxyFactory(void);
38
39public: // abstract operations
45 virtual void Change(boolean async = false) = 0;
46
53 virtual void Restart(PlcStartKind startKind, boolean async = false) = 0;
54};
55
56} // end of namespace Arp::Plc::Domain::Services
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
The DownloadChange extension of the Arp.Plc.Domain.Services.IPlcManagerService.
Definition: IPlcManagerService2.hpp:28
IPlcManagerService2(void)=default
Constructs an IPlcManagerService2 instance.
virtual void Restart(PlcStartKind startKind, boolean async=false)=0
Restarts the Plc, that is, it's stopped and started in a single operation.
virtual void Change(boolean async=false)=0
This operation will perform the change of the PLC configuration, which was downloaded before.
Use this service to control the PLC of the controller.
Definition: IPlcManagerService.hpp:28
Namespace for services of the PLC domain