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

#include <widget_view_executor.h>

Inheritance diagram for webdriver::QWidgetViewCmdExecutorCreator:
Collaboration diagram for webdriver::QWidgetViewCmdExecutorCreator:

Public Member Functions

 QWidgetViewCmdExecutorCreator ()
 
virtual ~QWidgetViewCmdExecutorCreator ()
 
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 WIDGET_VIEW_TYPE
 

Constructor & Destructor Documentation

webdriver::QWidgetViewCmdExecutorCreator::QWidgetViewCmdExecutorCreator ( )
virtual webdriver::QWidgetViewCmdExecutorCreator::~QWidgetViewCmdExecutorCreator ( )
inlinevirtual

Member Function Documentation

virtual bool webdriver::QWidgetViewCmdExecutorCreator::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::QWidgetViewCmdExecutorCreator::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::QWidgetViewCmdExecutorCreator::GetViewTypeName ( ) const
virtual
Returns
supported view type for current executor

Implements webdriver::ViewCmdExecutorCreator.

Member Data Documentation

const ViewType webdriver::QWidgetViewCmdExecutorCreator::WIDGET_VIEW_TYPE
static

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