This commit is contained in:
parent
05100ddf29
commit
386295f69f
3 changed files with 37 additions and 2 deletions
|
@ -19,7 +19,8 @@ dabcast_SOURCES = \
|
||||||
clock_ab.cc \
|
clock_ab.cc \
|
||||||
clock_cb.cc \
|
clock_cb.cc \
|
||||||
timestamp.cc \
|
timestamp.cc \
|
||||||
messagecell_ab.cc
|
messagecell_ab.cc \
|
||||||
|
messagecell_cb.cc
|
||||||
|
|
||||||
dabcast_SOURCES += \
|
dabcast_SOURCES += \
|
||||||
groupmember.h \
|
groupmember.h \
|
||||||
|
@ -36,7 +37,8 @@ dabcast_SOURCES += \
|
||||||
clock_cb.h \
|
clock_cb.h \
|
||||||
protocol.h \
|
protocol.h \
|
||||||
timestamp.h \
|
timestamp.h \
|
||||||
messagecell_ab.h
|
messagecell_ab.h \
|
||||||
|
messagecell_cb.h
|
||||||
|
|
||||||
INCLUDES = -I./ @GLIBMM_CFLAGS@ @GTHREAD_CFLAGS@
|
INCLUDES = -I./ @GLIBMM_CFLAGS@ @GTHREAD_CFLAGS@
|
||||||
|
|
||||||
|
|
10
src/messagecell_cb.cc
Normal file
10
src/messagecell_cb.cc
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
|
||||||
|
#include "messagecell_cb.h"
|
||||||
|
|
||||||
|
MessageCellCb::MessageCellCb(){
|
||||||
|
printf("MessageCellCb::MessageCellCb -- constructor\n");
|
||||||
|
this->message = NULL;
|
||||||
|
this->type = MessageCellCb::TYPE_UNDEF;
|
||||||
|
this->count = 0;
|
||||||
|
this->maximum = NULL;
|
||||||
|
}
|
23
src/messagecell_cb.h
Normal file
23
src/messagecell_cb.h
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
#ifndef _MESSAGE_CELL_CB
|
||||||
|
#define _MESSAGE_CELL_CB
|
||||||
|
|
||||||
|
#include "message.h"
|
||||||
|
|
||||||
|
class MessageCellCb {
|
||||||
|
public:
|
||||||
|
typedef enum {
|
||||||
|
TYPE_UNDEF,
|
||||||
|
TYPE_TEMPORARY,
|
||||||
|
TYPE_DEFINITIVE
|
||||||
|
} Type;
|
||||||
|
|
||||||
|
Message * message;
|
||||||
|
MessageCellCb::Type type;
|
||||||
|
TimeStamp * maximum;
|
||||||
|
short count;
|
||||||
|
|
||||||
|
MessageCellCb();
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue