IntegrationTI.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2004 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/Base/Classes/Pulsar/IntegrationTI.h
10 
11 #ifndef __Pulsar_IntegrationTI_h
12 #define __Pulsar_IntegrationTI_h
13 
14 #include "Pulsar/Integration.h"
15 #include "TextInterface.h"
16 
17 namespace Pulsar {
18 
20  class Integration::Interface : public TextInterface::To<Integration>
21  {
22 
23  public:
24 
26  Interface ( Integration* = 0 );
27 
29  void set_instance (Integration*) ;
30 
33 
35  std::string get_interface_name() const { return "Integration::Interface"; }
36 
37  };
38 
39 }
40 
41 #endif
Definition: IntegrationExtension.h:29
void set_instance(Integration *)
Set the instance to which this interface interfaces.
Definition: IntegrationTI.C:60
Provides a text interface to get and set Integration attributes.
Definition: IntegrationTI.h:25
TextInterface::Parser * clone()
clone this text interface
Definition: IntegrationTI.C:73
virtual void set_instance(C *c)
virtual std::string get_short_name() const
Return an abbreviated name that can be typed relatively quickly.
Definition: Integration.C:50
std::string get_interface_name() const
Get the interface name.
Definition: IntegrationTI.h:45
Array of Profiles integrated over the same time interval.
Definition: Integration.h:37
Interface(Integration *=0)
Default constructor that takes an optional instance.
Definition: IntegrationTI.C:14
Integration()
Default constructor.
Definition: Integration.C:152
Defines the PSRCHIVE library.
Definition: CalSource.h:17
virtual TextInterface::Parser * get_interface()
Return a text interface that can be used to access this instance.
Definition: IntegrationExtension.h:48

Generated using doxygen 1.8.17