PulseView  0.3.0
A Qt-based sigrok GUI
pv::devices::File Class Reference

#include <file.hpp>

Inheritance diagram for pv::devices::File:
Collaboration diagram for pv::devices::File:

Public Member Functions

std::string full_name () const
 
std::string display_name (const DeviceManager &) const
 
- Public Member Functions inherited from pv::devices::Device
virtual ~Device ()
 
std::shared_ptr< sigrok::Session > session () const
 
std::shared_ptr< sigrok::Device > device () const
 
template<typename T >
read_config (const sigrok::ConfigKey *key, const T default_value=0)
 
virtual void open ()=0
 
virtual void close ()=0
 
virtual void start ()
 
virtual void run ()
 
virtual void stop ()
 
template<typename T >
read_config (const ConfigKey *key, const T default_value)
 

Protected Member Functions

 File (const std::string &file_name)
 
- Protected Member Functions inherited from pv::devices::Device
 Device ()
 

Protected Attributes

const std::string file_name_
 
- Protected Attributes inherited from pv::devices::Device
std::shared_ptr< sigrok::Session > session_
 
std::shared_ptr< sigrok::Device > device_
 

Detailed Description

Definition at line 31 of file file.hpp.

Constructor & Destructor Documentation

pv::devices::File::File ( const std::string &  file_name)
protected

Definition at line 28 of file file.cpp.

Member Function Documentation

std::string pv::devices::File::display_name ( const DeviceManager ) const
virtual

Builds the display name. It only contains fields as required.

Implements pv::devices::Device.

Definition at line 38 of file file.cpp.

Here is the call graph for this function:

std::string pv::devices::File::full_name ( ) const
virtual

Builds the full name. It only contains all the fields.

Implements pv::devices::Device.

Definition at line 33 of file file.cpp.

Here is the caller graph for this function:

Member Data Documentation

const std::string pv::devices::File::file_name_
protected

Definition at line 48 of file file.hpp.


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