Signapse
All Classes Files Functions Variables Macros
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
PipelineLink Class Reference

#include <PipelineLink.h>

Inheritance diagram for PipelineLink:
Inheritance graph
Collaboration diagram for PipelineLink:
Collaboration graph

Public Member Functions

void RegisterCallback (SceneCallback *scb)
 
virtual void NextScene (Scene next)=0
 

Protected Member Functions

void NextScene (Scene scene)
 

Protected Attributes

SceneCallbacksceneCallback = nullptr
 

Detailed Description

A simple class which extends SceneCallback to add a RegisterCallback method. Also implements a default NextScene function. This class forms the basis for pipeline elements in the Signapse video processing architecture.

Definition at line 10 of file PipelineLink.h.

Member Function Documentation

◆ NextScene()

void PipelineLink::NextScene ( Scene  scene)
protectedvirtual

Default NextScene implementation, simply passes the scene on to the registered callback

Parameters
scene

Implements SceneCallback.

Reimplemented in SchedulableLink, and PreProcessor.

Definition at line 14 of file PipelineLink.cpp.

14 {
15 if(!sceneCallback) return;
17}
virtual void NextScene(Scene next)=0

◆ RegisterCallback()

void PipelineLink::RegisterCallback ( SceneCallback scb)

Used to register the next pipeline element.

Parameters
scbreference to the next pipeline element

Definition at line 7 of file PipelineLink.cpp.

7 {
8 sceneCallback = scb;
9}

Member Data Documentation

◆ sceneCallback

SceneCallback* PipelineLink::sceneCallback = nullptr
protected

Definition at line 16 of file PipelineLink.h.


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