JeVois  1.1
JeVois Smart Embedded Machine Vision Toolkit
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. More...
 
void setFormat (VideoMapping const &m) override
 Set the video format and frame rate. More...
 
void get (RawImage &img) override
 Get a pre-allocated image so that we can fill the pixel data and later send out using send() More...
 
void send (RawImage const &img) override
 Send an image out. More...
 
void streamOn () override
 Start streaming. More...
 
void abortStream () override
 Abort streaming. More...
 
void streamOff () override
 Stop streaming. More...
 
- Public Member Functions inherited from jevois::VideoOutput
virtual ~VideoOutput ()
 Virtual destructor for safe inheritance. More...
 

Protected Attributes

std::shared_ptr< VideoBufitsBuffer
 
jevois::RawImage itsImage
 

Constructor & Destructor Documentation

jevois::VideoOutputNone::~VideoOutputNone ( )
virtual

Virtual destructor for safe inheritance.

Definition at line 22 of file VideoOutputNone.C.

Member Function Documentation

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.

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.

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.

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.

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.

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

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

Definition at line 59 of file VideoOutputNone.H.

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: