Go to the documentation of this file.
36 #ifndef RC_GENICAM_API_DEVICE
37 #define RC_GENICAM_API_DEVICE
56 class Device :
public std::enable_shared_from_this<Device>
68 const std::shared_ptr<const GenTLWrapper> &
gentl,
const char *
id);
77 std::shared_ptr<Interface>
getParent()
const;
85 const std::string &
getID()
const;
150 std::vector<std::shared_ptr<Stream> >
getStreams();
272 std::shared_ptr<GenApi::CNodeMapRef>
getNodeMap(
const char *xml=0);
311 std::shared_ptr<const GenTLWrapper>
gentl;
327 std::vector<std::weak_ptr<Stream> >
slist;
339 std::vector<std::shared_ptr<Device> >
getDevices(uint64_t timeout);
340 std::vector<std::shared_ptr<Device> >
getDevices();
354 std::shared_ptr<Device>
getDevice(
const char *devid, uint64_t timeout);
355 std::shared_ptr<Device>
getDevice(
const char *devid);
std::shared_ptr< GenApi::CNodeMapRef > getRemoteNodeMap(const char *xml=0)
Returns the node map of the remote device.
void close()
Closes the device.
void open(ACCESS access)
Opens the device for working with it.
std::shared_ptr< Interface > getParent() const
Returns the pointer to the parent interface object.
std::shared_ptr< GenApi::CNodeMapRef > rnodemap
std::string getUserDefinedName()
Returns the user defined name of the device.
std::shared_ptr< GenApi::CNodeMapRef > getNodeMap(const char *xml=0)
Returns the node map of this object.
std::string getModel()
Returns the model of the device.
std::shared_ptr< Device > getDevice(const char *id, uint64_t timeout)
Searches across all transport layers and interfaces for a device.
std::shared_ptr< CPort > cport
std::shared_ptr< CPort > rport
const std::string & getID() const
Get the internal ID of this device.
std::string getSerialNumber()
Returns the serial number of the device.
std::string getVersion()
Returns the version of the device.
int64_t getModuleEvent(int64_t timeout=-1)
Gets the next module event for the device and attaches it to the local device nodemap.
int getAvailableModuleEvents()
Returns the number of module events that are currently in the queue.
std::vector< uint8_t > event_value
The device class encapsulates a Genicam device.
void * getHandle() const
Get internal interface handle.
Device & operator=(const Device &)
std::shared_ptr< GenApi::CEventAdapterGeneric > eventadapter
Declaration of the CEventAdapterGEV class.
std::vector< uint8_t > event_buffer
std::vector< std::weak_ptr< Stream > > slist
std::vector< std::shared_ptr< Device > > getDevices(uint64_t timeout)
Returns a list of all devices that are available across all transport layers and interfaces.
std::shared_ptr< Interface > parent
void enableModuleEvents()
Enable module events for the local device.
std::string getTLType()
Returns the transport layer type of the device.
std::shared_ptr< GenApi::CNodeMapRef > nodemap
Device(const std::shared_ptr< Interface > &parent, const std::shared_ptr< const GenTLWrapper > &gentl, const char *id)
Constructs a device class.
uint64_t getTimestampFrequency()
Returns the timestamp frequency of the device.
std::string getAccessStatus()
Returns the access status of the device.
std::string getVendor()
Returns the vendor of the device.
std::vector< std::shared_ptr< Stream > > getStreams()
Returns the currently available streams of this device.
std::shared_ptr< CPort > getRemotePort()
Returns the remote port that is used by the remote node map to read and write registers.
void abortWaitingForModuleEvents()
Aborts waiting for module events.
std::string getDisplayName()
Returns the display name of the device.
std::shared_ptr< const GenTLWrapper > gentl
rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Wed Dec 4 2024 03:10:11