|
PLCnext API Documentation 23.0.2.9
|
Implements IRscWriteEnumerator for the service implementations. This should only be used in the implementation. The write callbacks have to be implemented and set by the service. More...
#include <RscImplWriteEnumerator.hxx>

Public Types | |
| typedef std::function< void(size_t)> | BeginFunction |
| typedef std::function< void(const T &)> | NextFunction |
| typedef std::function< RscArrayWriter(size_t, RscType)> | NextArrayFunction |
| typedef std::function< void()> | EndFunction |
Public Types inherited from Arp::System::Rsc::Services::IRscWriteEnumerator< T > | |
| typedef std::shared_ptr< IRscWriteEnumerator > | Ptr |
Public Member Functions | |
| RscImplWriteEnumerator (void)=default | |
| Constructs an RscProxyArrayWriteEnumerator instance. | |
| RscImplWriteEnumerator (const RscImplWriteEnumerator &arg)=default | |
| Copy constructor. | |
| RscImplWriteEnumerator & | operator= (const RscImplWriteEnumerator &arg)=default |
| Assignment operator. | |
| ~RscImplWriteEnumerator (void)=default | |
| Destructs this instance and frees all resources. | |
| void | BeginWrite (size_t) override |
| Begins the operation to write the enumerator. More... | |
| void | WriteNext (const T &) override |
| Writes the next enumerator element. More... | |
| RscArrayWriter | WriteNext (size_t arraySize, RscType elementType) override |
| Writes the next enumerator element if the element contains an array object. More... | |
| void | EndWrite (void) override |
| Ends the enumerator. With an array enumerator all enumerator elements had to be written More... | |
| virtual void | BeginWrite (size_t size=UndefinedArrayLength)=0 |
| Begins the operation to write the enumerator. More... | |
| virtual void | WriteNext (const T ¤t)=0 |
| Writes the next enumerator element. More... | |
| virtual RscArrayWriter | WriteNext (size_t arraySize, RscType elementType)=0 |
| Writes the next enumerator element if the element contains an array object. More... | |
| virtual void | EndWrite (void)=0 |
| Ends the enumerator. With an array enumerator all enumerator elements had to be written More... | |
Additional Inherited Members | |
Static Public Attributes inherited from Arp::System::Rsc::Services::IRscWriteEnumerator< T > | |
| static constexpr size_t | UndefinedArrayLength = std::numeric_limits<size_t>::max() |
Protected Member Functions inherited from Arp::System::Rsc::Services::IRscWriteEnumerator< T > | |
| IRscWriteEnumerator (void)=default | |
| Constructs an IRscArrayWriteEnumerator instance. | |
| virtual | ~IRscWriteEnumerator (void)=default |
| Destructs this instance and frees all resources. | |
| IRscWriteEnumerator (const IRscWriteEnumerator &arg)=default | |
| IRscWriteEnumerator & | operator= (const IRscWriteEnumerator &arg)=default |
Implements IRscWriteEnumerator for the service implementations. This should only be used in the implementation. The write callbacks have to be implemented and set by the service.
|
inlineoverridevirtual |
Begins the operation to write the enumerator.
| size | Number of elements in case of array enumerator. UndefinedArrayLength for regular enumerators |
Implements Arp::System::Rsc::Services::IRscWriteEnumerator< T >.
|
inlineoverridevirtual |
Ends the enumerator. With an array enumerator all enumerator elements had to be written
Implements Arp::System::Rsc::Services::IRscWriteEnumerator< T >.
|
inlineoverridevirtual |
Writes the next enumerator element.
| current | Reference to the next element |
Implements Arp::System::Rsc::Services::IRscWriteEnumerator< T >.
|
inlineoverridevirtual |
Writes the next enumerator element if the element contains an array object.
| arraySize | Number of array elements |
| arrayElementType | RsyType of array elements |
Implements Arp::System::Rsc::Services::IRscWriteEnumerator< T >.