Logo
ApraPipes 1.0
Loading...
Searching...
No Matches
DMAFDToHostCopy.h
1#pragma once
2
3#include "Module.h"
4#include <memory>
5
7{
8public:
12};
13
14class DMAFDToHostCopy : public Module
15{
16public:
18 virtual ~DMAFDToHostCopy();
19
20 virtual bool init();
21 virtual bool term();
22
23protected:
24 bool process(frame_container &frames);
25 bool processSOS(frame_sp &frame);
26 bool validateInputPins();
27 bool validateOutputPins();
28 void addInputPin(framemetadata_sp &metadata, string &pinId); // throws exception if validation fails
29 bool processEOS(string &pinId);
30
31private:
32 class Detail;
33 std::shared_ptr<Detail> mDetail;
34};
Definition DMAFDToHostCopy.h:7
DMAFDToHostCopyProps()
Definition DMAFDToHostCopy.h:9
Definition DMAFDToHostCopy.cpp:5
Definition DMAFDToHostCopy.h:15
virtual bool term()
Definition DMAFDToHostCopy.cpp:91
bool processSOS(frame_sp &frame)
Definition DMAFDToHostCopy.cpp:116
std::shared_ptr< Detail > mDetail
Definition DMAFDToHostCopy.h:33
DMAFDToHostCopy(DMAFDToHostCopyProps props=DMAFDToHostCopyProps())
Definition DMAFDToHostCopy.cpp:24
bool validateOutputPins()
Definition DMAFDToHostCopy.cpp:44
bool process(frame_container &frames)
Definition DMAFDToHostCopy.cpp:96
virtual bool init()
Definition DMAFDToHostCopy.cpp:81
void addInputPin(framemetadata_sp &metadata, string &pinId)
Definition DMAFDToHostCopy.cpp:55
bool validateInputPins()
Definition DMAFDToHostCopy.cpp:33
virtual ~DMAFDToHostCopy()
Definition DMAFDToHostCopy.cpp:29
bool processEOS(string &pinId)
Definition DMAFDToHostCopy.cpp:178
Definition Module.h:33
Definition Module.h:151