Tasks #2011

Update examples and documentation to use rsc::misc::{waitForSignal,lastArrivedSignal}

Added by J. Moringen over 6 years ago. Updated over 6 years ago.

Status:ResolvedStart date:09/19/2014
Priority:HighDue date:
Assignee:J. Moringen% Done:

100%

Category:Documentation
Target version:rsb-0.11

Related issues

Related to Robotics Systems Commons - Feature #2007: Provide a mechanism for waiting until a termination reque... Resolved 09/16/2014

Associated revisions

Revision a3512117
Added by J. Moringen over 6 years ago

Use rsc::misc::{waitForSignal,hasSignalArrived} in examples/**/*.cpp

refs #2011

  • examples/inter_transport/inprocess-and-socket.cpp (header): updated
    copyright
    (main): use rsc::misc::waitForSignal
  • examples/inter_transport/socket-only.cpp (header): updated copyright
    (main): use rsc::misc::waitForSignal
  • examples/listener/listener.cpp (header): updated copyright
    (main): use rsc::misc::waitForSignal
  • examples/listener/receiveFile.cpp (main): likewise
  • examples/meta_data/receiver.cpp (header): updated copyright
    (main): use rsc::misc::waitForSignal
  • examples/protobuf_converter/receiver.cpp (header): updated copyright
    (main): use rsc::misc::waitForSignal
  • examples/queue_processing/queueprocessing.cpp (main): use
    rsc::misc::hasSignalArrived
  • examples/reader/reader.cpp (header): updated copyright
    (main): use rsc::misc::hasSignalArrived
  • examples/rosetta_converter/receiver.cpp (header): updated copyright
    (main): use rsc::misc::waitForSignal

Revision a7e2fffc
Added by J. Moringen over 6 years ago

Use RSC SignalWaiter mechanism in examples/**/*.cpp

fixes #2011

  • examples/queue_processing/queueprocessing.cpp: use SignalWaiter for
    waiting and return value
  • examples/reader/reader.cpp: likewise
  • examples/server/server.cpp: likewise
  • examples/timed_informer/informer.cpp: likewise

History

#1 Updated by J. Moringen over 6 years ago

  • % Done changed from 0 to 50

#2 Updated by J. Moringen over 6 years ago

  • Related to Feature #2007: Provide a mechanism for waiting until a termination request (e.g. SIGINT) arrives added

#3 Updated by J. Moringen over 6 years ago

  • Subject changed from Update examples and documentation to use rsc::misc::{waitForSignal,hasSignalArrived} to Update examples and documentation to use rsc::misc::{waitForSignal,lastArrivedSignal}

#4 Updated by J. Wienke over 6 years ago

Actually I already fixed compilation for some of the binaries after the API change. I probably forgot to add this issue as a reference.

#5 Updated by S. Wrede over 6 years ago

  • Priority changed from Normal to High

#6 Updated by J. Wienke over 6 years ago

Does anyone remember what is still missing here?

#7 Updated by J. Moringen over 6 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 50 to 100

Also available in: Atom PDF