simulavr  1.1.0
Scope Class Reference

#include <scope.h>

Inheritance diagram for Scope:

Public Member Functions

 Scope (UserInterface *ui, const std::string &name, unsigned int noOfChannels, const char *baseWindow)
 
virtual ~Scope ()
 
PinGetPin (unsigned int no)
 
virtual int Step (bool &trueHwStep, SystemClockOffset *timeToNextStepIn_ns)
 Return nonzero if a breakpoint was hit. More...
 
void SetInStateForChannel (unsigned int channel, Pin &p)
 
- Public Member Functions inherited from SimulationMember
virtual ~SimulationMember ()
 

Protected Attributes

UserInterfaceui
 
std::string name
 
unsigned char myPortValue
 
std::map< std::string, Pin * > allPins
 
std::vector< Pin * > vecPin
 
std::vector< int > lastVal
 
unsigned int noOfChannels
 

Detailed Description

Definition at line 40 of file scope.h.

Constructor & Destructor Documentation

◆ Scope()

Scope::Scope ( UserInterface ui,
const std::string &  name,
unsigned int  noOfChannels,
const char *  baseWindow 
)

◆ ~Scope()

virtual Scope::~Scope ( )
virtual

Member Function Documentation

◆ GetPin()

Pin* Scope::GetPin ( unsigned int  no)

◆ SetInStateForChannel()

void Scope::SetInStateForChannel ( unsigned int  channel,
Pin p 
)

Referenced by Step().

◆ Step()

virtual int Scope::Step ( bool &  trueHwStep,
SystemClockOffset timeToNextStepIn_ns 
)
inlinevirtual

Return nonzero if a breakpoint was hit.

Implements SimulationMember.

Definition at line 56 of file scope.h.

References SetInStateForChannel().

Member Data Documentation

◆ allPins

std::map<std::string, Pin*> Scope::allPins
protected

Definition at line 45 of file scope.h.

◆ lastVal

std::vector<int> Scope::lastVal
protected

Definition at line 48 of file scope.h.

◆ myPortValue

unsigned char Scope::myPortValue
protected

Definition at line 44 of file scope.h.

◆ name

std::string Scope::name
protected

Definition at line 43 of file scope.h.

◆ noOfChannels

unsigned int Scope::noOfChannels
protected

Definition at line 49 of file scope.h.

◆ ui

UserInterface* Scope::ui
protected

Definition at line 42 of file scope.h.

◆ vecPin

std::vector<Pin*> Scope::vecPin
protected

Definition at line 47 of file scope.h.


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