Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added another FACE example with two topics #4607

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

AlexFalzone
Copy link

@AlexFalzone AlexFalzone commented Apr 29, 2024

Given the lack of examples with FACE, I thought it would be interesting and useful for everyone to have an example with more than one topic (two to be precise).
The steps for building and running are the same:
opendds_idl --idl-version 4 -GfaceTS -Lface StockQuoter.idl
tao_idl --idl-version 4 -I$DDS_ROOT -I$TAO_ROOT/orbsvcs StockQuoter.idl
tao_idl --idl-version 4 -I$DDS_ROOT -I$TAO_ROOT/orbsvcs StockQuoterTypeSupport.idl
mkdir build
cd build
cmake ..
make

and outside docker:
docker compose up

@AlexFalzone
Copy link
Author

If there is a problem about StockQuoterC.h

is necessary to add #include "orbsvcs/Time_Utilities.h" to it.

DevGuideExamples/FACE/two-topic/CMakeLists.txt Outdated Show resolved Hide resolved
DevGuideExamples/FACE/two-topic/CMakeLists.txt Outdated Show resolved Hide resolved
DevGuideExamples/FACE/two-topic/CMakeLists.txt Outdated Show resolved Hide resolved
DevGuideExamples/FACE/two-topic/CMakeLists.txt Outdated Show resolved Hide resolved
DevGuideExamples/FACE/two-topic/CMakeLists.txt Outdated Show resolved Hide resolved
DevGuideExamples/FACE/two-topic/Subscriber.cpp Outdated Show resolved Hide resolved
DevGuideExamples/FACE/two-topic/StockQuoter.idl Outdated Show resolved Hide resolved
DevGuideExamples/FACE/two-topic/rtps.ini Outdated Show resolved Hide resolved
DevGuideExamples/FACE/two-topic/CMakeLists.txt Outdated Show resolved Hide resolved
@iguessthislldo
Copy link
Member

If there is a problem about StockQuoterC.h

is necessary to add #include "orbsvcs/Time_Utilities.h" to it.

To StockQuoterC.h? I don't think so. What is the error you're seeing?

@mitza-oci mitza-oci changed the title Added another FACE's sample with two topic Added another FACE example with two topics Apr 30, 2024
cd build

cmake ..
make
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove the shell scripts, they shouldn't be needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants