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

Passes frame to one of the two terminals. More...

#include <framefilter.h>

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

Public Member Functions

 SwitchFrameFilter (const char *name, FrameFilter *next1=NULL, FrameFilter *next2=NULL)
 
void run (Frame *frame)
 Calls this->go(Frame* frame) and then calls the this->next->run(Frame* frame) (if this->next != NULL)
 
void set1 ()
 
void set2 ()
 
- 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

FrameFilternext1
 
FrameFilternext2
 
int index
 
std::mutex mutex
 

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 frame to one of the two terminals.


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