C++ Based OPC UA Client/Server/PubSub SDK  1.7.1.476

Management object for ReaderGroups. More...

#include <readergroup.h>

Inherits PubSubBase::PubSubGroup.

Public Member Functions

UaStatus startUp ()
 Start up the ReaderGroup object.
 
UaStatus shutDown ()
 Shut down the ReaderGroup object.
 
DataSetReaderaddDataSetReader (OpcUa_WriterGroupDataType *pWriterGroup, OpcUa_DataSetWriterDataType *pDataSetWriter, OpcUa_DataSetMetaDataType *pDataSetMetaData)
 Adds a DataSetReader to the ReaderGroup.
 
DataSetReaderaddDataSetReader (const UaString &name, bool enabled, const UaVariant &publisherId, OpcUa_Double messageReceiveTimeout, OpcUa_Double receiveOffset, OpcUa_Double processingOffset, OpcUa_WriterGroupDataType *pWriterGroup, OpcUa_DataSetWriterDataType *pDataSetWriter, OpcUa_DataSetMetaDataType *pDataSetMetaData)
 Adds a DataSetReader to the ReaderGroup.
 
OpcUa_UInt32 dataSetReaderCount () const
 Returns the number of DataSetReaders.
 
DataSetReadergetDataSetReader (OpcUa_UInt32 index)
 Returns the DataSetReader at index or NULL if index is outside the valid range.
 
UaStatus removeDataSetReader (DataSetReader *pDataSetReader)
 Removes the passed DataSetReader.
 
- Public Member Functions inherited from PubSubBase::PubSubGroup
 PubSubGroup (PubSubResources *pPubSubResources, TransportFacet transportFacet, ConfigurationState configurationState)
 Creates an instance of the PubSubGroup.
 
- Public Member Functions inherited from PubSubBase::PubSubObject
 PubSubObject (PubSubResources *pPubSubResources, TransportFacet transportFacet, ConfigurationState configurationState)
 Creates an instance of the PubSubObject.
 
- Public Member Functions inherited from ReferenceCounter
 ReferenceCounter ()
 construction
 
virtual ~ReferenceCounter ()
 destruction
 

Protected Member Functions

 ReaderGroup (PubSubConnection *pParent, OpcUa_ReaderGroupDataType *pConfigData, OpcUa_UInt32 configIndex, OpcUa_Int32 stackHandle)
 Creates an instance of the ReaderGroup from central configuration structure tree. More...
 
 ReaderGroup (PubSubConnection *pParent, OpcUa_ReaderGroupDataType *pConfigData)
 Creates an instance of the ReaderGroup with new structure. More...
 
virtual ~ReaderGroup ()
 Destroys the ReaderGroup object.
 
- Protected Member Functions inherited from PubSubBase::PubSubGroup
virtual ~PubSubGroup ()
 Destroys the PubSubGroup object.
 
- Protected Member Functions inherited from PubSubBase::PubSubObject
virtual ~PubSubObject ()
 Destroys the PubSubObject object.
 

Additional Inherited Members

- Public Types inherited from PubSubBase::PubSubObject
enum  PubSubObjectType
 PubSub transport facet reflecting the defined TransportProfileUris.
 
enum  TransportFacet {
  TransportFacet_None = 0x0, TransportFacet_PubSub_UDP_UADP = 0x11, TransportFacet_PubSub_ETH_UADP = 0x21, TransportFacet_PubSub_AMQP_UADP = 0x31,
  TransportFacet_PubSub_MQTT_UADP = 0x41
}
 PubSub transport facet reflecting the defined TransportProfileUris. More...
 
enum  ConfigurationState {
  ConfigurationState_None, ConfigurationState_Deleted, ConfigurationState_InSyncWithStruct, ConfigurationState_New,
  ConfigurationState_Modified
}
 PubSub configuration object state. More...
 
enum  PubSubHeaderLayout { PubSubHeaderLayout_Custom, PubSubHeaderLayout_UADP_PeriodicFixed, PubSubHeaderLayout_UADP_Dynamic }
 PubSub header configuration. More...
 

Detailed Description

Management object for ReaderGroups.

Constructor & Destructor Documentation

PubSubBase::ReaderGroup::ReaderGroup ( PubSubConnection pParent,
OpcUa_ReaderGroupDataType *  pConfigData,
OpcUa_UInt32  configIndex,
OpcUa_Int32  stackHandle 
)
protected

Creates an instance of the ReaderGroup from central configuration structure tree.

Parameters
[in]pParentParent connection
[in]pConfigDataConfiguration structure for the ReaderGroup
[in]configIndexIndex of the structure in the list of writer groups in a connection
[in]stackHandleHandle of the WriterGroup in the stack. PUBSUB_INVALID_STACKHANDLE if no corresponding stack object exists.
PubSubBase::ReaderGroup::ReaderGroup ( PubSubConnection pParent,
OpcUa_ReaderGroupDataType *  pConfigData 
)
protected

Creates an instance of the ReaderGroup with new structure.

Parameters
[in]pParentParent connection
[in]pConfigDataConfiguration structure for the ReaderGroup

The documentation for this class was generated from the following files: