summaryrefslogtreecommitdiff
path: root/SA_POP/OutAdapter.h
blob: 437eb283f00431888321d76073808a16ed5630d6 (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
48
49
50
51
52
53
54
// -*- C++ -*-
// $Id$

//=============================================================================
/**
 * @file  OutAdapter.h
 *
 * This file contains the OutAdapter abstract base class definition for output
 * adapters.
 *
 * @author  John S. Kinnebrew <john.s.kinnebrew@vanderbilt.edu>
 */
//=============================================================================

#ifndef SA_POP_OUT_ADAPTER_H_
#define SA_POP_OUT_ADAPTER_H_

#include "SA_POP_Types.h"

namespace SA_POP {

  // Forward declaration of Planner.
  class Planner;

  /**
   * @class OutAdapter
   *
   * @brief Abstract base class for output adapters.
   */
  class OutAdapter {
  public:
    /// Constructor.
    OutAdapter (void) { };

    /// Destructor.
    virtual ~OutAdapter (void) { };

    /// Notify about task future expected utility changes.
    /**
     * @param planner  Planner for which changes have occurred.
     */
    virtual void notify_eu (SA_POP::Planner *planner) = 0;

    /// Notify about plan changes.
    /**
     * @param planner  Planner for which changes have occurred.
     */
    virtual void notify_plan (SA_POP::Planner *planner) = 0;

  };

};  /* SA_POP namespace */

#endif /* SA_POP_OUT_ADAPTER_H_ */