The Vish Visualization Shell 0.3
Vish
Public Member Functions | List of all members
Wizt::VFrameBuffer::Grab::MovieManager Struct Reference

A movie manager is base class for frame grabbers to manage rendering frame sequence. More...

#include <ocean/Anemonia/VFrameBuffer.hpp>

Inheritance diagram for Wizt::VFrameBuffer::Grab::MovieManager:
MemCore::ReferenceBase< MovieManager >

Public Member Functions

virtual bool skipFrame (const MetaInfo &)
 Virtual function to decide whether a certain frame shall be skipped.
 
- Public Member Functions inherited from MemCore::ReferenceBase< MovieManager >
auto getObjectCountID () const noexcept
 Get a unique ID for this object in the given domain.
 
bool isIdentical (const WeakPtr< MovieManager, MovieManager > &PossibleSelf) const noexcept
 Check if this object is identical to the one used by the given pointer.
 
void mkAutoDestructive ()
 Marks this object as being automatically destructed, e.g.
 
refcount_t refcount () const noexcept
 The strong reference count.
 
 ReferenceBase (MovieManager *that) noexcept
 Constructor, initializes reference counter to zero.
 
const auto & self () const
 Return weak pointer to the object self.
 
refcount_t wrefcount () const noexcept
 The weak reference count.
 

Additional Inherited Members

- Public Types inherited from MemCore::ReferenceBase< MovieManager >
using reference_domain_t = MovieManager
 The type of the base class.
 
using SelfPtr_t = WeakPtr< MovieManager, MovieManager >
 Type for a pointer to this object itself.
 
- Protected Member Functions inherited from MemCore::ReferenceBase< MovieManager >
virtual void extremeUnction ()
 A virtual function that will be called just before the object is destroyed.
 
ReferenceBaseoperator= (const ReferenceBase &R)
 Protected assignment operator (should not be called).
 
void suicide ()
 Delete this.
 
virtual ~ReferenceBase ()
 Virtual destructor.
 

Detailed Description

A movie manager is base class for frame grabbers to manage rendering frame sequence.

It is intented to be created via Grab::getMovieManager() and will live as long as a frame sequence is under generation.

Member Function Documentation

◆ skipFrame()

bool Wizt::VFrameBuffer::Grab::MovieManager::skipFrame ( const MetaInfo )
virtual

Virtual function to decide whether a certain frame shall be skipped.

Returns
true if the given frame shall be skipped. by default returns false.
Todo:
Consider providing more parameters from the movie maker to allow a founded decision here.