OpenShot Library | libopenshot  0.1.1
Public Member Functions | Static Public Member Functions | List of all members
openshot::ZmqLogger Class Reference

This abstract class is the base class, used by all readers in libopenshot. More...

#include <ZmqLogger.h>

Public Member Functions

void Connection (string new_connection)
 Set or change connection info for logger (i.e. tcp://*:5556) More...
 
void Log (string message)
 Log message to all subscribers of this logger (if any) More...
 

Static Public Member Functions

static ZmqLoggerInstance ()
 Create or get an instance of this logger singleton (invoke the class with this method) More...
 

Detailed Description

This abstract class is the base class, used by all readers in libopenshot.

Readers are types of classes that read video, audio, and image files, and return openshot::Frame objects. The only requirements for a 'reader', are to derive from this base class, implement the GetFrame method, and call the InitFileInfo() method.

Definition at line 52 of file ZmqLogger.h.

Member Function Documentation

void ZmqLogger::Connection ( string  new_connection)

Set or change connection info for logger (i.e. tcp://*:5556)

Definition at line 57 of file ZmqLogger.cpp.

ZmqLogger * ZmqLogger::Instance ( )
static

Create or get an instance of this logger singleton (invoke the class with this method)

Definition at line 38 of file ZmqLogger.cpp.

void ZmqLogger::Log ( string  message)

Log message to all subscribers of this logger (if any)

Definition at line 97 of file ZmqLogger.cpp.


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