Ejemplo n.º 1
0
bool PlyReader::requestListProperty(const std::string& elementName,
									const std::string& propertyName,
									int dataType, int dataOffset,
									int countType, int countOffset)
{
	return requestProperty(elementName, propertyName, dataType, dataOffset, countType, countOffset);
}
Ejemplo n.º 2
0
void XDNet::requestSuperGlobals(int scope)
{
  //total global vars: 9
  m_superglobalsCount = 9;

  requestProperty("$GLOBALS", scope, SuperGlobalId);
  requestProperty("$_ENV", scope, SuperGlobalId);
  requestProperty("$_POST", scope, SuperGlobalId);
  requestProperty("$_GET", scope, SuperGlobalId);
  requestProperty("$_COOKIE", scope, SuperGlobalId);
  requestProperty("$_SERVER", scope, SuperGlobalId);
  requestProperty("$_FILES", scope, SuperGlobalId);
  requestProperty("$_REQUEST", scope, SuperGlobalId);
  requestProperty("$_SESSION", scope, SuperGlobalId);
}
 boost::signals::connection PropertyCache::watchProperty(uint32_t propid, const PropertyCallback &cb){
     PropertySignal *bs = watchers[propid];
     if(bs == NULL){
         bs = new PropertySignal();
         watchers[propid] = bs;
     }
     boost::signals::connection conn = bs->connect(cb);
     requestProperty(propid, cb);
     return conn;
 }
Ejemplo n.º 4
0
void XDNet::requestWatch(const QString& expression, int ctx_id)
{
  requestProperty(expression, ctx_id, 1);
}
Ejemplo n.º 5
0
bool PlyReader::requestScalarProperty(const std::string& elementName, const std::string& propertyName,
									  int dataType, int dataOffset)
{
	return requestProperty(elementName, propertyName, dataType, dataOffset, 0, 0);
}