summaryrefslogtreecommitdiff
path: root/examples/APG/Streams/RecordingDeviceFactory.h
blob: 13485b2094716be40a1c9789e6a64a5ae50a7f28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* -*- C++ -*- */
// $Id$

#ifndef RECORDING_DEVICE_FACTORY_H
#define RECORDING_DEVICE_FACTORY_H

class RecordingDevice;

/*
 * A factory class that creates an appropriate RecordingDevice
 * derivative based on command-line parameters.
 */
class RecordingDeviceFactory
{
public:

  // Instantiate the appropriate RecordingDevice implementation
  static RecordingDevice *instantiate (int argc, ACE_TCHAR *argv[]);
};

#endif /* RECORDING_DEVICE_FACTORY_H */