summaryrefslogtreecommitdiff
path: root/ACE/apps/JAWS3/jaws3/Event_Completer.h
blob: 26e2e4b9775f227adec119ab15a0f219be1218e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/* -*- c++ -*- */
#ifndef JAWS_EVENT_COMPLETER_H
#define JAWS_EVENT_COMPLETER_H

#include "jaws3/Export.h"
#include "jaws3/Event_Result.h"

class JAWS_Event_Completer;

class JAWS_Export JAWS_Event_Completer
// = TITLE
//     Event completion callback class.
{
public:

  virtual ~JAWS_Event_Completer (void);

  virtual void accept_complete (const JAWS_Event_Result &r, void *act = 0);
  // The callback entry point when input has been read.

  virtual void connect_complete (const JAWS_Event_Result &r, void *act = 0);
  // The callback entry point when input has been read.

  virtual void input_complete (const JAWS_Event_Result &r, void *act = 0);
  // The callback entry point when input has been read.

  virtual void output_complete (const JAWS_Event_Result &r, void *act = 0);
  // The callback entry point when output has been completely written.

  virtual void timer_complete (const JAWS_Event_Result &r, void *act = 0);
  // The callback entry point when timer has expired.

  virtual void lambda_complete (const JAWS_Event_Result &r, void *act = 0);
  // The callback entry point when a lambda event completes.

  virtual void default_complete (const JAWS_Event_Result &r, void *act = 0);
  // The defaul callback entry point when an event completes.

};

#endif /* JAWS_EVENT_COMPLETER_H */