UA ANSI C Server Professional  1.4.2.297
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
oversampling_provider_helper.h
/******************************************************************************
**
** **************************** auto-generated ****************************
** This code was generated by a tool: UaModeler
** Runtime Version: 1.2.0, using ANSI C SDK 1.4.0 provider template (version 1)
**
** Changes to this file may cause incorrect behavior and will be lost if
** the code is regenerated.
** **************************** auto-generated ****************************
** Copyright (c) 2006-2014 Unified Automation GmbH All rights reserved.
** Web: http://www.unifiedautomation.com
**
** Software License Agreement ("SLA") Version 2.3
**
** Unless explicitly acquired and licensed from Licensor under another
** license, the contents of this file are subject to the Software License
** Agreement ("SLA") Version 2.3, or subsequent versions
** as allowed by the SLA, and You may not copy or use this file in either
** source code or executable form, except in compliance with the terms and
** conditions of the SLA.
**
** All software distributed under the SLA is provided strictly on an
** "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
** AND LICENSOR HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT
** LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
** PURPOSE, QUIET ENJOYMENT, OR NON-INFRINGEMENT. See the SLA for specific
** language governing rights and limitations under the SLA.
**
** Project: OPC Ansi C OverSamplingProvider for namespace http://www.unifiedautomation.com/OverSampling
**
** Description: OPC Unified Architecture Software Development Kit.
**
** The complete license agreement can be found here:
** http://unifiedautomation/License/SLA/2.3/
**
** Created: 15.07.2014
**
******************************************************************************/
#ifndef _UAPROVIDER_OVERSAMPLING_HELPER_H_
#define _UAPROVIDER_OVERSAMPLING_HELPER_H_ 1
#include <pthread.h>
#include <uaserver_config.h>
#include <uaserver_providers.h>
OPCUA_BEGIN_EXTERN_C
/*============================================================================
* Global provider data
*===========================================================================*/
extern UaServer_Provider* g_pOverSamplingProvider;
extern UaServer_pProviderInterface* g_pOverSamplingProviderInterface;
extern OpcUa_UInt16 g_UaProviderOverSampling_uNamespaceIndex1;
extern double g_Voltage;
extern double g_Current;
void* UaProvider_OverSampling_WriteThread(void *arg);
extern pthread_t g_WriteThread;
extern pthread_attr_t g_WriteAttr;
extern pthread_mutex_t g_WriteMutex;
extern pthread_cond_t g_WriteCondition;
void* UaProvider_OverSampling_ReadThread(void *arg);
extern pthread_t g_ReadThread;
extern pthread_attr_t g_ReadAttr;
extern pthread_mutex_t g_ReadMutex;
extern pthread_cond_t g_ReadCondition;
extern volatile OpcUa_Boolean g_bShutdown;
OPCUA_END_EXTERN_C
#endif /* _UAPROVIDER_OVERSAMPLING_HELPER_H_ */