50 typedef std::map<uint32_t, MonitoredItemData>
AttValMap;
64 std::cout <<
"default dc" << std::endl;
80 std::cout <<
"default c++ event callback has been called" << std::endl;
116 std::vector<uint32_t> SubscribeDataChange(
const std::vector<ReadValueId> & attributes);
120 UserData * getUsrPtr(uint32_t handle);
123 void UnSubscribe(uint32_t handle);
124 void UnSubscribe(std::vector<uint32_t> handles);
128 uint32_t SubscribeEvents(
const Node & node,
const EventFilter & eventfilter);
129 uint32_t SubscribeEvents(
const Node & node,
const Node & eventType);
130 uint32_t SubscribeEvents();
134 std::vector<MonitoredItemCreateResult> Subscribe(std::vector<MonitoredItemCreateRequest> request);
138 virtual void PublishCallback(Services::SharedPtr serverLocalPtr,
const PublishResult result);
154 uint32_t LastMonitoredItemHandle = 1;
std::map< uint32_t, MonitoredItemData > AttValMap
virtual void DataChange(uint32_t handle, const Node &node, const Variant &val, AttributeId attribute)
virtual void Event(uint32_t handle, const Event &event)
virtual void DataValueChange(uint32_t handle, const Node &node, const DataValue &val, AttributeId attribute)
std::map< uint32_t, EventFilter > SimpleAttOpMap
double GetPeriode() const
Services::SharedPtr Server
SimpleAttOpMap SimpleAttributeOperandMap
AttValMap AttributeValueMap
OPC UA Address space part. GNU LGPL.
SubscriptionHandler & Client
Common::Logger::SharedPtr Logger
A Node object represent an OPC-UA node. It is high level object intended for developper who want to e...
IntegerId MonitoredItemId
#define DEFINE_CLASS_POINTERS(ClassName)
Exception declarations GNU LGPL.
virtual ~SubscriptionHandler()
virtual void StatusChange(StatusCode status)
SubscriptionData GetData()