FACT++  1.0
template<class T>
void RemoteControl< T >::UnsubscribeAll ( )
inlineprotected

Definition at line 355 of file RemoteControl.h.

356  {
357  // This function is called from JavaScript
358  const lock_guard<mutex> lock(fMutex);
359 
360  for (auto it=fInfo.begin(); it!=fInfo.end(); it++)
361  fImp->Unsubscribe(it->second.ptr);
362 
363  fInfo.clear();
364  }
std::mutex fMutex
StateMachineDimControl * fImp
Definition: RemoteControl.h:70
map< string, EventInfo > fInfo
void Unsubscribe(EventImp *evt)