dji_mop_pipeline_manager_base.hpp
Go to the documentation of this file.
1 
29 #ifndef DJI_MOP_PIPELINE_MANAGER_BASE_HPP
30 #define DJI_MOP_PIPELINE_MANAGER_BASE_HPP
31 
32 #include "dji_mop_define.hpp"
33 #include "dji_mop_pipeline.hpp"
34 #include "dji_log.hpp"
35 #include <map>
36 
37 using namespace DJI::OSDK;
38 using namespace DJI::OSDK::MOP;
39 
40 using namespace std;
41 
43 extern map<PipelineID, MopPipeline*> pipelineMap;
44 
45 namespace DJI {
46 namespace OSDK {
47 class MopPipelineManagerBase {
48  public:
49  MopPipelineManagerBase();
50 
51  ~MopPipelineManagerBase();
52 
54  MopErrCode create(PipelineID id, MopPipeline *&p);
55 
57  MopErrCode destroy(PipelineID id);
58 
59  protected:
60  void checkEntry();
61 };
62 } // namespace OSDK
63 } // namespace DJI
64 
65 #endif // DJI_MOP_PIPELINE_MANAGER_BASE_HPP
Definition: dji_ack.cpp:40
Implementation of mop pipeline.
Enumeration of all mop data types, structures.
map< PipelineID, MopPipeline * > pipelineMap
Class providing APIs & data structures MOP pipeline operations.
Definition: dji_mop_pipeline.hpp:43
uint16_t PipelineID
Definition: dji_mop_define.hpp:78
Definition: dji_ack.cpp:38
This namespace encapsulates all available telemetry topics through either Broadcast or Subscribe.
Definition: dji_mop_define.hpp:47