Logo Search packages:      
Sourcecode: narval version File versions  Download package

base_class.h

#ifndef _BASE_CLASS_H_
#define _BASE_CLASS_H_

class base_class;
00005 class base_class
{
 private:
  unsigned int id;
 public:
  base_class() {};
  base_class *process_register (unsigned int *error_code);
  void process_initialise (unsigned int *error_code);
  void process_reset (unsigned int *error_code);
  void process_start (unsigned int *error_code);
  void process_stop (unsigned int *error_code);
  void process_pause (unsigned int *error_code);
  void process_resume (unsigned int *error_code);
  void process_unload (unsigned int *error_code);
  void set_id (unsigned int new_id);
};

00022 class producer : public base_class
{
 public:
  producer () {};
  void process_block (void *output_buffer,
                  unsigned int size_of_output_buffer,
                  unsigned int *used_size_of_output_buffer,
                  unsigned int *error_code);
};

00032 class intermediary : public base_class
{
 public:
  intermediary () {};
  void process_block (void *input_buffer,
                  unsigned int size_of_input_buffer,
                  void *output_buffer,
                  unsigned int size_of_output_buffer,
                  unsigned int *used_size_of_output_buffer,
                  unsigned int *error_code);
};

00044 class consumer : public base_class
{
 public:
  consumer () {};
  void process_block (void *input_buffer,
                  unsigned int size_of_input_buffer,
                  unsigned int *error_code);
};

#endif

Generated by  Doxygen 1.6.0   Back to index