/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions
UserBufFactory Class Reference

#include <UserBufFactory.h>

List of all members.

Public Member Functions

 UserBufFactory (const std::string &name, UserBuffer *(*creator)(const std::string &))

Detailed Description

Definition at line 7 of file UserBufFactory.h.


Constructor & Destructor Documentation

UserBufFactory::UserBufFactory ( const std::string &  name,
UserBuffer *(*)(const std::string &)  creator 
)

Definition at line 5 of file UserBufFactory.cc.

{
    typedef UserBuffer* (*BufferCreator)(const std::string&);

    std::map<std::string, BufferCreator>::iterator it = UserBufMgr::elementCreatorMap.find(name);
    if ( it != UserBufMgr::elementCreatorMap.end() ) {
        std::string msg = std::string("Duplicated EvtSelector definition: ") + name;
        throw LafException(msg);
    }
    UserBufMgr::elementCreatorMap.insert(std::make_pair<std::string, BufferCreator>(name, creator));
}

The documentation for this class was generated from the following files:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:50:18 for LafKernel by doxygen 1.7.4