JeVois  1.22
JeVois Smart Embedded Machine Vision Toolkit
Share this page:
Loading...
Searching...
No Matches
jevois::VideoOutputNone Class Reference

#include <jevois/Core/VideoOutputNone.H>

No-op VideoOutput derivative for when there is no video output.

This class derived from VideoOutput does (almost) nothing and can be used by Engine when no video output is desired.

Definition at line 28 of file VideoOutputNone.H.

Inheritance diagram for jevois::VideoOutputNone:
Collaboration diagram for jevois::VideoOutputNone:

Public Member Functions

virtual ~VideoOutputNone ()
 Virtual destructor for safe inheritance.
 
void setFormat (VideoMapping const &m) override
 Set the video format and frame rate.
 
void get (RawImage &img) override
 Get a pre-allocated image so that we can fill the pixel data and later send out using send()
 
void send (RawImage const &img) override
 Send an image out.
 
void streamOn () override
 Start streaming.
 
void abortStream () override
 Abort streaming.
 
void streamOff () override
 Stop streaming.
 
- Public Member Functions inherited from jevois::VideoOutput
virtual ~VideoOutput ()
 Virtual destructor for safe inheritance.
 

Protected Attributes

std::shared_ptr< VideoBufitsBuffer
 
jevois::RawImage itsImage
 

Constructor & Destructor Documentation

◆ ~VideoOutputNone()

jevois::VideoOutputNone::~VideoOutputNone ( )
virtual

Virtual destructor for safe inheritance.

Definition at line 22 of file VideoOutputNone.C.

Member Function Documentation

◆ abortStream()

void jevois::VideoOutputNone::abortStream ( )
overridevirtual

Abort streaming.

In VideoOutputNone, this is a no-op.

Implements jevois::VideoOutput.

Definition at line 53 of file VideoOutputNone.C.

◆ get()

void jevois::VideoOutputNone::get ( RawImage img)
overridevirtual

Get a pre-allocated image so that we can fill the pixel data and later send out using send()

In VideoOutputNone, this returns a blank buffer.

Implements jevois::VideoOutput.

Definition at line 41 of file VideoOutputNone.C.

◆ send()

void jevois::VideoOutputNone::send ( RawImage const &  img)
overridevirtual

Send an image out.

In VideoOutputNone, this is a no-op.

Implements jevois::VideoOutput.

Definition at line 45 of file VideoOutputNone.C.

◆ setFormat()

void jevois::VideoOutputNone::setFormat ( VideoMapping const &  m)
overridevirtual

Set the video format and frame rate.

In VideoOutputNone, this is a no-op.

Implements jevois::VideoOutput.

Definition at line 26 of file VideoOutputNone.C.

References jevois::VideoMapping::ofmt, jevois::VideoMapping::ofps, jevois::VideoMapping::oh, jevois::VideoMapping::osize(), and jevois::VideoMapping::ow.

◆ streamOff()

void jevois::VideoOutputNone::streamOff ( )
overridevirtual

Stop streaming.

In VideoOutputNone, this is a no-op.

Implements jevois::VideoOutput.

Definition at line 57 of file VideoOutputNone.C.

◆ streamOn()

void jevois::VideoOutputNone::streamOn ( )
overridevirtual

Start streaming.

In VideoOutputNone, this is a no-op.

Implements jevois::VideoOutput.

Definition at line 49 of file VideoOutputNone.C.

Member Data Documentation

◆ itsBuffer

std::shared_ptr<VideoBuf> jevois::VideoOutputNone::itsBuffer
protected

Definition at line 59 of file VideoOutputNone.H.

◆ itsImage

jevois::RawImage jevois::VideoOutputNone::itsImage
protected

Definition at line 60 of file VideoOutputNone.H.


The documentation for this class was generated from the following files: