PulseView  unreleased development snapshot
A Qt-based sigrok GUI
pv::devices::SessionFile Class Referencefinal

#include <sessionfile.hpp>

Inheritance diagram for pv::devices::SessionFile:
Collaboration diagram for pv::devices::SessionFile:

Public Member Functions

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

Private Attributes

const shared_ptr< sigrok::Context > context_
 

Additional Inherited Members

- Protected Member Functions inherited from pv::devices::File
 File (const string &file_name)
 
- Protected Member Functions inherited from pv::devices::Device
 Device ()=default
 
- Protected Attributes inherited from pv::devices::File
string file_name_
 
- Protected Attributes inherited from pv::devices::Device
shared_ptr< sigrok::Session > session_
 
shared_ptr< sigrok::Device > device_
 

Detailed Description

Definition at line 37 of file sessionfile.hpp.

Constructor & Destructor Documentation

pv::devices::SessionFile::SessionFile ( const shared_ptr< sigrok::Context >  context,
const string &  file_name 
)

Definition at line 32 of file sessionfile.cpp.

Member Function Documentation

void pv::devices::SessionFile::close ( )
virtual

Implements pv::devices::Device.

Definition at line 48 of file sessionfile.cpp.

Here is the caller graph for this function:

void pv::devices::SessionFile::open ( )
virtual

Implements pv::devices::Device.

Definition at line 39 of file sessionfile.cpp.

Here is the call graph for this function:

Member Data Documentation

const shared_ptr<sigrok::Context> pv::devices::SessionFile::context_
private

Definition at line 48 of file sessionfile.hpp.


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