Expand description
Pure-Rust GenICam camera library.
GenICamera exposes a device’s GenICam feature tree (Width,
ExposureTime, PixelFormat, AcquisitionStart, …) by name, evaluated
through the node graph of the device’s own description XML, plus
acquisition helpers (start_acquisition,
snap, snapshot_session).
Transports live in backend modules. The only backend today is gige
(GigE Vision: GVCP control and GVSP streaming spoken directly, no vendor
SDK); the feature layer is an enum over the transport so USB3 Vision can
slot in later. Each channel runs a dedicated I/O thread; handles are
cheap to clone and share it.
Re-exports§
pub use error::CameraError;pub use error::GenicamError;pub use error::Result;pub use genicam::AccessMode;pub use genicam::Acquisition;pub use genicam::Features;pub use genicam::GenICamera;pub use genicam::NodeKind;pub use genicam::SnapshotSession;pub use gige::PixelFormat;pub use gige::stream::Frame;pub use gige::stream::FrameChannel;pub use gige::stream::FrameStatus;pub use gige::stream::PacketSize;pub use gige::stream::PayloadKind;pub use gige::stream::ResendPolicy;pub use gige::stream::StreamChannel;pub use gige::stream::StreamConfig;pub use gige::stream::StreamStats;pub use handle::ResponseHandle;pub use wire::ControlRx;pub use wire::ControlTelemetry;pub use wire::ControlTx;pub use wire::GvcpAck;pub use wire::GvcpCmd;pub use wire::GvspPacket;pub use wire::StreamTelemetry;pub use wire::TelemetrySink;pub use fast_talker;
Modules§
- error
- The crate’s error taxonomy.
- genicam
- The GenICam feature layer:
GenICamerawraps a transport camera and exposes the device’s feature tree (Width, ExposureTime, PixelFormat, AcquisitionStart, …) by name, evaluated through the device-description XML’s node graph. - gige
- The GigE Vision backend: the
GigECameratransport handle and its configuration, networkdiscovery, the GVCP/GVSP wire formats (proto), and the GVSPstreamreceiver. - handle
- The response handle returned by every GVCP transaction.
- wire
- Packet-level observation of a camera’s GigE Vision traffic.
Structs§
- Link
Stats - Cumulative link-health counters of one camera, across reconnects and
stream channels. Unlike
gige::LinkStats, which covers the current control connection only, these never reset. - Report
Summary - The lists of a
Reportwithout its guards, fromReport::summary. Unlike aReportit isSend,SyncandClonewhenever the option type is (all of fast-talker’s are), so a worker thread can hand it to its caller. Dropping it releases nothing. - Tuning
Report - What a worker’s thread and socket options came to.
Enums§
- Socket
Option - One socket option. Apply a list with
SocketOption::apply_all. Each variant sets theSocketOptionsfield of the same name; see there. - Thread
Option - One setting for a thread. Apply a list with
ThreadOption::apply_allon the thread itself, orThreadOption::apply_all_tofor another.