#include <SALOMEDispatcher.hxx>
|
static void * | ThDisp (void *a) |
|
Definition at line 38 of file SALOMEDispatcher.hxx.
SALOMEDispatcher::SALOMEDispatcher |
( |
| ) |
|
SALOMEDispatcher::~SALOMEDispatcher |
( |
| ) |
|
|
virtual |
void SALOMEDispatcher::addObserver |
( |
YACS_ORB::Observer_ptr |
observer, |
|
|
int |
numid, |
|
|
std::string |
event |
|
) |
| |
void SALOMEDispatcher::dispatch |
( |
Node * |
object, |
|
|
const std::string & |
event |
|
) |
| |
|
virtual |
Reimplemented from YACS::ENGINE::Dispatcher.
Definition at line 55 of file SALOMEDispatcher.cxx.
References DEBTRACE, and YACS::ENGINE::Node::getNumId().
57 DEBTRACE(
"SALOMEDispatcher::dispatch " << event <<
" " << object->
getNumId());
58 CORBA::Long numId =
object->getNumId();
59 typedef set<YACS_ORB::Observer_ptr>::iterator jt;
60 std::pair<int,std::string> key(numId, event);
63 if (! CORBA::is_nil(*iter))
65 DEBTRACE(
"numId, event " << numId <<
" " << event );
66 (*iter)->notifyObserver(numId, event.c_str());
69 DEBTRACE(
"************************** dispatch on a CORBA::nil *******************************");
void SALOMEDispatcher::setSALOMEDispatcher |
( |
| ) |
|
|
static |
static void* YACS::ENGINE::SALOMEDispatcher::ThDisp |
( |
void * |
a | ) |
|
|
staticprotected |
std::list< std::pair<Node*,std::string> > YACS::ENGINE::SALOMEDispatcher::_listOfEvents |
|
staticprotected |
map< pair< int, string >, set< YACS_ORB::Observer_ptr > > SALOMEDispatcher::_observers |
|
staticprotected |
YACS::BASES::Semaphore YACS::ENGINE::SALOMEDispatcher::_s1 |
|
staticprotected |
The documentation for this class was generated from the following files: