Public Member Functions | Private Attributes | List of all members
rviz::MockContext Class Reference

#include <mock_context.h>

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

Public Member Functions

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

Private Attributes

DisplayFactorydisplay_factory_
 

Additional Inherited Members

- Public Slots inherited from rviz::DisplayContext

Detailed Description

Definition at line 37 of file mock_context.h.

Constructor & Destructor Documentation

rviz::MockContext::MockContext ( )

Definition at line 37 of file mock_context.cpp.

Member Function Documentation

virtual uint32_t rviz::MockContext::getDefaultVisibilityBit ( ) const
inlinevirtual

Implements rviz::DisplayContext.

Definition at line 57 of file mock_context.h.

virtual DisplayFactory* rviz::MockContext::getDisplayFactory ( ) const
inlinevirtual

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

Implements rviz::DisplayContext.

Definition at line 49 of file mock_context.h.

virtual QString rviz::MockContext::getFixedFrame ( ) const
inlinevirtual

Return the fixed frame name.

Implements rviz::DisplayContext.

Definition at line 47 of file mock_context.h.

virtual uint64_t rviz::MockContext::getFrameCount ( ) const
inlinevirtual

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 48 of file mock_context.h.

virtual FrameManager* rviz::MockContext::getFrameManager ( ) const
inlinevirtual

Return the FrameManager instance.

Implements rviz::DisplayContext.

Definition at line 45 of file mock_context.h.

virtual DisplayGroup* rviz::MockContext::getRootDisplayGroup ( ) const
inlinevirtual

Implements rviz::DisplayContext.

Definition at line 56 of file mock_context.h.

virtual Ogre::SceneManager* rviz::MockContext::getSceneManager ( ) const
inlinevirtual

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
inlinevirtual

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
inlinevirtual

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

Implements rviz::DisplayContext.

Definition at line 46 of file mock_context.h.

virtual ros::CallbackQueueInterface* rviz::MockContext::getThreadedQueue ( )
inlinevirtual

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

Implements rviz::DisplayContext.

Definition at line 51 of file mock_context.h.

virtual ToolManager* rviz::MockContext::getToolManager ( ) const
inlinevirtual

Return the ToolManager.

Implements rviz::DisplayContext.

Definition at line 54 of file mock_context.h.

virtual ros::CallbackQueueInterface* rviz::MockContext::getUpdateQueue ( )
inlinevirtual

Return the CallbackQueue using the main GUI thread.

Implements rviz::DisplayContext.

Definition at line 50 of file mock_context.h.

virtual ViewManager* rviz::MockContext::getViewManager ( ) const
inlinevirtual

Return the ViewManager.

Implements rviz::DisplayContext.

Definition at line 55 of file mock_context.h.

virtual WindowManagerInterface* rviz::MockContext::getWindowManager ( ) const
inlinevirtual

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 
)
inlinevirtual

Handle a single key event for a given RenderPanel.

Implements rviz::DisplayContext.

Definition at line 52 of file mock_context.h.

virtual void rviz::MockContext::handleMouseEvent ( const ViewportMouseEvent event)
inlinevirtual

Handle a mouse event.

Implements rviz::DisplayContext.

Definition at line 53 of file mock_context.h.

virtual void rviz::MockContext::queueRender ( )
inlinevirtual

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 61 of file mock_context.h.

virtual void rviz::MockContext::setStatus ( const QString &  message)
inlinevirtual

Set the message displayed in the status bar

Implements rviz::DisplayContext.

Definition at line 59 of file mock_context.h.

virtual BitAllocator* rviz::MockContext::visibilityBits ( )
inlinevirtual

Implements rviz::DisplayContext.

Definition at line 58 of file mock_context.h.

Member Data Documentation

DisplayFactory* rviz::MockContext::display_factory_
private

Definition at line 64 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 Wed Aug 28 2019 04:01:53