janarbek
2007-10-05 10:53:05 UTC
Dear all,
As I mentioned in my previous post I want to get the sequence <short> type in my IDL to the vector in my C++ code.
typedef sequence<short> seqShort;
interface shortSeqTestServer {
void setSize(inout short size);
void acceptType(inout seqShort value);
seqShort returnType();
};
Then in C++,
vector<CORBA::Short> testPattern;
testPattern.resize(dummy, (short)5);
testPattern = (myObject->returnType());
Is this possible?
==================================================================================================================================================================
Janarbek, Researcher.
Software Robot Research Team, ETRI(Electronics and Telecommunications Research Institute)
161 Kajong-Dong, Yusong-Gu, TAEJON, 305-350, KOREA
Email : ***@etri.re.kr
Phone : 82-42-860-1838
Fax : 82-42-860-6790
Cell Phone: 82-10-8692-8103
===================================================================================================================================================================
---------------------------------
Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20071004/0244ed34/attachment-0001.htm
As I mentioned in my previous post I want to get the sequence <short> type in my IDL to the vector in my C++ code.
typedef sequence<short> seqShort;
interface shortSeqTestServer {
void setSize(inout short size);
void acceptType(inout seqShort value);
seqShort returnType();
};
Then in C++,
vector<CORBA::Short> testPattern;
testPattern.resize(dummy, (short)5);
testPattern = (myObject->returnType());
Is this possible?
==================================================================================================================================================================
Janarbek, Researcher.
Software Robot Research Team, ETRI(Electronics and Telecommunications Research Institute)
161 Kajong-Dong, Yusong-Gu, TAEJON, 305-350, KOREA
Email : ***@etri.re.kr
Phone : 82-42-860-1838
Fax : 82-42-860-6790
Cell Phone: 82-10-8692-8103
===================================================================================================================================================================
---------------------------------
Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20071004/0244ed34/attachment-0001.htm