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

#include <webdriver_view_executor.h>

Inheritance diagram for webdriver::ViewCmdExecutorCreator:

Public Member Functions

 ViewCmdExecutorCreator ()
 
virtual ~ViewCmdExecutorCreator ()
 
virtual ViewCmdExecutorCreateExecutor (Session *session, ViewId viewId) const =0
 
virtual bool CanHandleView (Session *session, ViewId viewId, ViewType *viewType=NULL) const =0
 
virtual std::string GetViewTypeName () const =0
 

Detailed Description

base class for custom cmd executor creators

Constructor & Destructor Documentation

webdriver::ViewCmdExecutorCreator::ViewCmdExecutorCreator ( )
virtual webdriver::ViewCmdExecutorCreator::~ViewCmdExecutorCreator ( )
inlinevirtual

Member Function Documentation

virtual bool webdriver::ViewCmdExecutorCreator::CanHandleView ( Session session,
ViewId  viewId,
ViewType viewType = NULL 
) const
pure 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

Implemented in webdriver::QWebViewCmdExecutorCreator, webdriver::QmlWebViewCmdExecutorCreator, webdriver::GraphicsWebViewCmdExecutorCreator, webdriver::QQmlViewCmdExecutorCreator, webdriver::Quick2ViewCmdExecutorCreator, and webdriver::QWidgetViewCmdExecutorCreator.

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

custom method, creates executor for specified view

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

Implemented in webdriver::QWebViewCmdExecutorCreator, webdriver::QmlWebViewCmdExecutorCreator, webdriver::GraphicsWebViewCmdExecutorCreator, webdriver::QQmlViewCmdExecutorCreator, webdriver::Quick2ViewCmdExecutorCreator, and webdriver::QWidgetViewCmdExecutorCreator.

virtual std::string webdriver::ViewCmdExecutorCreator::GetViewTypeName ( ) const
pure virtual

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