Re: [C++-sig] Expanding embedded code

2009-04-23 Thread Robin Gilks
Stefan Seefeld wrote: I'm not sure what you are asking. Sticking to my example code, when you run the python script, 'instance' will be available in the global namespace, so you can make calls into it from Python. If that is not what you want, can you come up with another example ? Thanks,

Re: [C++-sig] Expanding embedded code

2009-04-23 Thread Stefan Seefeld
Robin Gilks wrote: I'm still having a problem with the python side of things - the c++ side mostly makes sense. For example, the "class instances" section of the page at http://wiki.cacr.caltech.edu/danse/index.php/Lots_more_details_on_writing_wrappers I can follow with no problems but

Re: [C++-sig] Expanding embedded code

2009-04-22 Thread Robin Gilks
Stefan Seefeld wrote: Robin Gilks wrote: A difficult question to put a title to so I'll paint a brief scenario... The application is written in c++ It receives a data message and instantiates a message decoder class. Based on the contends that are extracted into the class variables, a respons

Re: [C++-sig] Expanding embedded code

2009-04-21 Thread Stefan Seefeld
Robin Gilks wrote: A difficult question to put a title to so I'll paint a brief scenario... The application is written in c++ It receives a data message and instantiates a message decoder class. Based on the contends that are extracted into the class variables, a response is built by instantia

[C++-sig] Expanding embedded code

2009-04-21 Thread Robin Gilks
A difficult question to put a title to so I'll paint a brief scenario... The application is written in c++ It receives a data message and instantiates a message decoder class. Based on the contends that are extracted into the class variables, a response is built by instantiating an encoder clas