PLCnext API Documentation 26.6.0.38
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
29class ARP_EXPORT IPlcManagerService2 : public IPlcManagerService
30{
31public: // usings
32 using Ptr = std::shared_ptr<IPlcManagerService2>;
33
34public: // construction/destruction
36 IPlcManagerService2(void) = default;
37
38public: // static policy operation
39 static IRscServiceProxyFactory& GetProxyFactory(void);
40
41public: // abstract operations
47 virtual void Change(boolean async = false) = 0;
48
55 virtual void Restart(PlcStartKind startKind, boolean async = false) = 0;
56};
57
58} // 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:30
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:30
Namespace for services of the PLC domain