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

#include <webdriver_session.h>

Inheritance diagram for webdriver::SessionLifeCycleActions:
Collaboration diagram for webdriver::SessionLifeCycleActions:

Public Member Functions

 SessionLifeCycleActions (Session *session)
 
virtual ~SessionLifeCycleActions ()
 
virtual ErrorPostInit (const base::DictionaryValue *desired_capabilities_dict, const base::DictionaryValue *required_capabilities_dict)
 
virtual void BeforeTerminate (void)
 

Static Public Member Functions

static SessionLifeCycleActionsCreateLifeCycleActions (Session *session)
 
template<class C >
static void RegisterCustomLifeCycleActions (void)
 

Protected Types

typedef SessionLifeCycleActions *(* CreateLifeCycleActionsMethod )(Session *)
 

Static Protected Member Functions

template<class C >
static SessionLifeCycleActionscreateLifeCycleActions (Session *session)
 

Protected Attributes

Sessionsession_
 

Static Protected Attributes

static CreateLifeCycleActionsMethod create
 

Detailed Description

base class for session lifecycle actions. Contains default imlementation.

Member Typedef Documentation

typedef SessionLifeCycleActions*(* webdriver::SessionLifeCycleActions::CreateLifeCycleActionsMethod)(Session *)
protected

Constructor & Destructor Documentation

webdriver::SessionLifeCycleActions::SessionLifeCycleActions ( Session session)
virtual webdriver::SessionLifeCycleActions::~SessionLifeCycleActions ( )
inlinevirtual

Member Function Documentation

virtual void webdriver::SessionLifeCycleActions::BeforeTerminate ( void  )
virtual

action before session terminated.

Reimplemented in webdriver::QSessionLifeCycleActions.

static SessionLifeCycleActions* webdriver::SessionLifeCycleActions::CreateLifeCycleActions ( Session session)
static
template<class C >
static SessionLifeCycleActions* webdriver::SessionLifeCycleActions::createLifeCycleActions ( Session session)
inlinestaticprotected
virtual Error* webdriver::SessionLifeCycleActions::PostInit ( const base::DictionaryValue *  desired_capabilities_dict,
const base::DictionaryValue *  required_capabilities_dict 
)
virtual

action after usual session Init().

Reimplemented in webdriver::QSessionLifeCycleActions.

template<class C >
static void webdriver::SessionLifeCycleActions::RegisterCustomLifeCycleActions ( void  )
inlinestatic

Register custom SessionLifeCycleActions.

Template Parameters
Csubclass of SessionLifeCycleActions with custom implementation

Member Data Documentation

CreateLifeCycleActionsMethod webdriver::SessionLifeCycleActions::create
staticprotected
Session* webdriver::SessionLifeCycleActions::session_
protected

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