SeaBreeze
DataBufferFeatureAdapter.h
Go to the documentation of this file.
1 /***************************************************/
33 #ifndef SEABREEZE_DATA_BUFFER_FEATURE_ADAPTER_H
34 #define SEABREEZE_DATA_BUFFER_FEATURE_ADAPTER_H
35 
38 
39 namespace seabreeze {
40  namespace api {
41 
43  : public FeatureAdapterTemplate<DataBufferFeatureInterface> {
44  public:
46  const FeatureFamily &f,
47  Protocol *p, Bus *b, unsigned short instanceIndex);
48  virtual ~DataBufferFeatureAdapter();
49 
50  /* Data buffer functions */
51  void clearBuffer(int *errorCode);
52  unsigned long getNumberOfElements(int *errorCode);
53  unsigned long getBufferCapacity(int *errorCode);
54  unsigned long getBufferCapacityMaximum(int *errorCode);
55  unsigned long getBufferCapacityMinimum(int *errorCode);
56  void setBufferCapacity(int *errorCode, unsigned long capacity);
57  };
58 
59  } /* end namespace api */
60 } /* end namespace seabreeze */
61 
62 #endif /* SEABREEZE_DATA_BUFFER_FEATURE_ADAPTER_H */
63 
Definition: FeatureAdapterTemplate.h:47
Definition: Protocol.h:44
Definition: FeatureFamily.h:39
Definition: Bus.h:48
Encapsulates all SeaBreeze classes.
Definition: DeviceFactory.h:42
Definition: DataBufferFeatureInterface.h:43
Definition: DataBufferFeatureAdapter.h:42