|
Valkka
1.6.1
OpenSource Video Management
|
Replicates frame flow to arbitrary number of outputs. More...
#include <framefilter.h>


Public Member Functions | |
| ForkFrameFilterN (const char *name) | |
| Default ctor. More... | |
| virtual | ~ForkFrameFilterN () |
| Default virtual dtor. | |
| void | run (Frame *frame) |
| called by other FrameFilter(s) | |
| bool | connect (const char *tag, FrameFilter *filter) |
| Connect a new terminal FrameFilter. More... | |
| bool | disconnect (const char *tag) |
| Disconnect a connection tagged with a name. More... | |
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 | |
| std::mutex | mutex |
| std::map< std::string, FrameFilter * > | framefilters |
| nametag to connecting FrameFilter mapping | |
Additional Inherited Members | |
Public Attributes inherited from FrameFilter | |
| std::string | name |
| FrameFilter * | next |
| The next frame filter in the chain to be applied. | |
Replicates frame flow to arbitrary number of outputs.
| ForkFrameFilterN::ForkFrameFilterN | ( | const char * | name | ) |
Default ctor.
| name | Name identifying this FrameFilter |
| bool ForkFrameFilterN::connect | ( | const char * | tag, |
| FrameFilter * | filter | ||
| ) |
Connect a new terminal FrameFilter.
Tag the connection with a name.
| tag | Nametag for this connection |
| filter | FrameFilter for the connection |
| bool ForkFrameFilterN::disconnect | ( | const char * | tag | ) |
Disconnect a connection tagged with a name.
| tag | Nametag for this connection |