~registry/scalestack/trunk

« back to all changes in this revision

Viewing changes to scalestack/event/test/handler_service.h

  • Committer: Eric Day
  • Date: 2010-07-02 04:33:01 UTC
  • mfrom: (56.1.4)
  • Revision ID: git-v1:1084ed00d423bd6296f3362ba35e6781eca9233a
Merged style-updates branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Scale Stack
 
3
 *
 
4
 * Copyright (C) 2010 Eric Day (eday@oddments.org)
 
5
 * All rights reserved.
 
6
 *
 
7
 * Use and distribution licensed under the BSD license. See the
 
8
 * COPYING file in the root project directory for full text.
 
9
 */
 
10
 
 
11
/**
 
12
 * @file
 
13
 * @brief Event Test Service Declarations
 
14
 */
 
15
 
 
16
#ifndef SCALESTACK_EVENT_TEST_HANDLER_SERVICE_H
 
17
#define SCALESTACK_EVENT_TEST_HANDLER_SERVICE_H
 
18
 
 
19
#include <scalestack/common/macros.h>
 
20
#include <scalestack/event/handler_service.h>
 
21
 
 
22
namespace scalestack
 
23
{
 
24
namespace event
 
25
{
 
26
namespace test
 
27
{
 
28
 
 
29
class SCALESTACK_API handler_service: public event::handler_service
 
30
{
 
31
public:
 
32
 
 
33
  handler_service(kernel::module& module);
 
34
 
 
35
  ~handler_service();
 
36
 
 
37
  /**
 
38
   * See event::handler_service::remove_handler().
 
39
   */
 
40
  void remove_handler(event::handler* handler);
 
41
 
 
42
private:
 
43
 
 
44
  /**
 
45
   * Don't allow copying of objects.
 
46
   */
 
47
  SCALESTACK_LOCAL
 
48
  handler_service(const handler_service&);
 
49
 
 
50
  /**
 
51
   * Don't allow assignment of objects.
 
52
   */
 
53
  SCALESTACK_LOCAL
 
54
  handler_service& operator=(const handler_service&);
 
55
};
 
56
 
 
57
} /* namespace test */
 
58
} /* namespace event */
 
59
} /* namespace scalestack */
 
60
 
 
61
#endif /* SCALESTACK_EVENT_TEST_HANDLER_SERVICE_H */