#include <extpin.h>


Public Member Functions | |
| ExtPin (T_Pinstate ps, UserInterface *_ui, const char *_extName, const char *baseWindow) | |
| void | SetNewValueFromUi (const std::string &s) |
| void | SetInState (const Pin &p) |
Protected Attributes | |
| UserInterface * | ui |
| ptr to UI | |
| std::string | extName |
| identifier for UI access | |
"external" pin, used for connecting UI to pins
Definition at line 37 of file extpin.h.
| ExtPin::ExtPin | ( | T_Pinstate | ps, | |
| UserInterface * | _ui, | |||
| const char * | _extName, | |||
| const char * | baseWindow | |||
| ) |
creates an ExtPin instance
| ps | pin status | |
| _ui | pointer to UI instance | |
| _extName | identifier used for UI access | |
| baseWindow | window identifier from UI window |
Definition at line 34 of file extpin.cpp.
References UserInterface::AddExternalType(), extName, Pin::outState, ui, and UserInterface::Write().

| void ExtPin::SetInState | ( | const Pin & | p | ) | [virtual] |
Send new pin status to UI
| p | pin, for which status change is to send |
Reimplemented from Pin.
Definition at line 50 of file extpin.cpp.
References extName, UserInterface::SendUiNewState(), and ui.

| void ExtPin::SetNewValueFromUi | ( | const std::string & | s | ) | [virtual] |
Receives a external value from UI
| s | value string |
Implements ExternalType.
Definition at line 54 of file extpin.cpp.
References Net::CalcNet(), Pin::connectedTo, and Pin::outState.

std::string ExtPin::extName [protected] |
identifier for UI access
Definition at line 41 of file extpin.h.
Referenced by ExtPin(), and SetInState().
UserInterface* ExtPin::ui [protected] |
1.6.3