Ticket #97 (closed enhancement: fixed)

Opened 6 years ago

Last modified 5 years ago

Complete ossieComponent class

Reported by: balister Owned by: cdietric
Priority: major Milestone: Release 0.8.0
Component: component Version: trunk
Keywords: Cc:

Description

ossieComponent tries to hide the component startup and shutdown code from the component writer. It is not complete.

  • Try to move as much code as possible into the class.
  • Create class hierarchy to support resources, devices, and (possibly) resource factory based components.

This work should also resolve ticket #34.

Change History

Changed 5 years ago by balister

I wrote a template class that may be used to replace the code we have been using in the component main.cpp code. The template is in r6159 , the file is ossieResource.h. I botched the checkin message.

I updated the ossie demo components to use this template in r6160, r6161, and r6162,

I also refactored Resource_impl to use pure virtual functions for components, rather than supply empty methods. This should make it clearer what methods the component writer is responsible for. There is the added benefit of not running so many constructors when you create a resource.

If there are no comments, I will close this ticket in a few days.

Changed 5 years ago by balister

  • status changed from new to closed
  • resolution set to fixed

Closing as there have been no further comments.

Note: See TracTickets for help on using tickets.