PLCnext API Documentation  22.9.0.33
ForceServiceProxy.hpp
1 //
3 // Copyright PHOENIX CONTACT Electronics GmbH
4 //
6 #pragma once
7 #include "Arp/System/Core/Arp.h"
8 #include "Arp/System/Rsc/Services/RscServiceProxyBase.hxx"
9 #include "Arp/Plc/Gds/Services/IForceService.hpp"
10 
11 // DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED BY IForceService.cs
12 
13 namespace Arp { namespace Plc { namespace Gds { namespace Services
14 {
15 
16 using namespace Arp;
17 
19 class ForceServiceProxy : public RscServiceProxyBase<IForceService>
20 {
21 public: // construction/destruction
23  ForceServiceProxy(RscHandle providerHandle, RscHandle serviceHandle, RscClient& rscClient);
24 
25 public: // IForceService operations
26  DataAccessError AddVariable(const ForceItem& item)override;
27  void RemoveVariable(const RscString<512>& variableName)override;
28  std::vector<ForceItem> GetVariables()override;
29  void Reset()override;
30  boolean IsForcable(const RscString<512>& variableName)override;
31  boolean IsActive()override;
32 };
33 
34 }}}} // end of namespace Arp::Plc::Gds::Services
A force item structure.
Definition: ForceItem.hpp:26
Proxy class of service IForceService
Definition: ForceServiceProxy.hpp:20
ForceServiceProxy(RscHandle providerHandle, RscHandle serviceHandle, RscClient &rscClient)
Constructs an instance of type ForceServiceProxy
DataAccessError
This enumeration contains the possible data access errors.
Definition: DataAccessError.hpp:19
Root namespace for the PLCnext API