logic-analyzer
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
logic_analyzer::Capture Class Reference

Default Implementation for the Capturing Logic. More...

#include <logic_analyzer.h>

Inheritance diagram for logic_analyzer::Capture:
logic_analyzer::AbstractCapture

Public Member Functions

 Capture (uint64_t maxCaptureFreq, uint64_t maxCaptureFreqThreshold)
 Default Constructor.
 
virtual void capture ()
 starts the capturing of the data
 
void captureAll ()
 Generic Capturing of requested number of examples into the buffer.
 
void captureAllMaxSpeed ()
 Capturing of requested number of examples into the buffer at maximum speed.
 
void captureAllContinous ()
 Continuous capturing at the requested speed.
 
void captureAllContinousMaxSpeed ()
 Continuous capturing at max speed.
 
void captureSampleFast ()
 captures one singe entry for all pins and writes it to the buffer
 
void captureSampleFastContinuous ()
 captures one singe entry for all pins and writes it to output stream
 
PinBitArray captureSample ()
 captures one single entry for all pins and provides the result - used by the trigger
 
- Public Member Functions inherited from logic_analyzer::AbstractCapture
 AbstractCapture ()
 Default Constructor.
 
 ~AbstractCapture ()
 Destructor.
 
LogicAnalyzerlogicAnalyzer ()
 Provides access to the LogicAnalyzer.
 
virtual PinReaderpinReader ()
 Provides access to the PinReader.
 
virtual void setStatus (Status status)
 Sets the status.
 

Protected Member Functions

void capture (bool is_max_speed)
 starts the capturing of the data
 
virtual Stream & stream ()
 Provides access to the SUMP command stream.
 
void dumpData ()
 dumps the caputred data to the recording device
 
- Protected Member Functions inherited from logic_analyzer::AbstractCapture
virtual void setLogicAnalyzer (LogicAnalyzer &la)
 

Protected Attributes

uint64_t max_frequecy_value
 
uint64_t max_frequecy_threshold
 
- Protected Attributes inherited from logic_analyzer::AbstractCapture
LogicAnalyzerlogic_analyzer_ptr = nullptr
 

Detailed Description

Default Implementation for the Capturing Logic.

Author
Phil Schatzmann

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