72fbe29c4396d583c407dfdb6cbf81ae24e0b873
Stefan Schuermans added missing file header

Stefan Schuermans authored 12 years ago

src/noarch/main.cpp   1) /* Blinker
Stefan Schuermans update copyright header

Stefan Schuermans authored 5 years ago

src/common/main.cpp   2)    Copyright 2011-2019 Stefan Schuermans <stefan@blinkenarea.org>
Stefan Schuermans added missing file header

Stefan Schuermans authored 12 years ago

src/noarch/main.cpp   3)    Copyleft GNU public license - http://www.gnu.org/copyleft/gpl.html
src/noarch/main.cpp   4)    a blinkenarea.org project */
src/noarch/main.cpp   5) 
Stefan Schuermans added MCUF sender modules t...

Stefan Schuermans authored 13 years ago

src/noarch/main.cpp   6) #include <iostream>
Stefan Schuermans pong: make ball move

Stefan Schuermans authored 5 years ago

src/common/main.cpp   7) #include <stdlib.h>
Stefan Schuermans added MCUF sender modules t...

Stefan Schuermans authored 13 years ago

src/noarch/main.cpp   8) #include <string>
Stefan Schuermans pong: make ball move

Stefan Schuermans authored 5 years ago

src/common/main.cpp   9) #include <time.h>
Stefan Schuermans added MCUF sender modules t...

Stefan Schuermans authored 13 years ago

src/noarch/main.cpp  10) 
Stefan Schuermans first version of canvas mod...

Stefan Schuermans authored 12 years ago

src/noarch/main.cpp  11) #include "Canvas.h"
Stefan Schuermans first version, plays videos...

Stefan Schuermans authored 13 years ago

src/noarch/main.cpp  12) #include "Directory.h"
Stefan Schuermans implement filter module

Stefan Schuermans authored 10 years ago

src/common/main.cpp  13) #include "Filter.h"
Stefan Schuermans rename FlexiPix to EtherPix

Stefan Schuermans authored 7 years ago

src/common/main.cpp  14) #include "EtherPix.h"
Stefan Schuermans implemented loveletter module

Stefan Schuermans authored 12 years ago

src/noarch/main.cpp  15) #include "Loveletter.h"
Stefan Schuermans put all managers in one str...

Stefan Schuermans authored 12 years ago

src/noarch/main.cpp  16) #include "Mgrs.h"
Stefan Schuermans implemented module manager...

Stefan Schuermans authored 13 years ago

src/noarch/main.cpp  17) #include "ModuleMgr.h"
Stefan Schuermans split ModuleMgr.h into decl...

Stefan Schuermans authored 12 years ago

src/noarch/main.cpp  18) #include "ModuleMgr_impl.h"
Stefan Schuermans implement operator connecti...

Stefan Schuermans authored 12 years ago

src/noarch/main.cpp  19) #include "OpPrinter.h"
Stefan Schuermans implemnted operator connect...

Stefan Schuermans authored 12 years ago

src/noarch/main.cpp  20) #include "OpSplitter.h"
Stefan Schuermans implemented output module t...

Stefan Schuermans authored 12 years ago

src/noarch/main.cpp  21) #include "Output.h"
Stefan Schuermans add WSAStartup() for Windows

Stefan Schuermans authored 7 years ago

src/common/main.cpp  22) #include "PlatformInit.h"
Stefan Schuermans first version, plays videos...

Stefan Schuermans authored 13 years ago

src/noarch/main.cpp  23) #include "Player.h"
Stefan Schuermans begin of Pong game

Stefan Schuermans authored 5 years ago

src/common/main.cpp  24) #include "Pong.h"
Stefan Schuermans implemented stream printer...

Stefan Schuermans authored 13 years ago

src/noarch/main.cpp  25) #include "Printer.h"
Stefan Schuermans implemented priority based...

Stefan Schuermans authored 12 years ago

src/noarch/main.cpp  26) #include "Priority.h"
Stefan Schuermans implement frame rate limiter

Stefan Schuermans authored 10 years ago

src/noarch/main.cpp  27) #include "RateLimiter.h"
Stefan Schuermans implemented resizer module

Stefan Schuermans authored 12 years ago

src/noarch/main.cpp  28) #include "Resizer.h"
Stefan Schuermans implemented scaler module

Stefan Schuermans authored 12 years ago

