Yes, PocoCapsule is used for realizing the dependency injection functionality. 
As you might have seen, contrary to the SCA Spec for C++ Trentino doesn't 
enforce the usage of service location APIs and instead is fully non-invasive. 
You can also have a look on the overview of Trentino's architecture (and the 
placement of PocoCapsule in the overall context) here: 
http://sourceforge.net/apps/trac/trentino/wiki/TrentinoArchitectureOverview. 
Some details of the description are out of date (because of recent 
modifications) but the main idea is still valid. 

Regards,
Konstantin 


-----Ursprüngliche Nachricht-----
Von: Giorgio Zoppi [mailto:[email protected]] 
Gesendet: Donnerstag, 13. Oktober 2011 10:43
An: [email protected]
Betreff: Re: Cloud enabled devices.

2011/10/12 Sokolov, Konstantin (ext) <[email protected]>:
> The use of RTTI in Trentino is limited to only two places where a 
> dynamic_cast is used. This is done mostly for esthetic reasons (prefer C++ 
> style casts over C Style casts) and could be easily avoided. The entire 
> logging/log4cxx stuff can be controlled/turned off by preprocessor means. The 
> exceptions issue is somewhat more complicated because exceptions are widely 
> used across the source code, so getting rid of them means a lot of redesign. 
> But nothing is impossible ;-)

Sounds good and mature. Skimming the code is readable and well written.
Do you use PocoCapsule?

Reply via email to