SeaBreeze
DataBufferFeatureBase.h
1 /***************************************************/
30 #ifndef DATABUFFERFEATUREBASE_H
31 #define DATABUFFERFEATUREBASE_H
32 
33 #include <vector>
34 
37 
38 namespace seabreeze {
39 
41  public:
43  virtual ~DataBufferFeatureBase();
44 
45  virtual DataBufferCount_t getNumberOfBuffers();
46  virtual void clearBuffer(const Protocol &protocol, const Bus &bus,
47  const DataBufferIndex_t bufferIndex)
48  throw (FeatureException);
49  virtual DataBufferElementCount_t getNumberOfElements(
50  const Protocol &protocol, const Bus &bus,
51  const DataBufferIndex_t bufferIndex)
52  throw (FeatureException);
53  virtual DataBufferElementCount_t getBufferCapacity(
54  const Protocol &protocol,
55  const Bus &bus, const DataBufferIndex_t bufferIndex)
56  throw (FeatureException);
57  virtual DataBufferElementCount_t getBufferCapacityMinimum(
58  const Protocol &protocol, const Bus &bus,
59  const DataBufferIndex_t bufferIndex)
60  throw (FeatureException);
61  virtual DataBufferElementCount_t getBufferCapacityMaximum(
62  const Protocol &protocol, const Bus &bus,
63  const DataBufferIndex_t bufferIndex)
64  throw (FeatureException);
65  virtual void setBufferCapacity(const Protocol &protocol, const Bus &bus,
66  const DataBufferIndex_t bufferIndex,
67  const DataBufferElementCount_t bufferSize)
68  throw (FeatureException);
69 
70  /* Overriding from Feature */
71  virtual FeatureFamily getFeatureFamily();
72 
73  protected:
74  DataBufferIndex_t numberOfBuffers;
75  };
76 
77 } /* end namespace */
78 
79 #endif /* DATABUFFERFEATUREBASE_H */
80 
Definition: Protocol.h:44
Definition: FeatureImpl.h:54
Definition: FeatureFamily.h:39
Definition: DataBufferFeatureBase.h:40
Definition: FeatureException.h:43
Definition: Bus.h:48
Encapsulates all SeaBreeze classes.
Definition: DeviceFactory.h:42
Definition: DataBufferFeatureInterface.h:43