PLCnext API Documentation 23.6.0.37
ForceServiceProxy.hpp
1
2//
3// Copyright PHOENIX CONTACT Electronics GmbH
4//
6#pragma once
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
13namespace Arp { namespace Plc { namespace Gds { namespace Services
14{
15
16using namespace Arp;
17
19class ForceServiceProxy : public RscServiceProxyBase<IForceService>
20{
21public: // construction/destruction
23 ForceServiceProxy(RscHandle providerHandle, RscHandle serviceHandle, RscClient& rscClient);
24
25public: // 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