src/noarch/main.cpp  29) #include "Scaler.h"
Stefan Schuermans implement SIP

Stefan Schuermans authored 5 years ago

src/common/main.cpp  30) #include "SipPhone.h"
Stefan Schuermans implement passing on only a...

Stefan Schuermans authored 6 years ago

src/common/main.cpp  31) #include "SyncNameSplitter.h"
Stefan Schuermans implement sync stream printer

Stefan Schuermans authored 10 years ago

src/common/main.cpp  32) #include "SyncPrinter.h"
Stefan Schuermans implement stream transforma...

Stefan Schuermans authored 10 years ago

src/common/main.cpp  33) #include "Transformer.h"
Stefan Schuermans begin of phone connector

Stefan Schuermans authored 12 years ago

src/noarch/main.cpp  34) #include "Udp4Phone.h"
Stefan Schuermans implemented stream receiver

Stefan Schuermans authored 12 years ago

src/noarch/main.cpp  35) #include "Udp4Receiver.h"
Stefan Schuermans added MCUF sender modules t...

Stefan Schuermans authored 13 years ago

src/noarch/main.cpp  36) #include "Udp4Sender.h"
Stefan Schuermans implement UDP synchronizati...

Stefan Schuermans authored 10 years ago

src/common/main.cpp  37) #include "Udp4SyncReceiver.h"
Stefan Schuermans IPv6 support

Stefan Schuermans authored 10 years ago

src/noarch/main.cpp  38) #include "Udp6Phone.h"
src/noarch/main.cpp  39) #include "Udp6Receiver.h"
src/noarch/main.cpp  40) #include "Udp6Sender.h"
Stefan Schuermans implement UDP synchronizati...

Stefan Schuermans authored 10 years ago

src/common/main.cpp  41) #include "Udp6SyncReceiver.h"
Stefan Schuermans first version, plays videos...

Stefan Schuermans authored 13 years ago

src/noarch/main.cpp  42) 
src/noarch/main.cpp  43) using namespace Blinker;
src/noarch/main.cpp  44) 
Stefan Schuermans added MCUF sender modules t...

Stefan Schuermans authored 13 years ago

src/noarch/main.cpp  45) void run(const std::string &dirConfig)
Stefan Schuermans first version, plays videos...

Stefan Schuermans authored 13 years ago

src/noarch/main.cpp  46) {
Stefan Schuermans put all managers in one str...

Stefan Schuermans authored 12 years ago

src/noarch/main.cpp  47)   Directory cfg(dirConfig);
src/noarch/main.cpp  48) 
Stefan Schuermans implement SIP

Stefan Schuermans authored 5 years ago

src/common/main.cpp  49)   SipPhone::init(dirConfig);
src/common/main.cpp  50) 
Stefan Schuermans put all managers in one str...

Stefan Schuermans authored 12 years ago

src/noarch/main.cpp  51)   Mgrs mgrs;
src/noarch/main.cpp  52) 
Stefan Schuermans make modules know their name

Stefan Schuermans authored 12 years ago

src/noarch/main.cpp  53) #define MODULEMGR(TYPE, CLASS) \
src/noarch/main.cpp  54)   ModuleMgr<TYPE> CLASS(#CLASS, mgrs, cfg.getSubdir(#CLASS))
src/noarch/main.cpp  55) 
Stefan Schuermans implement UDP synchronizati...

Stefan Schuermans authored 10 years ago

src/common/main.cpp  56)   MODULEMGR(Canvas,           canvases);
Stefan Schuermans implement filter module

Stefan Schuermans authored 10 years ago

src/common/main.cpp  57)   MODULEMGR(Filter,           filters);
Stefan Schuermans rename FlexiPix to EtherPix

Stefan Schuermans authored 7 years ago

src/common/main.cpp  58)   MODULEMGR(EtherPix,         etherpixes);
Stefan Schuermans implement UDP synchronizati...

Stefan Schuermans authored 10 years ago

src/common/main.cpp  59)   MODULEMGR(Loveletter,       loveletters);
src/common/main.cpp  60)   MODULEMGR(OpPrinter,        opprinters);
src/common/main.cpp  61)   MODULEMGR(OpSplitter,       opsplitters);
src/common/main.cpp  62)   MODULEMGR(Output,           outputs);
src/common/main.cpp  63)   MODULEMGR(Player,           players);
Stefan Schuermans begin of Pong game

