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

Association between a name and a value for a session configuration More...

#include <SessionProperty.hpp>

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

Public Member Functions

 SessionProperty (void)
 Constructs an SessionProperty instance.
 
 SessionProperty (SessionPropertyName name, const RscVariant< 512 > &value)
 Constructs an SessionProperty 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

SessionPropertyName Name = static_cast<SessionPropertyName>(0)
 Name of attribute
 
RscVariant< 512 > Value
 Current value of attribute More...
 

Detailed Description

Association between a name and a value for a session configuration

Member Function Documentation

◆ Deserialize()

void Arp::Services::DataLogger::Services::SessionProperty::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::SessionProperty::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::SessionProperty::Serialize ( RscWriter writer) const

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

Parameters
writerReference to RscWriter

Member Data Documentation

◆ Value

RscVariant<512> Arp::Services::DataLogger::Services::SessionProperty::Value

Current value of attribute

The actual type of value depends on the value of Name. Arp.Services.DataLogger.Services.SessionPropertyName for more information.


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