FACT++  1.0
vector< State > StateMachineDimControl::GetStates ( const std::string &  server)

Definition at line 484 of file StateMachineDimControl.cc.

Referenced by RemoteControl< Shell >::JsGetStates().

485 {
486  const lock_guard<mutex> guard(fMutex);
487 
488  vector<State> rc;
489 
490  for (auto it=fStateDescriptionList.begin(); it!=fStateDescriptionList.end(); it++)
491  {
492  if (it->first.first!=server)
493  continue;
494 
495  rc.emplace_back(it->first.second, it->second.first, it->second.second);
496  }
497 
498  return rc;
499 }
std::map< std::pair< std::string, int32_t >, std::pair< std::string, std::string > > fStateDescriptionList

+ Here is the caller graph for this function: