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

#include <quick2_view_executor.h>

Inheritance diagram for webdriver::Quick2ViewCmdExecutorCreator:
Collaboration diagram for webdriver::Quick2ViewCmdExecutorCreator:

Public Member Functions

 Quick2ViewCmdExecutorCreator ()
 
virtual ~Quick2ViewCmdExecutorCreator ()
 
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 QML_VIEW_TYPE
 

Constructor & Destructor Documentation

webdriver::Quick2ViewCmdExecutorCreator::Quick2ViewCmdExecutorCreator ( )
virtual webdriver::Quick2ViewCmdExecutorCreator::~Quick2ViewCmdExecutorCreator ( )
inlinevirtual

Member Function Documentation

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

Implements webdriver::ViewCmdExecutorCreator.

Member Data Documentation

const ViewType webdriver::Quick2ViewCmdExecutorCreator::QML_VIEW_TYPE
static

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