S2OPC OPCUA Toolkit
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
sopc_pub_scheduler.h
Go to the documentation of this file.
1/*
2 * Licensed to Systerel under one or more contributor license
3 * agreements. See the NOTICE file distributed with this work
4 * for additional information regarding copyright ownership.
5 * Systerel licenses this file to you under the Apache
6 * License, Version 2.0 (the "License"); you may not use this
7 * file except in compliance with the License. You may obtain
8 * a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing,
13 * software distributed under the License is distributed on an
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 * KIND, either express or implied. See the License for the
16 * specific language governing permissions and limitations
17 * under the License.
18 */
19
20#ifndef SOPC_PUB_SCHEDULER_H_
21#define SOPC_PUB_SCHEDULER_H_
22
24#include "sopc_pubsub_conf.h"
25
38 SOPC_PubSourceVariableConfig* sourceConfig,
39 int threadPriority);
40
52bool SOPC_PubScheduler_AcyclicSend(SOPC_Conf_PublisherId* publisherId, uint16_t writerGroupId);
53
65 uint16_t writerGroupId,
66 uint16_t dataSetWriterId);
67
79 uint16_t writerGroupId,
80 uint16_t dataSetWriterId);
81
83
84#endif /* SOPC_PUB_SCHEDULER_H_ */
enum _SOPC_ReturnStatus SOPC_ReturnStatus
Common enumerations for S2OPC.
void SOPC_PubScheduler_Stop(void)
SOPC_ReturnStatus SOPC_PubScheduler_Disable_DataSetMessage(SOPC_Conf_PublisherId *pubId, uint16_t writerGroupId, uint16_t dataSetWriterId)
Disable the emission of a dataSetMessage identified by the tuple [pubId, writerGroupId,...
bool SOPC_PubScheduler_AcyclicSend(SOPC_Conf_PublisherId *publisherId, uint16_t writerGroupId)
Launch sending process in acyclic mode. Content of the message can be modified in callback SOPC_GetSo...
SOPC_ReturnStatus SOPC_PubScheduler_Enable_DataSetMessage(SOPC_Conf_PublisherId *pubId, uint16_t writerGroupId, uint16_t dataSetWriterId)
Enable the emission of a dataSetMessage identified by the tuple [pubId, writerGroupId,...
bool SOPC_PubScheduler_Start(SOPC_PubSubConfiguration *config, SOPC_PubSourceVariableConfig *sourceConfig, int threadPriority)
Starts the Publisher scheduler using the PubSub configuration data and the source of data information...
struct SOPC_PubSourceVariableConfig SOPC_PubSourceVariableConfig
Definition sopc_pub_source_variable.h:45
struct SOPC_PubSubConfiguration SOPC_PubSubConfiguration
Definition sopc_pubsub_conf.h:28
Definition sopc_pubsub_conf.h:118