OpcUaCanOpen
CANopen OPC-UA server
NodeGuardingInterval.h
Go to the documentation of this file.
1
#ifndef __NODEGUARDINGINTERVAL_H__
2
#define __NODEGUARDINGINTERVAL_H__
3
4
#include "uabase.h"
5
#include "uastring.h"
6
#include "statuscode.h"
7
#include "uaarraytemplates.h"
8
#include "uathread.h"
9
#include "opcua_basedatavariabletype.h"
10
11
namespace
CanOpen
12
{
13
class
CanBusObject;
14
15
class
NodeGuardingInterval
:
public
UaThread
16
{
17
UA_DISABLE_COPY
(
NodeGuardingInterval
);
18
public
:
19
20
/* construction / destruction */
21
NodeGuardingInterval
(
CanBusObject
*pCI, OpcUa::BaseVariableType* pVar = NULL);
22
virtual
~NodeGuardingInterval
();
23
24
/* Set Controller status and data */
25
void
setNodeGuardingInterval
(OpcUa::BaseVariableType* pVar) {
m_iNgIntervalVariable
= pVar; }
26
void
startNodeGuardingInterval
() {
start
(); }
27
28
private
:
29
// Simulation Thread main function
30
void
run
();
31
OpcUa::BaseVariableType*
m_iNgIntervalVariable
;
32
OpcUa_Boolean
m_stop
;
33
CanBusObject
*
m_pCanIn
;
// Canbus object
34
};
35
}
36
#endif
CanOpen
include
NodeGuardingInterval.h
Generated on Fri Sep 11 2020 14:29:52 for OpcUaCanOpen by
1.8.14