TEMU  3.0
The Terma Emulator
LineDataLogger.h
Go to the documentation of this file.
1 //===------------------------------------------------------------*- C++ -*-===//
2 //
3 // TEMU: The Terma Emulator
4 // (c) Terma 2016
5 // Authors: Mattias Holm <maho (at) terma.com>
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef TEMU_MODELS_DATALOGGER
10 #define TEMU_MODELS_DATALOGGER
11 
12 #include <stdint.h>
13 #include "temu-c/Support/Objsys.h"
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
23 typedef struct temu_LineDataLoggerIface {
25  uint64_t (*getLineCount)(void *Obj);
27  const char* (*getLine)(void *Obj, uint64_t Line);
29 #define TEMU_LINE_DATA_LOGGER_IFACE_TYPE "LineDataLoggerIface"
30 TEMU_IFACE_REFERENCE_TYPE(temu_LineDataLogger);
31 
32 
33 #ifdef __cplusplus
34 }
35 #endif
36 
37 #endif /* ! TEMU_MODELS_CONSOLE */
uint64_t(* getLineCount)(void *Obj)
Get number of lines.
Definition: LineDataLogger.h:25
TEMU_IFACE_REFERENCE_TYPE(temu_LineDataLogger)
Definition: LineDataLogger.h:23
struct temu_LineDataLoggerIface temu_LineDataLoggerIface