Classes | Macros | Functions
py_opcua_module.cpp File Reference
#include <boost/python.hpp>
#include <datetime.h>
#include <boost/date_time/posix_time/posix_time_types.hpp>
#include <boost/date_time/gregorian/gregorian.hpp>
#include <boost/date_time/c_local_time_adjustor.hpp>
#include "opc/ua/client/client.h"
#include "opc/ua/client/binary_client.h"
#include "opc/ua/node.h"
#include "opc/ua/event.h"
#include "opc/ua/server/server.h"
#include "opc/ua/protocol/protocol.h"
#include "opc/ua/services/services.h"
#include "opc/ua/subscription.h"
#include "opc/ua/protocol/string_utils.h"
#include "py_opcua_enums.h"
#include "py_opcua_helpers.h"
#include "py_opcua_subscriptionclient.h"
#include "py_opcua_variant.h"
Include dependency graph for py_opcua_module.cpp:

Go to the source code of this file.

Classes

struct  DateTimeOpcUaToPythonConverter
 
struct  DateTimePythonToOpcUaConverter
 
struct  LocalizedTextToPythonConverter
 
struct  PythonStringToLocalizedTextConverter
 

Macros

#define _property(X)   add_property( #X, &DataValue_get_ ## X, &DataValue_set_ ## X)
 

Functions

 BOOST_PYTHON_FUNCTION_OVERLOADS (DateTimeFromTimeT_stub, DateTime::FromTimeT, 1, 2)
 
 BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS (SubscriptionSubscribeDataChange_stubs, Subscription::SubscribeDataChange, 1, 2)
 
 BOOST_PYTHON_MODULE (opcua)
 
static std::shared_ptr< DataValueDataValue_constructor1 (const object &obj, VariantType vtype)
 
static uint16_t DataValue_get_server_picoseconds (const DataValue &self)
 
static DateTime DataValue_get_server_timestamp (const DataValue &self)
 
static uint16_t DataValue_get_source_picoseconds (const DataValue &self)
 
static DateTime DataValue_get_source_timestamp (const DataValue &self)
 
static StatusCode DataValue_get_status (const DataValue &self)
 
static object DataValue_get_value (const DataValue &self)
 
static void DataValue_set_server_picoseconds (DataValue &self, uint16_t ps)
 
static void DataValue_set_server_timestamp (DataValue &self, const DateTime &dt)
 
static void DataValue_set_source_picoseconds (DataValue &self, uint16_t ps)
 
static void DataValue_set_source_timestamp (DataValue &self, const DateTime &dt)
 
static void DataValue_set_status (DataValue &self, const StatusCode &sc)
 
static void DataValue_set_value (DataValue &self, const object &obj, VariantType vtype)
 
static std::shared_ptr< DateTimemakeOpcUaDateTime (const boost::python::object &bobj)
 
static void Node_SetValue (Node &self, const object &obj, VariantType vtype)
 
static std::shared_ptr< NodeIdNodeId_constructor (const std::string &encodedNodeId)
 
static object NodeId_GetIdentifier (const NodeId &self)
 
static boost::python::object ToPyDateTime (const DateTime &self)
 
static uint64_t ToWinEpoch (PyObject *pydate)
 
static std::shared_ptr< SubscriptionUaClient_CreateSubscription (UaClient &self, uint period, PySubscriptionHandler &callback)
 
static Node UaClient_GetNode (UaClient &self, ObjectId objectid)
 
static std::shared_ptr< SubscriptionUaServer_CreateSubscription (UaServer &self, uint period, PySubscriptionHandler &callback)
 
static Node UaServer_GetNode (UaServer &self, ObjectId objectid)
 

Macro Definition Documentation

#define _property (   X)    add_property( #X, &DataValue_get_ ## X, &DataValue_set_ ## X)

Function Documentation

BOOST_PYTHON_FUNCTION_OVERLOADS ( DateTimeFromTimeT_stub  ,
DateTime::FromTimeT  ,
,
 
)
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS ( SubscriptionSubscribeDataChange_stubs  ,
Subscription::SubscribeDataChange  ,
,
 
)
BOOST_PYTHON_MODULE ( opcua  )

Definition at line 274 of file py_opcua_module.cpp.

static std::shared_ptr<DataValue> DataValue_constructor1 ( const object &  obj,
VariantType  vtype 
)
static

Definition at line 194 of file py_opcua_module.cpp.

static uint16_t DataValue_get_server_picoseconds ( const DataValue self)
static

Definition at line 227 of file py_opcua_module.cpp.

static DateTime DataValue_get_server_timestamp ( const DataValue self)
static

Definition at line 221 of file py_opcua_module.cpp.

static uint16_t DataValue_get_source_picoseconds ( const DataValue self)
static

Definition at line 215 of file py_opcua_module.cpp.

static DateTime DataValue_get_source_timestamp ( const DataValue self)
static

Definition at line 209 of file py_opcua_module.cpp.

static StatusCode DataValue_get_status ( const DataValue self)
static

Definition at line 203 of file py_opcua_module.cpp.

static object DataValue_get_value ( const DataValue self)
static

Definition at line 197 of file py_opcua_module.cpp.

static void DataValue_set_server_picoseconds ( DataValue self,
uint16_t  ps 
)
static

Definition at line 230 of file py_opcua_module.cpp.

static void DataValue_set_server_timestamp ( DataValue self,
const DateTime dt 
)
static

Definition at line 224 of file py_opcua_module.cpp.

static void DataValue_set_source_picoseconds ( DataValue self,
uint16_t  ps 
)
static

Definition at line 218 of file py_opcua_module.cpp.

static void DataValue_set_source_timestamp ( DataValue self,
const DateTime dt 
)
static

Definition at line 212 of file py_opcua_module.cpp.

static void DataValue_set_status ( DataValue self,
const StatusCode sc 
)
static

Definition at line 206 of file py_opcua_module.cpp.

static void DataValue_set_value ( DataValue self,
const object &  obj,
VariantType  vtype 
)
static

Definition at line 200 of file py_opcua_module.cpp.

static std::shared_ptr<DateTime> makeOpcUaDateTime ( const boost::python::object &  bobj)
static

Definition at line 83 of file py_opcua_module.cpp.

static void Node_SetValue ( Node self,
const object &  obj,
VariantType  vtype 
)
static

Definition at line 238 of file py_opcua_module.cpp.

static std::shared_ptr<NodeId> NodeId_constructor ( const std::string &  encodedNodeId)
static

Definition at line 169 of file py_opcua_module.cpp.

static object NodeId_GetIdentifier ( const NodeId self)
static

Definition at line 172 of file py_opcua_module.cpp.

static boost::python::object ToPyDateTime ( const DateTime self)
static

Definition at line 54 of file py_opcua_module.cpp.

static uint64_t ToWinEpoch ( PyObject *  pydate)
static

Definition at line 72 of file py_opcua_module.cpp.

static std::shared_ptr<Subscription> UaClient_CreateSubscription ( UaClient self,
uint  period,
PySubscriptionHandler callback 
)
static

Definition at line 245 of file py_opcua_module.cpp.

static Node UaClient_GetNode ( UaClient self,
ObjectId  objectid 
)
static

Definition at line 250 of file py_opcua_module.cpp.

static std::shared_ptr<Subscription> UaServer_CreateSubscription ( UaServer self,
uint  period,
PySubscriptionHandler callback 
)
static

Definition at line 259 of file py_opcua_module.cpp.

static Node UaServer_GetNode ( UaServer self,
ObjectId  objectid 
)
static

Definition at line 264 of file py_opcua_module.cpp.



ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Tue Jan 19 2021 03:12:09