|
NEOCCA bindings Specification
0.2.8
|
This is neoclassic – the ::classic::gov::cca headers updated to be similar to the official CCA specification in sidl while retaining the low impact on component coding that the classic specification had. More...
Namespaces | |
| cca | |
| support | |
This is neoclassic – the ::classic::gov::cca headers updated to be similar to the official CCA specification in sidl while retaining the low impact on component coding that the classic specification had.
The namespace for it is neo::cca to reduce the repetitive stress injuries on cca code writers.
The goal here is two-part:
We have chosen the boost::shared_ptr as the least annoying solution in the open-standards c++ world. Component writers accessing these (mostly little used) framework services may encounter shared_ptr. They should consult doc/README-memory.txt for tips on sensible usage.
Largely the names used are the same as in the classic version to reduce editing needed when converting to neo from classic. In a most cases, return codes nobody was checking anyway have been converted to exception throwing per the SIDL spec. A concrete exception class implementing the std::exception is thrown. A component may not support both classic and neo specifications in the same compilation, due to c++ overloading rules. It's possible, with appropriate #ifdef, to build either kind of component from the same source files, but why bother?
1.8.13