WD
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
webdriver::GraphicsWebViewCmdExecutorCreator Class Reference

#include <graphics_web_view_executor.h>

Inheritance diagram for webdriver::GraphicsWebViewCmdExecutorCreator:
Collaboration diagram for webdriver::GraphicsWebViewCmdExecutorCreator:

Public Member Functions

 GraphicsWebViewCmdExecutorCreator ()
 
virtual ~GraphicsWebViewCmdExecutorCreator ()
 
virtual ViewCmdExecutorCreateExecutor (Session *session, ViewId viewId) const
 
virtual bool CanHandleView (Session *session, ViewId viewId, ViewType *viewType=NULL) const
 
virtual std::string GetViewTypeName () const
 
- Public Member Functions inherited from webdriver::ViewCmdExecutorCreator
 ViewCmdExecutorCreator ()
 
virtual ~ViewCmdExecutorCreator ()
 

Static Public Attributes

static const ViewType GRAPHICS_WEB_VIEW_TYPE
 

Constructor & Destructor Documentation

webdriver::GraphicsWebViewCmdExecutorCreator::GraphicsWebViewCmdExecutorCreator ( )
virtual webdriver::GraphicsWebViewCmdExecutorCreator::~GraphicsWebViewCmdExecutorCreator ( )
virtual

Member Function Documentation

virtual bool webdriver::GraphicsWebViewCmdExecutorCreator::CanHandleView ( Session session,
ViewId  viewId,
ViewType viewType = NULL 
) const
virtual

check if view suppported

Parameters
sessionpointer to session
viewIdview to operate on
[out]viewTypereturned type of view
Returns
true - if there is executor for such view

Implements webdriver::ViewCmdExecutorCreator.

virtual ViewCmdExecutor* webdriver::GraphicsWebViewCmdExecutorCreator::CreateExecutor ( Session session,
ViewId  viewId 
) const
virtual

custom method, creates executor for specified view

Parameters
sessionpointer to session
viewIdview to operate on
Returns
new ViewCmdExecutor object, NULL - if cant handle

Implements webdriver::ViewCmdExecutorCreator.

virtual std::string webdriver::GraphicsWebViewCmdExecutorCreator::GetViewTypeName ( ) const
virtual
Returns
supported view type for current executor

Implements webdriver::ViewCmdExecutorCreator.

Member Data Documentation

const ViewType webdriver::GraphicsWebViewCmdExecutorCreator::GRAPHICS_WEB_VIEW_TYPE
static

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