Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
Public Member Functions | List of all members
librealsense::pipeline Class Reference

#include <pipeline.h>

Inheritance diagram for librealsense::pipeline:

Public Member Functions

 pipeline (std::shared_ptr< librealsense::context > ctx)
 
 ~pipeline ()
 
std::shared_ptr< pipeline_profilestart (std::shared_ptr< pipeline_config > conf)
 
std::shared_ptr< pipeline_profilestart_with_record (std::shared_ptr< pipeline_config > conf, const std::string &file)
 
void stop ()
 
std::shared_ptr< pipeline_profileget_active_profile () const
 
frame_holder wait_for_frames (unsigned int timeout_ms=5000)
 
bool poll_for_frames (frame_holder *frame)
 
std::shared_ptr< device_interfacewait_for_device (const std::chrono::milliseconds &timeout=std::chrono::hours::max(), const std::string &serial="")
 
std::shared_ptr< librealsense::contextget_context () const
 

Constructor & Destructor Documentation

◆ pipeline()

librealsense::pipeline::pipeline ( std::shared_ptr< librealsense::context ctx)
explicit

◆ ~pipeline()

librealsense::pipeline::~pipeline ( )

Member Function Documentation

◆ get_active_profile()

std::shared_ptr<pipeline_profile> librealsense::pipeline::get_active_profile ( ) const

◆ get_context()

std::shared_ptr<librealsense::context> librealsense::pipeline::get_context ( ) const

◆ poll_for_frames()

bool librealsense::pipeline::poll_for_frames ( frame_holder frame)

◆ start()

std::shared_ptr<pipeline_profile> librealsense::pipeline::start ( std::shared_ptr< pipeline_config conf)

◆ start_with_record()

std::shared_ptr<pipeline_profile> librealsense::pipeline::start_with_record ( std::shared_ptr< pipeline_config conf,
const std::string &  file 
)

◆ stop()

void librealsense::pipeline::stop ( )

◆ wait_for_device()

std::shared_ptr<device_interface> librealsense::pipeline::wait_for_device ( const std::chrono::milliseconds &  timeout = std::chrono::hours::max(),
const std::string &  serial = "" 
)

◆ wait_for_frames()

frame_holder librealsense::pipeline::wait_for_frames ( unsigned int  timeout_ms = 5000)

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