GithubHelp home page GithubHelp logo

remedyit / ciaox11 Goto Github PK

View Code? Open in Web Editor NEW
10.0 4.0 2.0 7.46 MB

Lightweight CORBA Component Model (LwCCM) implementation supporting the IDL to C++11 Language Mapping

Home Page: https://www.axcioma.org

License: MIT License

Ruby 6.06% R 0.10% HTML 2.04% C++ 78.72% C 0.21% Perl 12.86% IDL 0.01% Shell 0.01% Batchfile 0.01% Makefile 0.02%
dds corba lwccm middleware component deployment idl zeromq dds4ccm ami4ccm

ciaox11's People

Contributors

code-factor avatar dependabot[bot] avatar jwillemsen avatar mcorino avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ciaox11's Issues

DDS::InstanceHandle_t not guaranteed to be process wide unique

Within DDSX11 there are several administrations to match native DDS entities with their related DDSX11 proxy. This administration is done based on DDS::InstanceHandle_t but we found that this is not guaranteed to be process wide unique. It could happen that there are multiple DDS entities having the same DDS::InstanceHandle_t within the same process. We raised an issue at the OMG to get this clarified in the specification.

Because we are using the IDL to C++ language mapping from the native DDS vendor we can use the pointer to the native DDS entities, that pointer is unique within the same process.

With OpenDDS the DDS::InstanceHandle_t is unique within the domain participant, it is a int32_t counter that starts with 1 and is incremented when a new InstanceHandle_t is needed. In my test each domain participant gets the InstanceHandle_t 6, the handles 1-5 are used for the builtin entities related to that DomainParticipant

undefined method `to_random_include_guard' error

Product
AXCIOMA

Version
AXCIOMA 2.1

Describe the bug
Using

To Reproduce
Compile in examples/shapes_asm/ports the shapes_shapetype_msg.idl without an export include, for example

../../../../../../bin/ridlc -Wb,pre_include=ace/pre.h -Wb,post_include=ace/post.h -I/home/johnny/ACE/axcioma/taox11  -Sci -Ssi -Sa -St -Gddsx11,adds  -I../../../../../ddsx11/vendors/ndds/idl -I../../../../.. -SS -Ssh -Scc -Sch -Scp -Scdr  -I. -Ibuild -Igenerated_code -Gos -o generated_code shapes_shapetype_msg.idl -v -v -v

Expected behavior
No error, a missing typesupport export could lead to unresolved symbols when other shared libraries would use a symbold that is not exported

Output

RIDL - processing input
undefined method `to_random_include_guard' for nil:NilClass
/home/johnny/ACE/axcioma/taox11/ridlbe/c++11/writers/exportheader.rb:30:in `initialize'
/home/johnny/ACE/axcioma/ciaox11/ridlbe/ccmx11/facets/dds/config.rb:197:in `new'
/home/johnny/ACE/axcioma/ciaox11/ridlbe/ccmx11/facets/dds/config.rb:197:in `gen_typesupport_export'
/home/johnny/ACE/axcioma/ciaox11/ridlbe/ccmx11/facets/dds/config.rb:217:in `gen_impl_for_type_support'
/home/johnny/ACE/axcioma/ciaox11/ridlbe/ccmx11/facets/dds/config.rb:104:in `block (2 levels) in <module:DDSX11>'
/home/johnny/ACE/axcioma/taox11/ridlbe/base/config/facet.rb:170:in `process_input'
/home/johnny/ACE/axcioma/taox11/ridlbe/base/config/facet.rb:385:in `block in process_input_with_facets'
/home/johnny/ACE/axcioma/taox11/ridlbe/base/config/facet.rb:385:in `each'
/home/johnny/ACE/axcioma/taox11/ridlbe/base/config/facet.rb:385:in `process_input_with_facets'
/home/johnny/ACE/axcioma/ridl/lib/ridl/runner.rb:204:in `block in run'
/home/johnny/ACE/axcioma/ridl/lib/ridl/genfile.rb:56:in `transaction'
/home/johnny/ACE/axcioma/ridl/lib/ridl/runner.rb:201:in `run'
/home/johnny/ACE/axcioma/ridl/lib/ridl/runner.rb:501:in `run'
../../../../../../bin/ridlc:31:in `<main>'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.