Valkka  1.6.1
OpenSource Video Management
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CacheFrameFilter Class Reference

Passes frames to a FrameCache. More...

#include <cachestream.h>

Inheritance diagram for CacheFrameFilter:
Inheritance graph
[legend]
Collaboration diagram for CacheFrameFilter:
Collaboration graph
[legend]

Public Member Functions

 CacheFrameFilter (const char *name, FrameCache *framecache)
 Default constructor. More...
 
- Public Member Functions inherited from FrameFilter
 FrameFilter (const char *name, FrameFilter *next=NULL)
 Default constructor. More...
 
virtual ~FrameFilter ()
 Virtual destructor // <pyapi>
 
virtual void run (Frame *frame)
 Calls this->go(Frame* frame) and then calls the this->next->run(Frame* frame) (if this->next != NULL)
 
void setVoid ()
 nullifies the next framefilter in the chain -> cuts the framefilter chain
 

Protected Member Functions

void go (Frame *frame)
 Does the actual filtering/modification to the Frame. Define in subclass.
 

Protected Attributes

FrameCacheframecache
 

Additional Inherited Members

- Public Attributes inherited from FrameFilter
std::string name
 
FrameFilternext
 The next frame filter in the chain to be applied.
 

Detailed Description

Passes frames to a FrameCache.

Typically, the terminal point for the frame filter chain, so there is no next filter = NULL.

Constructor & Destructor Documentation

◆ CacheFrameFilter()

CacheFrameFilter::CacheFrameFilter ( const char *  name,
FrameCache framecache 
)

Default constructor.

Parameters
nameName
framecacheThe FrameCache where the frames are being written Default constructor // <pyapi>

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