Changeset 19652

Show
Ignore:
Timestamp:
12/13/06 11:49:00 (2 years ago)
Author:
patrick
Message:

Expose jccl::ConfigManager::shutdown() and gadget::InputManager::shutdown().
This requires JCCL 1.1.11 and Gadgeteer 1.1.20 respectively. Bumped
version to 1.1.12.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • PyJuggler/trunk/ChangeLog

    r19651 r19652  
    11DATE        AUTHOR      CHANGE 
    22----------- ----------- ------------------------------------------------------- 
     3Dec-13-2006 patrick     Exposed jccl::ConfigManager::shutdown() and 
     4                        gadget::InputManager::shutdown(). 
     5                        NEW VERSION: 1.1.12 
    36Dec-13-2006 patrick     gadget::BaseDeviceInterface::refreshAllDevices() was 
    47                        renamed to 
  • PyJuggler/trunk/configure.ac

    r19651 r19652  
    411411 
    412412VPR_PATH([1.1.20], , [AC_MSG_ERROR([*** VPR is required for PyJuggler ***])]) 
    413 JCCL_PATH_CXX([0.12], , 
     413JCCL_PATH_CXX([1.1.11], , 
    414414              [AC_MSG_ERROR([*** JCCL is required for PyJuggler ***])]) 
    415415SNX_PATH([0.5.0], , [AC_MSG_ERROR([*** Sonix is required for PyJuggler ***])]) 
  • PyJuggler/trunk/dist/__init__.py

    r19651 r19652  
    66__all__     = ["vrj", "cluster", "gadget", "snx", "jccl", "vpr"] 
    77__build__   = 1 
    8 __version__ = '1.1.11.%d' % __build__ 
     8__version__ = '1.1.12.%d' % __build__ 
    99__date__    = string.join(string.split('$Date$')[1:3], ' ') 
    1010__author__  = 'Patrick Hartling <patrick@infiscape.com>' 
  • PyJuggler/trunk/src/gadget/_InputManager.cpp

    r19610 r19652  
    200200           "True is returned if the device was configured and added." 
    201201      ) 
     202      .def("shutdown", &gadget::InputManager::shutdown, 
     203           "Shuts down all devices and proxies." 
     204      ) 
    202205      .def("resetAllDevicesAndProxies", 
    203206           &gadget::InputManager::resetAllDevicesAndProxies, 
  • PyJuggler/trunk/src/jccl/_ConfigManager.cpp

    r18525 r19652  
    130130           "jccl.ConfigElementHandler." 
    131131      ) 
     132      .def("shutdown", &jccl::ConfigManager::shutdown, 
     133           (args("attemptRemoval") = false), 
     134           "shutdown()\n" 
     135           "Shuts down the Configuration system. Removes all new, pending,\n" 
     136           "and active configuration elements.\n" 
     137           "Keyword arguments:\n" 
     138           "attemptRemoval -- If True, add all active config elements as\n" 
     139           "                  removals and attempt to reconfigure." 
     140      ) 
    132141      .def("instance", &jccl::ConfigManager::instance, 
    133142           return_value_policy< reference_existing_object >())