Line data Source code
1 : //
2 : // Author: Vladimir Migashko <migashko@gmail.com>, (C) 2013-2015
3 : //
4 : // Copyright: See COPYING file that comes with this distribution
5 : //
6 :
7 : #pragma once
8 :
9 : #include <wfc/domain_object.hpp>
10 : #include <hash/domain/hash_config.hpp>
11 : #include <hash/ihash.hpp>
12 :
13 : namespace demo{ namespace hash{
14 :
15 1 : class hash_domain
16 : : public ::wfc::domain_object<ihash, hash_config>
17 : {
18 : public:
19 : virtual void configure() override;
20 : virtual void reconfigure() override;
21 : virtual void reconfigure_basic() override;
22 : virtual void initialize() override;
23 : virtual void perform_io(data_ptr d, io_id_t, output_handler_t handler) override;
24 : virtual void get_hash( request::get_hash::ptr req, response::get_hash::handler cb ) override;
25 : };
26 :
27 : }}
|