summaryrefslogtreecommitdiff
path: root/TAO/examples/Simple/time-date/Time_Date_i.h
blob: 4ce9bbd0c42d97cb4bf687304688d8de952370f2 (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
42
43
44
45
46
47
// -*- C++ -*-

//=============================================================================
/**
 *  @file    Time_Date_i.h
 *
 *  This class implements the Time_Date IDL interface.
 *
 *  @author Douglas C. Schmidt <d.schmidt@vanderbilt.edu> and Michael Kircher.
 */
//=============================================================================


#ifndef TIME_DATE_I_H
#define TIME_DATE_I_H

#include "Time_DateS.h"

class Time_Date_i
  : public POA_Time_Date
{
  // = TITLE
  //    Time_Date object implementation.
  //
  // = DESCRIPTION
  //    Time_Date object implementation
public:
  // = Initialization and termination methods.

  /// Obtain the time and date in binary format.
  virtual void bin_date (CORBA::Long_out time_date);

  /// Obtain the time and date in string format.
  virtual void str_date (CORBA::String_out time_date);

  /// Shutdown the server.
  virtual void shutdown (void);

  /// ORB pointer.
  void orb (CORBA::ORB_ptr orb_ptr);

private:
  /// ORB pointer.
  CORBA::ORB_var orb_var_;
};

#endif /* TIME_DATE_I_H */