Skip to main content

FramesPerSecond Struct

Strong-typed wrapper for the emit framerate, in frames per second. More...

Declaration

struct simaai::neat::StillImageInput::FramesPerSecond { ... }

Included Headers

#include <StillImageInput.h>

Public Constructors Index

constexprFramesPerSecond ()=default

Default-construct with value 30 fps. More...

constexprFramesPerSecond (int v)

Construct from raw integer value. More...

Public Member Attributes Index

intvalue = 30

Underlying integer value, in fps. More...

Description

Strong-typed wrapper for the emit framerate, in frames per second.

Definition at line 71 of file StillImageInput.h.

Public Constructors

FramesPerSecond()

constexpr simaai::neat::StillImageInput::FramesPerSecond::FramesPerSecond ()
constexpr default

Default-construct with value 30 fps.

Definition at line 74 of file StillImageInput.h.

FramesPerSecond()

constexpr simaai::neat::StillImageInput::FramesPerSecond::FramesPerSecond (int v)
inline constexpr

Construct from raw integer value.

Definition at line 76 of file StillImageInput.h.

76 constexpr FramesPerSecond(int v) : value(v) {}

Public Member Attributes

value

int simaai::neat::StillImageInput::FramesPerSecond::value = 30

Underlying integer value, in fps.

Definition at line 72 of file StillImageInput.h.

72 int value = 30;

The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.