[openrtm-users 02415] Re: Deactivate RT-component from within a program

Ong Wee Hong owh @ ieee.org
2012年 1月 31日 (火) 23:22:30 JST


Thanks a lot for the clarification!

Regards
Hong

在 2012-1-31 下午11:01,"Ando Noriaki" <n-ando at aist.go.jp>写道:
>
> Hello
>
> Oh! It's my mistake.
>
> CORBA::is_nil(object) means the object's reference is invalid.
> # It's almost same as null pointer in C/C++ or Java.
>
> If CORBA::is_nil(object) == true, you cannot call any operations of the
object.
>
>
> 2012年1月31日22:16 Ong Wee Hong <owh at ieee.org>:
> > Thank you very much, Ando-san, Hajime-san.
> >
> > I had to invert the condition to !CORBA::is_nil(ec) to make it work.
> > Hope I am not doing anything wrong.  I don't exactly get the meaning of
> > CORBA::is_null(obj), however the document says it checks if the obj is
nil.
> >
> > Regards
> > Hong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.openrtm.org/pipermail/openrtm-users/attachments/20120131/fc61f806/attachment-0001.html>


openrtm-users メーリングリストの案内