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

base_code.cc

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

base_class *base_class::process_register
(unsigned int *error_code)
{
  return this;
}
void base_class::process_initialise (unsigned int *error_code)
{
  std::cout << "process_initialise called with id=" << id << std::endl;
  *error_code = 0;
}
void base_class::process_reset (unsigned int *error_code)
{
  std::cout << "process_reset called with id=" << id << std::endl;
  *error_code = 0;
}
void base_class::process_start (unsigned int *error_code)
{
  std::cout << "process_start called with id=" << id << std::endl;
  *error_code = 0;
}
void base_class::process_stop (unsigned int *error_code)
{
  std::cout << "process_stop called with id=" << id << std::endl;
  *error_code = 0;
}
void base_class::process_pause (unsigned int *error_code)
{
  std::cout << "process_pause called with id=" << id << std::endl;
  *error_code = 0;
}
void base_class::process_resume (unsigned int *error_code)
{
  std::cout << "process_resume called with id=" << id << std::endl;
  *error_code = 0;
}
void base_class::process_unload (unsigned int *error_code)
{
  std::cout << "process_unload called with id=" << id << std::endl;
  *error_code = 0;
}
void base_class::set_id (unsigned int new_id)
{
  id = new_id;
}

Generated by  Doxygen 1.6.0   Back to index