PLCnext API Documentation 25.0.2.69
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Arp::Services::DataLogger::Services::TriggerRpnItem Class Reference

Item of the trigger condition/>. More...

#include <TriggerRpnItem.hpp>

Inheritance diagram for Arp::Services::DataLogger::Services::TriggerRpnItem:
Inheritance graph

Public Member Functions

 TriggerRpnItem (void)
 Constructs an TriggerRpnItem instance.
 
 TriggerRpnItem (RpnItemType type, const RscVariant< 512 > &item)
 Constructs an TriggerRpnItem instance.
 
void Serialize (RscWriter &writer) const
 Serializes the datatype. All fields of the datatype have to be serialized in use of RscWriter. More...
 
void Deserialize (RscReader &reader)
 Deserializes the datatype. All fields of the datatype have to be deserialized in use of RscReader. More...
 
- Public Member Functions inherited from Arp::Base::Rsc::Commons::RscSerializable
 RscSerializable (void)=default
 The default constructor.
 

Static Public Member Functions

static size_t GetFieldCount (void)
 Returns the count of fields More...
 

Public Attributes

RpnItemType Type = static_cast<RpnItemType>(0)
 Type of item (Variable, Constant or Operation)
 
RscVariant< 512 > Item
 Data.
 

Detailed Description

Item of the trigger condition/>.

Member Function Documentation

◆ Deserialize()

void Arp::Services::DataLogger::Services::TriggerRpnItem::Deserialize ( RscReader reader)

Deserializes the datatype. All fields of the datatype have to be deserialized in use of RscReader.

Parameters
readerReference to RscReader.

◆ GetFieldCount()

size_t Arp::Services::DataLogger::Services::TriggerRpnItem::GetFieldCount ( void  )
static

Returns the count of fields

Returns
Count of fields.

The field count is used for serialization via Rsc

◆ Serialize()

void Arp::Services::DataLogger::Services::TriggerRpnItem::Serialize ( RscWriter writer) const

Serializes the datatype. All fields of the datatype have to be serialized in use of RscWriter.

Parameters
writerReference to RscWriter

The documentation for this class was generated from the following files: