2005/5/10

     
 

ACDK Tcl Readme

artefaktur

ACDK Tcl (acdk_tcl)acdk_tcl enables to embed Tcl scripting code into your ACDK application, controling all ACDK Objects via DMI.



Content of this chapter:

   General
     Title
     Version
     Short Description
     Dependencies
     Namespaces
     Authors
     License
   Description
   Notes
   Todo
   Changes



 General

 Title

ACDK Tcl (acdk_tcl)

 Version

Distribution version: 4.14.
Package version: 4.14.0.

 Short Description

  acdk_tcl enables to embed Tcl scripting 
  code into your ACDK application, controling
  all ACDK Objects via DMI.    

 Dependencies

       ACDK Core
 ACDK Text
    

 Namespaces

       acdk::tcl  acdk::tcl::interpreter
    

 Authors

      Roger Rene Kommer (kommer@artefaktur.com).    

 License

      ACDK Free Edition License.    

 Description

With  acdk_tcl you can instrument an Tcl interpreter inside your ACDK application.

// C++/ACDK
RTclInterpreter pi = new TclInterpreter();
pi->parse(new acdk::io::File("~/mytcl.tlc"));

In the Tcl script you can call all ACDK classes with the standard ACDK Dynamic Method Invokation (DMI) methods:


proc foo{ string1 string2 }{
  set sb [acdk_new "acdk/lang/StringBuffer" $string1 ] 
  acdk_invoke $sb append $string2
  return [acdk_invoke $sb toString]
}
acdk_invoke [ acdk_peek_static "acdk/lang/System" out ] println [ foo "Hello Tcl" " from ACDK"]

 Notes

  
You need the Tcl-Libraries from Scriptics.
http www.scriptics.com.
Please ajust the library and include path to your Tcl-Libraries and headers.

 Todo

  Nothing at the moment.  

 Changes

    ===========================================================
4.10.0
- Nothing important

Please refer also to  ChangeLog.

=========================================================== 4.02.0 - Configuration and documentation fixes.

=========================================================== 4.01.1 - Ajustments to modified metainfo - minor documentation changes.

=========================================================== 4.00.1 - Ajustments to Unicode and revised metainfo.

=========================================================== 2.00.1 - Ajustments the new DMI.
- More documentation.

=========================================================== 1.01.0
- Enhanced Metainfo compiler for CORBA functionality.
- Improved Configurations.
=========================================================== 1.00.2.
- Initial revision.