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

Replicates frame flow to three filters Use this frame filter to create frame filter tree structures. More...

#include <framefilter.h>

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

Public Member Functions

 ForkFrameFilter3 (const char *name, FrameFilter *next=NULL, FrameFilter *next2=NULL, FrameFilter *next3=NULL)
 Default constructor. More...
 
void run (Frame *frame)
 Calls this->go(Frame* frame) and then calls the this->next->run(Frame* frame) (if this->next != NULL)
 
- Public Member Functions inherited from FrameFilter
 FrameFilter (const char *name, FrameFilter *next=NULL)
 Default constructor. More...
 
virtual ~FrameFilter ()
 Virtual destructor // <pyapi>
 
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

FrameFilternext2
 
FrameFilternext3
 

Additional Inherited Members

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

Detailed Description

Replicates frame flow to three filters Use this frame filter to create frame filter tree structures.

Constructor & Destructor Documentation

◆ ForkFrameFilter3()

ForkFrameFilter3::ForkFrameFilter3 ( const char *  name,
FrameFilter next = NULL,
FrameFilter next2 = NULL,
FrameFilter next3 = NULL 
)

Default constructor.

Parameters
nameName of the filter
nextNext FrameFilter instance in the filter chain
next2Yet another next FrameFilter instance to be applied in the chain
next3Still yet another next FrameFilter instance to be applied in the chain

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