Stefan Schuermans authored 5 years ago

src/common/main.cpp  64)   MODULEMGR(Pong,             pongs);
Stefan Schuermans implement UDP synchronizati...

Stefan Schuermans authored 10 years ago

src/common/main.cpp  65)   MODULEMGR(Printer,          printers);
src/common/main.cpp  66)   MODULEMGR(Priority,         priorities);
src/common/main.cpp  67)   MODULEMGR(Resizer,          resizers);
src/common/main.cpp  68)   MODULEMGR(RateLimiter,      ratelimiters);
src/common/main.cpp  69)   MODULEMGR(Scaler,           scalers);
Stefan Schuermans implement SIP

Stefan Schuermans authored 5 years ago

src/common/main.cpp  70)   MODULEMGR(SipPhone,         sipphones);
Stefan Schuermans implement passing on only a...

Stefan Schuermans authored 6 years ago

src/common/main.cpp  71)   MODULEMGR(SyncNameSplitter, syncnamesplitters);
Stefan Schuermans implement UDP synchronizati...

Stefan Schuermans authored 10 years ago

src/common/main.cpp  72)   MODULEMGR(SyncPrinter,      syncprinters);
src/common/main.cpp  73)   MODULEMGR(Transformer,      transformers);
src/common/main.cpp  74)   MODULEMGR(Udp4Phone,        udp4phones);
src/common/main.cpp  75)   MODULEMGR(Udp4Receiver,     udp4receivers);
src/common/main.cpp  76)   MODULEMGR(Udp4Sender,       udp4senders);
src/common/main.cpp  77)   MODULEMGR(Udp4SyncReceiver, udp4syncreceivers);
src/common/main.cpp  78)   MODULEMGR(Udp6Phone,        udp6phones);
src/common/main.cpp  79)   MODULEMGR(Udp6Receiver,     udp6receivers);
src/common/main.cpp  80)   MODULEMGR(Udp6Sender,       udp6senders);
src/common/main.cpp  81)   MODULEMGR(Udp6SyncReceiver, udp6syncreceivers);
Stefan Schuermans make modules know their name

Stefan Schuermans authored 12 years ago

src/noarch/main.cpp  82) 
src/noarch/main.cpp  83) #undef MODULEMGR
Stefan Schuermans put all managers in one str...

Stefan Schuermans authored 12 years ago

src/noarch/main.cpp  84) 
src/noarch/main.cpp  85)   mgrs.m_callMgr.run();
Stefan Schuermans added MCUF sender modules t...

Stefan Schuermans authored 13 years ago

src/noarch/main.cpp  86) }
src/noarch/main.cpp  87) 
src/noarch/main.cpp  88) int main(int argc, const char *argv[])
src/noarch/main.cpp  89) {
src/noarch/main.cpp  90)   const char * dirConfig;
src/noarch/main.cpp  91) 
src/noarch/main.cpp  92)   if (argc < 2) {
Stefan Schuermans added flexipix output suppo...

Stefan Schuermans authored 12 years ago

src/noarch/main.cpp  93)     std::cerr << "Blinker" << std::endl
Stefan Schuermans adapt syntax for newer gcc

Stefan Schuermans authored 7 years ago

src/common/main.cpp  94)               << "configuration:" BLINKER_CONFIG << std::endl
Stefan Schuermans added flexipix output suppo...

Stefan Schuermans authored 12 years ago

src/noarch/main.cpp  95)               << "usage: " << argv[0] << " config-directory" << std::endl;
Stefan Schuermans added MCUF sender modules t...

Stefan Schuermans authored 13 years ago

src/noarch/main.cpp  96)     return 2;
src/noarch/main.cpp  97)   }
src/noarch/main.cpp  98)   dirConfig = argv[1];
src/noarch/main.cpp  99) 
Stefan Schuermans pong: make ball move

Stefan Schuermans authored 5 years ago

src/common/main.cpp 100)   srand(time(NULL));
Stefan Schuermans fix object init

Stefan Schuermans authored 7 years ago

src/common/main.cpp 101)   PlatformInit pfInit;
Stefan Schuermans add WSAStartup() for Windows

Stefan Schuermans authored 7 years ago

src/common/main.cpp 102) 
Stefan Schuermans added MCUF sender modules t...

Stefan Schuermans authored 13 years ago

src/noarch/main.cpp 103)   run(dirConfig);