Go to the documentation of this file.
36 #ifndef RC_GENICAM_API_STREAM
37 #define RC_GENICAM_API_STREAM
55 class Stream :
public std::enable_shared_from_this<Stream>
65 const std::shared_ptr<const GenTLWrapper> &
gentl,
const char *
id);
74 std::shared_ptr<Device>
getParent()
const;
82 const std::string &
getID()
const;
294 std::shared_ptr<GenApi::CNodeMapRef>
getNodeMap();
312 std::shared_ptr<const GenTLWrapper>
gentl;
size_t getNumAnnounced()
Returns some information about the stream.
void startStreaming(int nacquire=-1)
Allocates four buffers, registers internal events and starts streaming of nacquire buffers.
size_t getNumQueued()
Returns some information about the stream.
The buffer class encapsulates a Genicam buffer that is provided by a stream.
void close()
Closes the stream.
The stream class encapsulates a Genicam stream.
uint64_t getNumStarted()
Returns some information about the stream.
void attachBuffers(bool enable)
Enabling or disabling attaching the grabbed buffer to the remote device nodemap.
int getAvailableBufferCount()
Returns the number ob buffers that are currently available for grabbing.
void stopStreaming()
Stops streaming.
size_t getNumChunksMax()
Returns some information about the stream.
void * getHandle() const
Get internal stream handle.
Stream & operator=(const Stream &)
std::shared_ptr< GenApi::CNodeMapRef > getNodeMap()
Returns the node map of this object.
bool getDefinesPayloadsize()
Returns some information about the stream.
std::shared_ptr< Device > getParent() const
Returns the pointer to the parent device object.
size_t getBufAlignment()
Returns some information about the stream.
const std::string & getID() const
Get the internal ID of this stream.
bool getIsGrabbing()
Returns some information about the stream.
Stream(const std::shared_ptr< Device > &parent, const std::shared_ptr< const GenTLWrapper > &gentl, const char *id)
Constructs a stream class.
void open()
Opens the stream for working with it.
size_t getBufAnnounceMin()
Returns some information about the stream.
const Buffer * grab(int64_t timeout=-1)
Wait for the next image or data and return it in a buffer object.
std::shared_ptr< CPort > cport
uint64_t getNumUnderrun()
Returns some information about the stream.
std::string getTLType()
Returns some information about the stream.
uint64_t getNumDelivered()
Returns some information about the stream.
std::shared_ptr< Device > parent
std::shared_ptr< GenApi::CNodeMapRef > nodemap
size_t getNumAwaitDelivery()
Returns some information about the stream.
std::shared_ptr< const GenTLWrapper > gentl
size_t getPayloadSize()
Returns some information about the stream.
rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Wed Dec 4 2024 03:10:12