PLCnext API Documentation 24.0.0.71
IPlcManagerService2.hpp
1
2//
3// Copyright PHOENIX CONTACT Electronics GmbH
4//
6#pragma once
8#include "Arp/Plc/Domain/Services/PlcManagerService2ProxyFactory.hpp"
9#include "Arp/Plc/Domain/Services/PlcStartKind.hpp"
10#include "Arp/Plc/Domain/Services/PlcState.hpp"
11#include "Arp/System/Rsc/Services/IRscService.hpp"
12
13// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED BY IPlcManagerService2.cs
14
15namespace Arp { namespace Plc { namespace Domain { namespace Services
16{
17
18using namespace Arp;
19using namespace Arp::System::Rsc::Services;
20
29{
30public: // typedefs
31 using Ptr = std::shared_ptr<IPlcManagerService2>;
32
33public: // construction/destruction
35 IPlcManagerService2(void) = default;
36
37public: // static policy operation
38 static IRscServiceProxyFactory& GetProxyFactory(void);
39
40public: // abstract operations
41 virtual void Load(boolean async = false) = 0;
42 virtual void Start(PlcStartKind startKind, boolean async = false) = 0;
43 virtual void Stop(boolean async = false) = 0;
44 virtual void Reset(boolean async = false) = 0;
45 virtual PlcState GetPlcState() = 0;
46
52 virtual void Change(boolean async = false) = 0;
53
60 virtual void Restart(PlcStartKind startKind, boolean async = false) = 0;
61};
62
64// inline methods of class IPlcManagerService2
65inline IRscServiceProxyFactory& IPlcManagerService2::GetProxyFactory()
66{
67 return PlcManagerService2ProxyFactory::GetInstance();
68}
69
70}}}} // end of namespace Arp::Plc::Domain::Services
The DownloadChange extension of the Arp.Plc.Domain.Services.IPlcManagerService.
Definition: IPlcManagerService2.hpp:29
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.
Base interface for all Rsc service interface.
Definition: IRscService.hpp:20
Namespace for classes and interfaces for the Remote Service Call implementation
Root namespace for the PLCnext API