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;
265 std::shared_ptr<GenApi::CNodeMapRef>
getNodeMap();
283 std::shared_ptr<const GenTLWrapper>
gentl;
uint64_t getNumDelivered()
Returns some information about the stream.
Stream & operator=(const 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< GenApi::CNodeMapRef > nodemap
size_t getNumAwaitDelivery()
Returns some information about the stream.
std::string getTLType()
Returns some information about the stream.
size_t getNumAnnounced()
Returns some information about the stream.
std::shared_ptr< Device > getParent() const
Returns the pointer to the parent device object.
void stopStreaming()
Stops streaming.
const std::string & getID() const
Get the internal ID of this stream.
uint64_t getNumStarted()
Returns some information about the stream.
std::shared_ptr< const GenTLWrapper > gentl
void startStreaming(int na=-1)
Allocates buffers and registers internal events if necessary and starts streaming.
size_t getNumChunksMax()
Returns some information about the stream.
size_t getNumQueued()
Returns some information about the stream.
bool getDefinesPayloadsize()
Returns some information about the stream.
The buffer class encapsulates a Genicam buffer that is provided by a stream.
size_t getPayloadSize()
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.
std::shared_ptr< CPort > cport
bool getIsGrabbing()
Returns some information about the stream.
void * getHandle() const
Get internal stream handle.
std::shared_ptr< Device > parent
std::shared_ptr< GenApi::CNodeMapRef > getNodeMap()
Returns the node map of this object.
void open()
Opens the stream for working with it.
void close()
Closes the stream.
uint64_t getNumUnderrun()
Returns some information about the stream.
size_t getBufAnnounceMin()
Returns some information about the stream.
The stream class encapsulates a Genicam stream.
size_t getBufAlignment()
Returns some information about the stream.