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

my_class.cc

#include <iostream>
#include "my_class.h"

my_class::my_class ()
{
  some_algo_dependent_data = 0;
}

void my_class::process_config (char *directory_path,
                         unsigned int *error_code)
{
  std::cout << "call to process_config" << std::endl;
  std::cout << "directory path =" << directory_path << std::endl;
  *error_code = 0;
}

void my_class::process_block (void *input_buffer,
                        unsigned int size_of_input_buffer,
                        unsigned int *error_code)
{
  unsigned int *data;

  data = (unsigned int *) input_buffer;
  std::cout << "data [0] = " << data [0] << std::endl;
  *error_code = 0;
}

Generated by  Doxygen 1.6.0   Back to index