~ubuntu-branches/ubuntu/breezy/ace/breezy

« back to all changes in this revision

Viewing changes to TAO/orbsvcs/orbsvcs/Notify/Timer.h

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad, Benjamin Montgomery, Adam Conrad
  • Date: 2005-09-18 22:51:38 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 sarge) (0.1.2 woody)
  • Revision ID: james.westby@ubuntu.com-20050918225138-seav22q6fyylb536
Tags: 5.4.7-3ubuntu1
[ Benjamin Montgomery ]
* Added a patch for amd64 and powerpc that disables the compiler
  option -fvisibility-inlines-hidden

[ Adam Conrad ]
* Added DPATCH_OPTION_CPP=1 to debian/patches/00options to make
  Benjamin's above changes work correctly with dpatch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- C++ -*- */
2
 
/**
3
 
 *  @file Timer.h
4
 
 *
5
 
 *  Timer.h,v 1.5 2003/07/21 23:51:32 dhinton Exp
6
 
 *
7
 
 *  @author Pradeep Gore <pradeep@oomworks.com>
8
 
 *
9
 
 *
10
 
 */
11
 
 
12
 
#ifndef TAO_Notify_TIMER_H
13
 
#define TAO_Notify_TIMER_H
14
 
#include /**/ "ace/pre.h"
15
 
 
16
 
#include "notify_export.h"
17
 
 
18
 
#if !defined (ACE_LACKS_PRAGMA_ONCE)
19
 
# pragma once
20
 
#endif /* ACE_LACKS_PRAGMA_ONCE */
21
 
 
22
 
#include "ace/Time_Value.h"
23
 
#include "Refcountable.h"
24
 
 
25
 
class ACE_Event_Handler;
26
 
 
27
 
/**
28
 
 * @class TAO_Notify_Timer
29
 
 *
30
 
 * @brief Interface for scheduling timers.
31
 
 *
32
 
 */
33
 
class TAO_Notify_Export TAO_Notify_Timer : public TAO_Notify_Refcountable
34
 
{
35
 
public:
36
 
  /// Destructor
37
 
  virtual ~TAO_Notify_Timer (){};
38
 
 
39
 
  /// Schedule a timer
40
 
  virtual long schedule_timer (ACE_Event_Handler *handler,
41
 
                               const ACE_Time_Value &delay_time,
42
 
                               const ACE_Time_Value &interval) = 0;
43
 
 
44
 
  /// Cancel Timer
45
 
  virtual int cancel_timer (long timer_id) = 0;
46
 
};
47
 
 
48
 
#include /**/ "ace/post.h"
49
 
#endif /* TAO_Notify_TIMER_H */