Skip to content

christiana/CTKPluginTutorials

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a fork/rewrite of the CTK tutorials ([email protected]:saschazelzer/CTKPluginTutorials.git). 
I has evolved during my own attempt to learn the basics of CTK, and is not intended as a general tutorial.

However, it can serve as a starting point while the CTK basic tutorials are incomplete. Start with the commontk.org wiki,
then move here when you find that stuff are missing.

It depends on github.com/commontk/CTK

Use Cases being tested in this project:

* Install and connect to a service in a vanilla CTK plugin
	- Plugin: org.commontk.plugingenerator.core
	- Service: ctkPluginGeneratorCodeModel
	- App: UseCTKPlugin
* Install a CTK plugin (org.mydomain.testplugin)
* Connect to a service (service: TestService in plugin: org.mydomain.testplugin)
* Define an interface in a library, then implement the interface in a plugin, then use it in an app.
	- Plugin: org.mydomain.testplugin
	- Lib: Backend
	- Service: BackendInterface
	- Service implementation: BackendInterfaceImpl
	- App: UseCTKPlugin
* Define a second implementation of the same service in a second plugin, then use both services in the app. 
The second plugin does not link to the app at compile-time.
	- Second Plugin: org.mydomain.backend.impl
	- Service: BackendInterface
	- Service implementation: BackendInterfaceImpl2
	

About

Contains tutorial code accompaning the Wiki tutorials.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%