TimeBase Solution Generator (Solgen) tool overview and user tutorials

Solution Generator tool allows generating TimeBase sample projects for different programming languages based on specific arguments.

Solution Generator can operate in two modes:

  • cmd - command line mode. Use cmd options that are listed below in this tutorial.
  • interactive (default) - to activate, run project without any cmd args. Follow interactive solution guidance to generate sample project

Java

cmd arg: -java, project type

cmd arg: -java.projectType <projectType>

Projects

Gradle

java.project.root - Directory, where project will be stored

Default value: C:\Users\Username\Deltix\samples\java

java.project.group - Project group, like com.google.collections

Default value: org.sample

java.project.name - Project name, like google-collections

Default value: sample-project

Samples

Common properties:

timebase.url - The URL of TimeBase location in the following form: dxtick://:

Default value: dxtick://localhost:8011

cmd arg: -java.ListStreams
No specific properties for this sample type.
cmd arg: -java.SpeedTest
timebase.stream - TimeBase stream key.
Default value: NULL
cmd arg: -java.ReadStream
timebase.stream - TimeBase stream key
Default value: NULL
cmd arg: -java.WriteStream
timebase.stream - TimeBase stream key
Default value: NULL

.NET

cmd arg: -net, project type

cmd arg: -net.projectType <projectType>

Projects

vs2010+

net.project.root - Directory, where project will be stored

Default value: C:\Users\Username\Deltix\samples\NET

net.project.name - Project name

Default value: TimebaseSample

Samples

Common properties:

timebase.url - The URL of TimeBase location, in the form of dxtick://:

Default value: dxtick://localhost:8011

cmd arg: -net.ReadStream
timebase.stream - TimeBase stream key
Default value: NULL
cmd arg: -net.WriteStream
timebase.stream - TimeBase stream key
Default value: NULL

Python

cmd arg: -python, project type

cmd arg: -python.projectType <projectType>

Projects

pipc

python.project.root - Directory, where project will be stored

Default value: C:\Users\Username\Deltix\samples\python

python.project.name - Project name, e.g. google-collections

Default value: sample

Samples

Common properties

timebase.url - The URL of TimeBase location, in the form of dxtick://:

Default value: dxtick://localhost:8011

cmd arg: -python.ListStreams
No specific properties for this sample type.
cmd arg: -python.SpeedTest
timebase.stream - TimeBase stream key.
Default value: NULL
python.SpeedTest.numProcess - Num processes (number).
Default value: 4
cmd arg: -python.ReadStream
timebase.stream - TimeBase stream key
Default value: NULL
cmd arg: -python.WriteStream
timebase.stream - TimeBase stream key
Default value: NULL

C++

cmd arg: -cpp, project type

cmd arg: -cpp.projectType <projectType>

Projects

vs2015

cpp.project.root - Directory, where project will be stored

Default value: C:\Users\Username\Deltix\samples\cpp

cpp.project.name - Project name, e.g. google-collections

Default value: sample-project

make

cpp.project.root - Directory, where project will be stored

Default value: C:\Users\Username\Deltix\samples\cpp

cpp.project.name - Project name, e.g. google-collections

Default value: sample-project

Samples

Common properties

timebase.url - The URL of TimeBase location, in the form of dxtick://:

Default value: dxtick://localhost:8011

cmd arg: -cpp.ListStreams
No specific properties for this sample type.
cmd arg: -cpp.SpeedTest
timebase.stream - TimeBase stream key.
Default value: NULL
cpp.SpeedTest.numThreads - Num threads (number).
Default value: 4
cmd arg: -cpp.ReadStream
timebase.stream - TimeBase stream key
Default value: NULL
cmd arg: -cpp.WriteStream
timebase.stream - TimeBase stream key
Default value: NULL