eBUS SDK v6.2.8.5877 API
7 #ifndef __PVDEVICEADAPTER_H__
8 #define __PVDEVICEADAPTER_H__
10 #include <IPvDeviceAdapter.h>
14 class IPvDeviceEventSinkList;
72 uint16_t aEventID, uint16_t aChannel, uint64_t aBlockID, uint64_t aTimestamp,
73 const void *aData, uint32_t aDataLength );
82 IPvDeviceEventSinkList *mEventSinkList;
83 PtUtilsLib::Mutex *mEventSinkListMutex;
Result information.
Definition: PvResult.h:13
virtual bool IsGenRegisterInNodeMap(const PvString &aParameterName)=0
Returns true if the device node map contains a raw register of the specified name.
Interface used by a class implementing IPvDeviceAdapter to forward notifications to PvDeviceSerialPor...
Definition: IPvDeviceEventSink.h:14
virtual bool IsPleoraPowered()=0
Returns true if the device runs on a Pleora design.
virtual PvResult WaitForMessagingChannelIdle(uint32_t aTimeout)=0
Waits for the messaging channel queue to be empty.
virtual PvResult ReadRegister(int64_t aAddress, uint32_t &aValue)=0
Reads a 32 bit value from a GigE Vision register.
virtual PvResult UnregisterEventSink(IPvDeviceEventSink *aEventSink)=0
Unregisters an event sink registered with RegisterEventSink.
virtual PvResult GetGenIntegerValue(const PvString &aParameterName, int64_t &aValue)=0
Returns the value of an integer identified by its name.
virtual PvResult GetGenEnumEntriesAvailable(const PvString &aParameterName, PvStringList &aList)=0
Returns a list of all available enum entries for an enumeration.
virtual PvResult SetGenEnumValue(const PvString &aParameterName, const PvString &aEnumEntry)=0
Sets the value of an enumeration identified by its name.
Interface used by PvDeviceSerialPort to interact with a device controller.
Definition: IPvDeviceAdapter.h:31
virtual bool IsGenEnumInNodeMap(const PvString &aParameterName)=0
Returns true if the device node map contains an enumeration of the specified name.
virtual PvResult UnregisterGenInvalidator(const PvString &aParameterName)=0
Unregisters (and forward to the device serial object) invalidation events for a parameter identified ...
virtual bool IsGenEnumEntryAvailable(const PvString &aParameterName, const PvString &aEnumEntry)=0
Returns true if an enumeration is present in the node map and has a specific enum entry.
virtual PvResult SetGenBooleanValue(const PvString &aParameterName, bool aValue)=0
Sets the value of a Boolean identified by its name.
virtual PvResult GetGenEnumValue(const PvString &aParameterName, PvString &aEnumEntry)=0
Returns the string value of an enumeration identified by its name.
virtual PvResult GetGenStringValue(const PvString &aParameterName, PvString &aValue)=0
Returns the string value of string parameter identified by its name.
virtual bool IsGenReadable(const PvString &aParameterName)=0
Returns true if a parameter is present and readable in the node map.
virtual void OnEvent(PvDevice *aDevice, uint16_t aEventID, uint16_t aChannel, uint64_t aBlockID, uint64_t aTimestamp, const void *aData, uint32_t aDataLength)
Messaging channel raw event notification.
Definition: PvDeviceEventSink.cpp:137
String class.
Definition: PvString.h:21
virtual PvResult SetGenRegisterData(const PvString &aParameterName, const uint8_t *aDataBuffer, int64_t aByteCount)=0
Sets the data contained in a register identified by its name.
virtual bool IsGigEVision()=0
Returns true if the device uses the GigE Vision protocol.
virtual PvResult WriteRegister(int64_t aAddress, uint32_t aValue)=0
Writes a 32 bit value to a GigE Vision register.
virtual PvResult RegisterGenInvalidator(const PvString &aParameterName)=0
Registers (and forward to the device serial object) invalidation events for a parameter identified by...
virtual PvResult RegisterEventSink(IPvDeviceEventSink *aEventSink)=0
Registers an event sink that will want to receive the raw events and GenICam invalidator events.
virtual void OnParameterUpdate(PvGenParameter *aParameter)=0
Callback that is invoked when a feature's value is updated.
Observer interface for an observable PvGenParameter object.
Definition: PvGenParameter.h:146
virtual PvResult WriteMemory(const uint8_t *aBuffer, int64_t aAddress, int64_t aLength)=0
Writes data to a the memory of a device.
Class used to hold a group of PvString objects.
Definition: PvStringList.h:19
virtual PvResult GetGenRegisterData(const PvString &aParameterName, uint8_t *aDataBuffer, int64_t aByteCount)=0
Gets the data contained in a register identified by its name.
IPvDeviceAdapter default implementation for the eBUS SDK.
Definition: PvDeviceAdapter.h:22
virtual bool IsGenIntegerInNodeMap(const PvString &aParameterName)=0
Returns true if the device node map contains an integer of the specified name.
virtual PvResult ReadMemory(uint8_t *aBuffer, int64_t aAddress, int64_t aLength)=0
Reads data from the memory of a device.
virtual PvResult GetGenRegisterLength(const PvString &aParameterName, int64_t &aLength)=0
Gets the length (in bytes) of a register identified by its name.
Connect, configure and control a GigE Vision or USB3 Vision device.
Definition: PvDevice.h:30
virtual bool IsGenBooleanInNodeMap(const PvString &aParameterName)=0
Returns true if the device node map contains a Boolean of the specified name.
Base class for all GenICam feature types.
Definition: PvGenParameter.h:37
Observer interface for an observable PvDevice object.
Definition: PvDeviceEventSink.h:17
virtual bool IsGenWritable(const PvString &aParameterName)=0
Returns true if a parameter is present and writable in the node map.
virtual bool IsConnected()=0
Returns true if the device is connected.
virtual PvResult GetGenBooleanValue(const PvString &aParameterName, bool &aValue)=0
Returns the value of a Boolean identified by its name.
virtual bool IsUSB3Vision()=0
Returns true if the device uses the USB3 Vision protocol.
Copyright (c) 2002-2021 Pleora Technologies Inc.
www.pleora.com