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

Counts fps and prints the fps value on the terminal every N seconds. More...

#include <framefilter2.h>

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

Public Member Functions

 FPSCountFrameFilter (const char *name, const long int msinterval, FrameFilter *next=NULL)
 
- 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
 

Static Public Attributes

static std::mutex print_mutex
 

Protected Member Functions

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

Private Attributes

int count
 
long int prevtime
 
long int msinterval
 

Additional Inherited Members

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

Detailed Description

Counts fps and prints the fps value on the terminal every N seconds.


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