dji_mop_server.hpp
Go to the documentation of this file.
1 
29 #ifndef DJI_MOP_SERVER_HPP
30 #define DJI_MOP_SERVER_HPP
31 
32 #include "dji_mop_pipeline.hpp"
34 
35 namespace DJI {
36 namespace OSDK {
37 
38 // Forward Declarations
39 class Vehicle;
40 
43 class MopServer : MopPipelineManagerBase {
44  public:
45  MopServer();
46  ~MopServer();
47 
62  MopErrCode accept(PipelineID id, PipelineType type, MopPipeline *&p);
63 
72  MopErrCode close(PipelineID id);
73  private:
74  Vehicle *vehicle;
75 };
76 
77 }
78 }
79 
80 
81 #endif //DJI_MOP_SERVER_HPP
MopErrCode accept(PipelineID id, PipelineType type, MopPipeline *&p)
Accept the connecting request from target device with properties of a pipelineid and pipeline type....
MopErrCode close(PipelineID id)
Close the target pipeline by a pipelineid.
Implementation of mop pipeline.
Class providing APIs & data structures MOP pipeline operations.
Definition: dji_mop_pipeline.hpp:43
Implementation of mop pipeline manager base.
uint16_t PipelineID
Definition: dji_mop_define.hpp:78
Definition: dji_ack.cpp:38
Class providing APIs & data structures for acting as a MOP server.
Definition: dji_mop_server.hpp:43