Public Member Functions | Private Attributes
rviz::MockContext Class Reference

#include <mock_context.h>

Inheritance diagram for rviz::MockContext:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual uint32_t getDefaultVisibilityBit () const
virtual DisplayFactorygetDisplayFactory () const
 Return a factory for creating Display subclasses based on a class id string.
virtual QString getFixedFrame () const
 Return the fixed frame name.
virtual uint64_t getFrameCount () const
 Return the current value of the frame count.
virtual FrameManagergetFrameManager () const
 Return the FrameManager instance.
virtual RenderPanelgetRenderPanel () const
virtual DisplayGroupgetRootDisplayGroup () const
virtual Ogre::SceneManager * getSceneManager () const
 Returns the Ogre::SceneManager used for the main RenderPanel.
virtual SelectionManagergetSelectionManager () const
 Return a pointer to the SelectionManager.
virtual tf::TransformListenergetTFClient () const
 Convenience function: returns getFrameManager()->getTFClient().
virtual
ros::CallbackQueueInterface
getThreadedQueue ()
 Return a CallbackQueue using a different thread than the main GUI one.
virtual ToolManagergetToolManager () const
 Return the ToolManager.
virtual
ros::CallbackQueueInterface
getUpdateQueue ()
 Return the CallbackQueue using the main GUI thread.
virtual ViewManagergetViewManager () const
 Return the ViewManager.
virtual WindowManagerInterfacegetWindowManager () const
 Return the window manager, if any.
virtual void handleChar (QKeyEvent *event, RenderPanel *panel)
 Handle a single key event for a given RenderPanel.
virtual void handleMouseEvent (const ViewportMouseEvent &event)
 Handle a mouse event.
 MockContext ()
virtual void queueRender ()
 Queues a render. Multiple calls before a render happens will only cause a single render.
virtual BitAllocatorvisibilityBits ()

Private Attributes

DisplayFactorydisplay_factory_

Detailed Description

Definition at line 37 of file mock_context.h.


Constructor & Destructor Documentation

Definition at line 37 of file mock_context.cpp.


Member Function Documentation

virtual uint32_t rviz::MockContext::getDefaultVisibilityBit ( ) const [inline, virtual]

Implements rviz::DisplayContext.

Definition at line 59 of file mock_context.h.

virtual DisplayFactory* rviz::MockContext::getDisplayFactory ( ) const [inline, virtual]

Return a factory for creating Display subclasses based on a class id string.

Implements rviz::DisplayContext.

Definition at line 50 of file mock_context.h.

virtual QString rviz::MockContext::getFixedFrame ( ) const [inline, virtual]

Return the fixed frame name.

Implements rviz::DisplayContext.

Definition at line 48 of file mock_context.h.

virtual uint64_t rviz::MockContext::getFrameCount ( ) const [inline, virtual]

Return the current value of the frame count.

The frame count is just a number which increments each time a frame is rendered. This lets clients check if a new frame has been rendered since the last time they did something.

Implements rviz::DisplayContext.

Definition at line 49 of file mock_context.h.

virtual FrameManager* rviz::MockContext::getFrameManager ( ) const [inline, virtual]

Return the FrameManager instance.

Implements rviz::DisplayContext.

Definition at line 45 of file mock_context.h.

virtual RenderPanel* rviz::MockContext::getRenderPanel ( ) const [inline, virtual]

Definition at line 57 of file mock_context.h.

virtual DisplayGroup* rviz::MockContext::getRootDisplayGroup ( ) const [inline, virtual]

Implements rviz::DisplayContext.

Definition at line 58 of file mock_context.h.

virtual Ogre::SceneManager* rviz::MockContext::getSceneManager ( ) const [inline, virtual]

Returns the Ogre::SceneManager used for the main RenderPanel.

Implements rviz::DisplayContext.

Definition at line 42 of file mock_context.h.

virtual SelectionManager* rviz::MockContext::getSelectionManager ( ) const [inline, virtual]

Return a pointer to the SelectionManager.

Implements rviz::DisplayContext.

Definition at line 44 of file mock_context.h.

virtual tf::TransformListener* rviz::MockContext::getTFClient ( ) const [inline, virtual]

Convenience function: returns getFrameManager()->getTFClient().

Implements rviz::DisplayContext.

Definition at line 46 of file mock_context.h.

Return a CallbackQueue using a different thread than the main GUI one.

Implements rviz::DisplayContext.

Definition at line 52 of file mock_context.h.

virtual ToolManager* rviz::MockContext::getToolManager ( ) const [inline, virtual]

Return the ToolManager.

Implements rviz::DisplayContext.

Definition at line 55 of file mock_context.h.

Return the CallbackQueue using the main GUI thread.

Implements rviz::DisplayContext.

Definition at line 51 of file mock_context.h.

virtual ViewManager* rviz::MockContext::getViewManager ( ) const [inline, virtual]

Return the ViewManager.

Implements rviz::DisplayContext.

Definition at line 56 of file mock_context.h.

virtual WindowManagerInterface* rviz::MockContext::getWindowManager ( ) const [inline, virtual]

Return the window manager, if any.

Implements rviz::DisplayContext.

Definition at line 43 of file mock_context.h.

virtual void rviz::MockContext::handleChar ( QKeyEvent *  event,
RenderPanel panel 
) [inline, virtual]

Handle a single key event for a given RenderPanel.

Implements rviz::DisplayContext.

Definition at line 53 of file mock_context.h.

virtual void rviz::MockContext::handleMouseEvent ( const ViewportMouseEvent event) [inline, virtual]

Handle a mouse event.

Implements rviz::DisplayContext.

Definition at line 54 of file mock_context.h.

virtual void rviz::MockContext::queueRender ( ) [inline, virtual]

Queues a render. Multiple calls before a render happens will only cause a single render.

Note:
This function can be called from any thread.

Implements rviz::DisplayContext.

Definition at line 47 of file mock_context.h.

virtual BitAllocator* rviz::MockContext::visibilityBits ( ) [inline, virtual]

Implements rviz::DisplayContext.

Definition at line 60 of file mock_context.h.


Member Data Documentation

Definition at line 62 of file mock_context.h.


The documentation for this class was generated from the following files:


rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust
autogenerated on Mon Oct 6 2014 07:26:37