|
WD
|
#include <webdriver_view_executor.h>
Public Types | |
| typedef std::vector< std::string > | SupportedViewTypesList |
Public Member Functions | |
| ViewCmdExecutor * | CreateExecutor (Session *session, ViewId viewId) const |
| template<class C > | |
| C * | CreateExecutor (Session *session, ViewId viewId) const |
| ViewCmdExecutor * | CreateExecutor (Session *session) const |
| bool | CanHandleView (Session *session, ViewId viewId, ViewType *viewType) const |
| void | AddViewCmdExecutorCreator (ViewCmdExecutorCreator *creator) |
| const SupportedViewTypesList & | getSupportedViewTypesList () const |
Static Public Member Functions | |
| static ViewCmdExecutorFactory * | GetInstance () |
This class used for managing commands related to view.
| typedef std::vector<std::string> webdriver::ViewCmdExecutorFactory::SupportedViewTypesList |
| void webdriver::ViewCmdExecutorFactory::AddViewCmdExecutorCreator | ( | ViewCmdExecutorCreator * | creator | ) |
add new view's eexcutor creator
| creator | pointer to custom creator. No need to delete object |
| bool webdriver::ViewCmdExecutorFactory::CanHandleView | ( | Session * | session, |
| ViewId | viewId, | ||
| ViewType * | viewType | ||
| ) | const |
check if view suppported
| session | pointer to session | |
| viewId | view to operate on | |
| [out] | viewType | returned type of view |
| ViewCmdExecutor* webdriver::ViewCmdExecutorFactory::CreateExecutor | ( | Session * | session, |
| ViewId | viewId | ||
| ) | const |
creates executor for specified view
| session | pointer to session |
| viewId | view to operate on |
|
inline |
| ViewCmdExecutor* webdriver::ViewCmdExecutorFactory::CreateExecutor | ( | Session * | session | ) | const |
creates executor for current view in session
| session | pointer to session |
|
static |
Returns the singleton instance.
| const SupportedViewTypesList& webdriver::ViewCmdExecutorFactory::getSupportedViewTypesList | ( | ) | const |