[prev in list] [next in list] [prev in thread] [next in thread] 

List:       orocos-dev
Subject:    [Orocos-Dev] trunk: Fixed CompletionProcessor compilation
From:       peter.soetens () fmtc ! be (Peter Soetens)
Date:       2006-04-10 14:37:23
Message-ID: 200604101435.52694.peter.soetens () fmtc ! be
[Download RAW message or body]

Hi,

Some previous cleanups in the 'cdl' logic caused the CP not to be enabled 
automatically by the build system. I've removed the 'enable' option and the 
CP builds now always. This will break existing configurations, so you'll have 
to make new_package, use configtool or fiddle with the ecc files.

Index: events/current/cdl/events.cdl
===================================================================
--- events/current/cdl/events.cdl       (revision 4603)
+++ events/current/cdl/events.cdl       (revision 4604)
@@ -10,27 +10,18 @@
     requires OROPKG_CORELIB

     implements OROINT_CORELIB_EVENT_INTERFACE
+    implements OROINT_CORELIB_COMPLETION_INTERFACE

     compile EventProcessor.cxx
     compile signal_base.cxx
     compile Handle.cxx
+    compile CompletionProcessor.cxx

-    cdl_option OROSEM_CORELIB_EVENTS_ASYN {
-       display "Enable asynchronous event completion."
-       description "
-This means a part of the event (called the completion)
-can be deferred to another thread."
-       flavor bool
-       compile CompletionProcessor.cxx
-       implements OROINT_CORELIB_COMPLETION_INTERFACE
-    }
-
     cdl_component OROPKG_CORELIB_EVENTS_CP {
        display "Completion Processor Properties"
        description "
 The Completion Processor is a thread which processes
 periodically deferred completion requests of events."
-        active_if OROSEM_CORELIB_EVENTS_ASYN
        flavor none

         cdl_option OROSEM_CORELIB_EVENTS_AUTOSTART {
@@ -41,7 +32,7 @@
 no longer have to do so."
            flavor bool
            default_value 1
-    }
+        }

        cdl_option ORODAT_CORELIB_EVENTS_CP_NAME {
            display "The name of the completion processor"



Peter
-- 
Peter Soetens -- FMTC -- <http://www.fmtc.be>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic