creates Action using supplied Action::Create method and command More...

Inheritance diagram for ClassActionCreator:
Collaboration diagram for ClassActionCreator:

Public Types

typedef Mgr::Action::Pointer Handler(const Mgr::Command::Pointer &cmd)
 
typedef RefCount< ActionCreator > Pointer
 

Public Member Functions

 ClassActionCreator (Handler *aHandler)
 
Mgr::Action::Pointer create (const Mgr::Command::Pointer &cmd) const override
 returns a pointer to the new Action object for cmd; never nil More...
 

Private Attributes

Handlerhandler
 

Detailed Description

Definition at line 48 of file cache_manager.cc.

Member Typedef Documentation

◆ Handler

typedef Mgr::Action::Pointer ClassActionCreator::Handler(const Mgr::Command::Pointer &cmd)

Definition at line 51 of file cache_manager.cc.

◆ Pointer

typedef RefCount<ActionCreator> Mgr::ActionCreator::Pointer
inherited

Definition at line 26 of file ActionCreator.h.

Constructor & Destructor Documentation

◆ ClassActionCreator()

ClassActionCreator::ClassActionCreator ( Handler aHandler)
inline

Definition at line 54 of file cache_manager.cc.

Member Function Documentation

◆ create()

Mgr::Action::Pointer ClassActionCreator::create ( const Mgr::Command::Pointer cmd) const
inlineoverridevirtual

Implements Mgr::ActionCreator.

Definition at line 56 of file cache_manager.cc.

References handler.

Member Data Documentation

◆ handler

Handler* ClassActionCreator::handler
private

Definition at line 61 of file cache_manager.cc.

Referenced by create().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors