PX4 Firmware
PX4 Autopilot Software http://px4.io
cdev::file_t Struct Reference

#include <cdev_platform.hpp>

Collaboration diagram for cdev::file_t:

Public Member Functions

 file_t ()=default
 
 file_t (int f, void *c)
 

Public Attributes

int f_oflags {0}
 
void * f_priv {nullptr}
 
void * vdev {nullptr}
 

Detailed Description

Definition at line 20 of file cdev_platform.hpp.

Constructor & Destructor Documentation

◆ file_t() [1/2]

cdev::file_t::file_t ( )
default

◆ file_t() [2/2]

cdev::file_t::file_t ( int  f,
void *  c 
)
inline

Definition at line 26 of file cdev_platform.hpp.

References data, name, register_driver(), and unregister_driver().

Here is the call graph for this function:

Member Data Documentation

◆ f_oflags

int cdev::file_t::f_oflags {0}

◆ f_priv

void* cdev::file_t::f_priv {nullptr}

◆ vdev

void* cdev::file_t::vdev {nullptr}

Definition at line 23 of file cdev_platform.hpp.

Referenced by get_vdev(), and px4_close().


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