Show
Ignore:
Timestamp:
11/26/14 21:40:57 (18 hours ago)
Author:
robert
Message:

From Jason Beverage, "It looks like the Callback header got accidentally removed from the CMakeLists.txt in the submission yesterday for the geometry instancing example."

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osgViewer/View

    r13053 r13172  
    2525#include <osgGA/EventVisitor> 
    2626#include <osgGA/EventQueue> 
     27#include <osgGA/Device> 
    2728 
    2829#include <osgViewer/Scene> 
     
    109110        const osgDB::ImagePager* getImagePager() const; 
    110111 
     112        
     113        /** Add a Device. 
     114         * The Device is polled on each new frame via it's Device::checkEvents() method and any events generated then collected via Device::getEventQueue()*/ 
     115        void addDevice(osgGA::Device* eventSource); 
     116 
     117        /** Remove a Device. /*/ 
     118        void removeDevice(osgGA::Device* eventSource); 
     119 
     120        typedef std::vector< osg::ref_ptr<osgGA::Device> > Devices; 
     121 
     122        Devices& getDevices() { return _eventSources; } 
     123        const Devices& getDevices() const { return _eventSources; } 
     124 
    111125 
    112126        /* Set the EventQueue that the View uses to integrate external non window related events.*/ 
     
    251265        osg::Timer_t                            _startTick; 
    252266 
     267        Devices                            _eventSources; 
     268 
    253269        osg::ref_ptr<osgViewer::Scene>          _scene; 
    254270        osg::ref_ptr<osgGA::EventQueue>         _eventQueue;