1 // ANNA - Anna is Not Nothingness Anymore //
3 // (c) Copyright 2005-2015 Eduardo Ramos Testillano & Francisco Ruiz Rayo //
5 // See project site at http://redmine.teslayout.com/projects/anna-suite //
6 // See accompanying file LICENSE or copy at http://www.teslayout.com/projects/public/anna.LICENSE //
9 #ifndef anna_comm_handler_Allocator_hpp
10 #define anna_comm_handler_Allocator_hpp
20 template <typename _Handler> class Allocator {
22 static Communicator* st_communicator;
24 static _Handler* create()
26 return new _Handler(st_communicator);
28 static void destroy(_Handler* t) throw() { delete t; }