PLCnext API Documentation  21.0.0.35466
ForceServiceProxy.hpp
1 //
3 // Copyright PHOENIX CONTACT Electronics GmbH
4 //
6 #pragma once
7 #include "Arp/System/Rsc/Services/RscServiceProxyBase.hxx"
8 #include "IForceService.hpp"
9 
10 // DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED BY IForceService.cs
11 
12 namespace Arp { namespace Plc { namespace Gds { namespace Services
13 {
14 
15 using namespace Arp;
16 
17 class ForceServiceProxy : public RscServiceProxyBase<IForceService>
18 {
19 public: // construction/destruction
21  ForceServiceProxy(RscHandle providerHandle, RscHandle serviceHandle, RscClient& rscClient);
23  virtual ~ForceServiceProxy(void);
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 private: // deleted methods (for non-copyable classes)
34  ForceServiceProxy(const ForceServiceProxy& arg) = delete;
35  ForceServiceProxy& operator=(const ForceServiceProxy& arg) = delete;
36 };
37 
39 // inline methods of class ForceServiceProxy
41 {
42 }
43 
44 }}}} // end of namespace Arp::Plc::Gds::Services
A force item structure.
Definition: ForceItem.hpp:25
DataAccessError
This enumeration contains the possible data access errors.
Definition: DataAccessError.hpp:20
Root namespace for the PLCnext API
Definition: ForceServiceProxy.hpp:17
virtual ~ForceServiceProxy(void)
Destructs this instance and frees all resouces.
Definition: ForceServiceProxy.hpp:40