DJI::OSDK::PayloadBase Class Reference

PayloadBase. More...

#include <dji_payload_base.hpp>

Inheritance diagram for DJI::OSDK::PayloadBase:

Public Member Functions

 PayloadBase (Linker *linker, PayloadIndexType index, std::string name, bool enable)
 
void setEnable (bool en)
 set the enable status of this payload module More...
 
bool getEnable ()
 get the enable status of this payload module More...
 
PayloadIndexType getIndex ()
 
std::string getName ()
 
void setName (std::string name)
 
Linker * getLinker ()
 

Detailed Description

Member Function Documentation

◆ getEnable()

bool DJI::OSDK::PayloadBase::getEnable ( )

get the enable status of this payload module

Returns
en enable status of this payload module

◆ setEnable()

void DJI::OSDK::PayloadBase::setEnable ( bool  en)

set the enable status of this payload module

Parameters
enenable status of this payload module.

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