PLCnext API Documentation
22.9.0.33
|
Implements IRscReadEnumeratorfor the service implementations. This should only be used in the implementation. The read callbacks have to be implemented and set by the service. More...
#include <RscImplReadEnumerator.hxx>
Public Types | |
typedef std::function< size_t()> | BeginFunction |
typedef std::function< bool(T &)> | NextFunction |
typedef std::function< bool(RscArrayReader &)> | NextArrayFunction |
typedef std::function< void()> | EndFunction |
![]() | |
typedef std::shared_ptr< IRscReadEnumerator > | Ptr |
Public Member Functions | |
RscImplReadEnumerator (void)=default | |
Constructs an RscImplReadEnumerator instance. More... | |
RscImplReadEnumerator (const RscImplReadEnumerator &arg)=default | |
Copy constructor. More... | |
RscImplReadEnumerator & | operator= (const RscImplReadEnumerator &arg)=default |
Assignment operator. More... | |
~RscImplReadEnumerator (void)=default | |
Destructs this instance and frees all resources. More... | |
size_t | BeginRead (void) override |
Begins the operation to read the enumerator. More... | |
bool | ReadNext (T &) override |
Reads the next enumerator element. More... | |
bool | ReadNext (RscArrayReader ¤t) override |
Reads the next array enumerator element. Use this method only, if element contains object with an array. More... | |
void | EndRead (void) override |
Ends the operation to read the enumerator. All enumerator elements had to be already been read. More... | |
Public Attributes | |
BeginFunction | Begin |
Read callback to BeginRead implementation of service method. More... | |
NextFunction | Next |
Write callback to ReadNext implementation of service method. More... | |
NextArrayFunction | NextArray |
Write callback to ReadNext implementation for array elements of service method. More... | |
EndFunction | End |
Write callback to EndRead implementation of service method. More... | |
Additional Inherited Members | |
![]() | |
static constexpr size_t | UndefinedArrayLength = std::numeric_limits<size_t>::max() |
![]() | |
IRscReadEnumerator (void)=default | |
Constructs an IRscArrayWriteEnumerator instance. More... | |
virtual | ~IRscReadEnumerator (void)=default |
Destructs this instance and frees all resources. More... | |
IRscReadEnumerator (const IRscReadEnumerator &arg)=default | |
IRscReadEnumerator & | operator= (const IRscReadEnumerator &arg)=default |
Implements IRscReadEnumeratorfor the service implementations. This should only be used in the implementation. The read callbacks have to be implemented and set by the service.
|
default |
Constructs an RscImplReadEnumerator instance.
|
default |
Copy constructor.
|
default |
Destructs this instance and frees all resources.
|
inlineoverridevirtual |
Begins the operation to read the enumerator.
Implements Arp::System::Rsc::Services::IRscReadEnumerator< T >.
|
inlineoverridevirtual |
Ends the operation to read the enumerator. All enumerator elements had to be already been read.
Implements Arp::System::Rsc::Services::IRscReadEnumerator< T >.
|
default |
Assignment operator.
|
inlineoverridevirtual |
Reads the next array enumerator element. Use this method only, if element contains object with an array.
current | Reference to RscArrayReader. The given RscArrayReader will be configured by this method. |
Implements Arp::System::Rsc::Services::IRscReadEnumerator< T >.
|
inlineoverridevirtual |
Reads the next enumerator element.
current | Place to store next element |
Implements Arp::System::Rsc::Services::IRscReadEnumerator< T >.
BeginFunction Arp::System::Rsc::Services::RscImplReadEnumerator< T >::Begin |
Read callback to BeginRead implementation of service method.
EndFunction Arp::System::Rsc::Services::RscImplReadEnumerator< T >::End |
Write callback to EndRead implementation of service method.
NextFunction Arp::System::Rsc::Services::RscImplReadEnumerator< T >::Next |
Write callback to ReadNext implementation of service method.
NextArrayFunction Arp::System::Rsc::Services::RscImplReadEnumerator< T >::NextArray |
Write callback to ReadNext implementation for array elements of service method.