comparison TaskManager/Test/test_render/Application/Chain.cc @ 529:3527ba243767 draft

modify applications not using SGid but SGname.
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Thu, 22 Oct 2009 16:47:49 +0900
parents 413667c70a1d
children
comparison
equal deleted inserted replaced
528:7243d7e09d5b 529:3527ba243767
211 //ChainProperty r; 211 //ChainProperty r;
212 manager = manager_; 212 manager = manager_;
213 // 未実装 213 // 未実装
214 char *data = {"1"}; 214 char *data = {"1"};
215 int len = 0; 215 int len = 0;
216 sgroot->createFromXMLmemory(manager, data, len); 216 sgroot->createFromXMLfile(manager, "xml_file/chain.xml");
217 //sgroot->createFromXMLmemory(manager, "xml_file/chain.xml");
218 217
219 /* SPE に送る property の配列の領域確保 */ 218 /* SPE に送る property の配列の領域確保 */
220 properties[0] = (ChainPropertyPtr)manager->allocate(sizeof(ChainProperty)*CHAIN_LEN); 219 properties[0] = (ChainPropertyPtr)manager->allocate(sizeof(ChainProperty)*CHAIN_LEN);
221 properties[1] = (ChainPropertyPtr)manager->allocate(sizeof(ChainProperty)*CHAIN_LEN); 220 properties[1] = (ChainPropertyPtr)manager->allocate(sizeof(ChainProperty)*CHAIN_LEN);
222 property = properties[0]; 221 property = properties[0];