#include <GuiObserver_i.hxx>
Definition at line 51 of file GuiObserver_i.hxx.
◆ GuiObserver_i()
◆ ~GuiObserver_i()
| GuiObserver_i::~GuiObserver_i |
( |
| ) |
|
|
virtual |
◆ getEngineId()
| int YACS::HMI::GuiObserver_i::getEngineId |
( |
int |
guiId | ) |
|
|
inline |
◆ notifyObserver()
| void GuiObserver_i::notifyObserver |
( |
CORBA::Long |
numid, |
|
|
const char * |
event |
|
) |
| |
Definition at line 56 of file GuiObserver_i.cxx.
58 DEBTRACE(
"GuiObserver_i::notifyObserver " << numid <<
" " << event);
59 pair<int,string> myEvent(numid, event);
61 QApplication::postEvent(
_impl, evt);
References _impl, and DEBTRACE.
◆ setConversion()
| void GuiObserver_i::setConversion |
( |
| ) |
|
Definition at line 64 of file GuiObserver_i.cxx.
66 DEBTRACE(
"GuiObserver_i::setConversion");
68 YACS_ORB::stringArray_var engineNames;
69 YACS_ORB::longArray_var engineIds;
71 _engineProc->getIds(engineIds.out(), engineNames.out());
72 int iLength = engineIds->length();
73 int nLength = engineNames->length();
74 if (nLength < iLength) iLength = nLength;
75 for(
int i=0;
i<iLength;
i++)
78 aName = engineNames[
i];
79 int iEng = engineIds[
i];
80 DEBTRACE(
"--- " << aName <<
" " << iEng);
81 if (aName !=
"_root_")
#define YASSERT(val)
YASSERT macro is always defined, used like assert, but throw a YACS::Exception instead of abort.
Node * getChildByName(const std::string &name) const
int getNumId()
return node instance identifiant, unique for each node instance
References _engineProc, _engineToGuiMap, _guiProc, _guiToEngineMap, DEBTRACE, YACS::ENGINE::ComposedNode::getChildByName(), YACS::ENGINE::Node::getNumId(), yacsorb.CORBAEngineTest::i, and YASSERT.
◆ SetImpl()
◆ SetRemoteProc()
| void GuiObserver_i::SetRemoteProc |
( |
YACS_ORB::ProcExec_ptr |
engineProc | ) |
|
◆ GuiExecutor
◆ _engineProc
| YACS_ORB::ProcExec_var YACS::HMI::GuiObserver_i::_engineProc |
|
protected |
◆ _engineToGuiMap
| std::map<int, int> YACS::HMI::GuiObserver_i::_engineToGuiMap |
|
protected |
◆ _guiProc
◆ _guiToEngineMap
| std::map<int, int> YACS::HMI::GuiObserver_i::_guiToEngineMap |
|
protected |
◆ _impl
The documentation for this class was generated from the following files: