S2OPC OPCUA Toolkit
Loading...
Searching...
No Matches
sopc_pub_fixed_buffer.h File Reference
#include <stdint.h>
#include "sopc_buffer.h"
#include "sopc_dataset_ll_layer.h"
#include "sopc_enums.h"
#include "sopc_pubsub_security.h"

Go to the source code of this file.

Typedefs

typedef struct SOPC_PubFixedBuffer_Buffer_Ctx SOPC_PubFixedBuffer_Buffer_Ctx
 
typedef struct SOPC_PubFixedBuffer_DataSetField_Position SOPC_PubFixedBuffer_DataSetField_Position
 

Functions

SOPC_ReturnStatus SOPC_DataSet_LL_NetworkMessage_Create_Preencode_Buffer (SOPC_Dataset_LL_NetworkMessage *nm)
 Create and initialize preencode context against nm.
 
void SOPC_PubFixedBuffer_Delete_Preencode_Buffer (SOPC_PubFixedBuffer_Buffer_Ctx *preencode)
 Free memory allocated by SOPC_DataSet_LL_NetworkMessage_Create_Preencode_Buffer.
 
SOPC_BufferSOPC_PubFixedBuffer_Get_UpdatedBuffer (SOPC_PubFixedBuffer_Buffer_Ctx *preencode)
 
bool SOPC_PubFixedBuffer_Set_DSM_SequenceNumber_Position_At (SOPC_PubFixedBuffer_Buffer_Ctx *preencode, uint32_t position, size_t index)
 
bool SOPC_PubFixedBuffer_Set_DSM_Timestamp_Position_At (SOPC_PubFixedBuffer_Buffer_Ctx *preencode, uint32_t position, size_t index)
 
SOPC_PubFixedBuffer_DataSetField_PositionSOPC_PubFixedBuffer_Get_DataSetField_Position_At (SOPC_PubFixedBuffer_Buffer_Ctx *preencode, size_t index)
 
void SOPC_PubFixedBuffer_DataSetFieldPosition_Set_Position (SOPC_PubFixedBuffer_DataSetField_Position *dsfPos, uint32_t position)
 

Typedef Documentation

◆ SOPC_PubFixedBuffer_Buffer_Ctx

◆ SOPC_PubFixedBuffer_DataSetField_Position

Function Documentation

◆ SOPC_DataSet_LL_NetworkMessage_Create_Preencode_Buffer()

SOPC_ReturnStatus SOPC_DataSet_LL_NetworkMessage_Create_Preencode_Buffer ( SOPC_Dataset_LL_NetworkMessage * nm)

Create and initialize preencode context against nm.

Parameters
nmNetworkMessage used to initialize preencoded buffer context.
Returns
SOPC_STATUS_OK in case of success.

◆ SOPC_PubFixedBuffer_Delete_Preencode_Buffer()

void SOPC_PubFixedBuffer_Delete_Preencode_Buffer ( SOPC_PubFixedBuffer_Buffer_Ctx * preencode)

Free memory allocated by SOPC_DataSet_LL_NetworkMessage_Create_Preencode_Buffer.

Parameters
preencodePointer to preencode buffer context to be freed

◆ SOPC_PubFixedBuffer_Get_UpdatedBuffer()

SOPC_Buffer * SOPC_PubFixedBuffer_Get_UpdatedBuffer ( SOPC_PubFixedBuffer_Buffer_Ctx * preencode)

◆ SOPC_PubFixedBuffer_Set_DSM_SequenceNumber_Position_At()

bool SOPC_PubFixedBuffer_Set_DSM_SequenceNumber_Position_At ( SOPC_PubFixedBuffer_Buffer_Ctx * preencode,
uint32_t position,
size_t index )

◆ SOPC_PubFixedBuffer_Set_DSM_Timestamp_Position_At()

bool SOPC_PubFixedBuffer_Set_DSM_Timestamp_Position_At ( SOPC_PubFixedBuffer_Buffer_Ctx * preencode,
uint32_t position,
size_t index )

◆ SOPC_PubFixedBuffer_Get_DataSetField_Position_At()

SOPC_PubFixedBuffer_DataSetField_Position * SOPC_PubFixedBuffer_Get_DataSetField_Position_At ( SOPC_PubFixedBuffer_Buffer_Ctx * preencode,
size_t index )

◆ SOPC_PubFixedBuffer_DataSetFieldPosition_Set_Position()

void SOPC_PubFixedBuffer_DataSetFieldPosition_Set_Position ( SOPC_PubFixedBuffer_DataSetField_Position * dsfPos,
uint32_t position )