[Ace-users] Re: [ciao-users] Cast an object executor to a CCMObject
on CIAO 0.5.9
gan.deng at vanderbilt.edu
Mon Aug 6 14:01:20 CDT 2007
> The context_ attribute of the component is protected. Do I have to
> modify the executor adding a method to allow access to the context_
> inside the facet method? Something like implementing a get_context()
> method in the component executor? Is that the best way to do that?
Which code needs to access the <context_> attribute? If it is within the
component executor, then you can simply access it just like a normal C++
instance variable. Otherwise, you can create your own "accessor" method
like you described above.
More information about the Ace-users