Ignore:
Timestamp:
12/12/01 13:26:34 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Cosy/videodev
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/videodev/Camera.cc

    r910 r1111  
    2121#include <sys/resource.h>
    2222
     23ClassImp(Camera);
     24
    2325inline int Camera::Ioctl(int req, void *opt, const char *str)
    2426{
  • trunk/MagicSoft/Cosy/videodev/Camera.h

    r910 r1111  
    22#define CAMERA_H
    33
     4#ifdef __CINT__
     5typedef unsigned long int pthread_t;
     6struct pthread_mutex_t;
     7struct pthread_cond_t;
     8struct timeval;
     9#else
     10#include <TROOT.h>
    411#include <pthread.h>
    512#include <sys/time.h>
     13#endif
     14
    615
    716typedef unsigned char byte;
     
    95104    void GetPicPar(int *bright, int *hue, int *contrast);
    96105
     106    ClassDef(Camera, 0)
    97107};
    98108
  • trunk/MagicSoft/Cosy/videodev/Filter.cc

    r808 r1111  
    33#include <memory.h>   // memset
    44#include <iostream.h> // cout
     5
     6ClassImp(Filter);
    57
    68void Filter::DrawBox(const int x1, const int y1,
  • trunk/MagicSoft/Cosy/videodev/Filter.h

    r808 r1111  
    11#ifndef FILTER_H
    22#define FILTER_H
     3
     4#ifndef __CINT__
     5#include <TROOT.h>
     6#endif
    37
    48typedef unsigned char byte;
     
    2529public:
    2630    static void Execute(byte *img);
     31
     32    ClassDef(Filter, 0)
    2733};
    2834
  • trunk/MagicSoft/Cosy/videodev/Makefile

    r911 r1111  
    3535           Writer.cc
    3636
    37 SRCS    = $(SRCFILES)
    38 HEADERS = $(SRCFILES:.cc=.h)
    39 OBJS    = $(SRCFILES:.cc=.o)
     37SRCS        = $(SRCFILES)
     38HEADERS     = $(SRCFILES:.cc=.h)
     39OBJS        = $(SRCFILES:.cc=.o)
     40CINTHEADERS = $(HEADERS)
    4041
    4142############################################################
  • trunk/MagicSoft/Cosy/videodev/VideodevLinkDef.h

    r920 r1111  
    55#pragma link off all functions;
    66
     7#pragma link C++ class Writer+;
     8#pragma link C++ class Filter+;
     9
     10#pragma link C++ class Camera+;
     11
    712#endif
  • trunk/MagicSoft/Cosy/videodev/Writer.cc

    r910 r1111  
    88
    99#include "base/timer.h"
     10
     11ClassImp(Writer);
    1012
    1113void Writer::Png(const char *fname, const byte *buf,
  • trunk/MagicSoft/Cosy/videodev/Writer.h

    r808 r1111  
    22#define WRITER_H
    33
     4#ifdef __CINT__
     5struct timeval;
     6#else
     7#include <TROOT.h>
    48#include <sys/time.h>
     9#endif
    510
    611typedef unsigned char byte;
     
    1419    static void Ppm(const char *fname, const byte *img);
    1520    static void Png(const char *fname, const byte *buf, struct timeval *date);
     21
     22    ClassDef(Writer, 0)
    1623};
    1724
Note: See TracChangeset for help on using the changeset viewer.