#include <scope.h>


Public Member Functions | |
| Scope (UserInterface *ui, const std::string &name, unsigned int noOfChannels, const char *baseWindow) | |
| virtual | ~Scope () |
| Pin * | GetPin (unsigned int no) |
| virtual int | Step (bool &trueHwStep, SystemClockOffset *timeToNextStepIn_ns) |
| Return nonzero if a breakpoint was hit. | |
| void | SetInStateForChannel (unsigned int channel, const Pin &p) |
Protected Attributes | |
| UserInterface * | ui |
| std::string | name |
| unsigned char | myPortValue |
| std::map< std::string, Pin * > | allPins |
| std::vector< Pin * > | vecPin |
| std::vector< int > | lastVal |
| unsigned int | noOfChannels |
Definition at line 40 of file scope.h.
| Scope::Scope | ( | UserInterface * | ui, | |
| const std::string & | name, | |||
| unsigned int | noOfChannels, | |||
| const char * | baseWindow | |||
| ) |
Definition at line 44 of file scope.cpp.
References lastVal, name, noOfChannels, ui, vecPin, and UserInterface::Write().

| void Scope::SetInStateForChannel | ( | unsigned int | channel, | |
| const Pin & | p | |||
| ) |
Definition at line 64 of file scope.cpp.
References Pin::GetAnalog(), SystemClock::GetCurrentTime(), SystemClock::Instance(), lastVal, name, ui, and UserInterface::Write().
Referenced by ScopePin::SetInState().


| virtual int Scope::Step | ( | bool & | trueHwStep, | |
| SystemClockOffset * | timeToNextStepIn_ns | |||
| ) | [inline, virtual] |
Return nonzero if a breakpoint was hit.
Implements SimulationMember.
std::map<std::string, Pin*> Scope::allPins [protected] |
std::vector<int> Scope::lastVal [protected] |
Definition at line 48 of file scope.h.
Referenced by Scope(), and SetInStateForChannel().
unsigned char Scope::myPortValue [protected] |
std::string Scope::name [protected] |
Definition at line 43 of file scope.h.
Referenced by Scope(), and SetInStateForChannel().
unsigned int Scope::noOfChannels [protected] |
UserInterface* Scope::ui [protected] |
Definition at line 42 of file scope.h.
Referenced by Scope(), and SetInStateForChannel().
std::vector<Pin*> Scope::vecPin [protected] |
1.6.3