Page tree
Skip to end of metadata
Go to start of metadata

void FB::JSAPIAuto::getMemberNames ( std::vector< std::string > &  nameVector) const

Called by the browser to enumerate the members of this JSAPI object.

This must be implemented by anything extending JSAPI directly. JSAPIAuto implements this for you.

[out]nameVectorThe name vector.

Implements FB::JSAPI.

Definition at line 125 of file JSAPIAuto.cpp.

126 {
127  boost::recursive_mutex::scoped_lock lock(m_zoneMutex);
128  nameVector.clear();
129  for (ZoneMap::const_iterator it = m_zoneMap.begin(); it != m_zoneMap.end(); ++it) {
130  if (getZone() >= it->second)
131  nameVector.push_back(it->first);
132  }
133 }
virtual SecurityZone getZone() const
Gets the currently active zone.
Definition: JSAPIImpl.h:238
  • No labels