cdlBase.h
Go to the documentation of this file.
00001 /*
00002  *   Katana Native Interface - A C++ interface to the robot arm Katana.
00003  *   Copyright (C) 2005 Neuronics AG
00004  *   Check out the AUTHORS file for detailed contact information.
00005  *
00006  *   This program is free software; you can redistribute it and/or modify
00007  *   it under the terms of the GNU General Public License as published by
00008  *   the Free Software Foundation; either version 2 of the License, or
00009  *   (at your option) any later version.
00010  *
00011  *   This program is distributed in the hope that it will be useful,
00012  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  *   GNU General Public License for more details.
00015  *
00016  *   You should have received a copy of the GNU General Public License
00017  *   along with this program; if not, write to the Free Software
00018  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00019  */
00020 
00021 
00022 /****************************************************************************/
00023 #ifndef _CDLBASE_H_
00024 #define _CDLBASE_H_
00025 /****************************************************************************/
00026 
00027 #if !defined (BYTE_DECLARED)
00028 #define BYTE_DECLARED
00029 typedef unsigned char byte;     
00030 #endif
00031 
00032 //--------------------------------------------------------------------------//
00033 
00034 #include "common/dllexport.h"
00035 
00036 
00037 //--------------------------------------------------------------------------//
00038 
00047 class DLLDIR CCdlBase {
00048 
00049 public:
00050 
00057         virtual int  send(const void* _buf, int _sz)    = 0;
00064         virtual int  recv(void* _buf, int _sz)          = 0;
00069         virtual ~CCdlBase() {};
00070 };
00071 
00072 /****************************************************************************/
00073 #endif //_CDLBASE_H_
00074 /****************************************************************************/


kni
Author(s): Martin Günther
autogenerated on Thu Jun 6 2019 21:42:33