Protocol file associated with the action state machine
About you
CamiTK team member.
Product
action state machine
Overview
This is issue was created by splitting issue #57 (closed) originally submitted on bugzilla by Antoine Tacheau @tacheaua, 2017-09-11. This issue is about providing an associated protocol file to enable double-click to start the action state machine from a desktop without using the command line.
Currently, we need to open a terminal and type this kind of command to start asm:
camitk-actionstatemachine -f <ProtocolFile> -o <LogFolder>
Since Action State Machine can be used by 'basic user' to run new protocol, it would be easier if a launcher or an interface were available.
For instance:#- a gui interface in order to select which protocol should be startedora specific protocol file (only changing extension by .asm, .prot, .protocolASM ...) to be associated to asm executable. Thus, users only have to double click to start application-- Antoine Tacheau
Hints
The best would probably be to :
- add another option to the command line
--protocol-file
(or something like that) - parse the corresponding
.prot
file (or.casm
of, as.asm
extension is already used a lot, especially for assembler and the other suggestion is very looong!) - a
.prot
can be a very simple file with- first line: the filepath to the
.scxml
- second line: filepath to the output directory
- first line: the filepath to the
- add another page to the Qt Wizard describe above to ask the user if she/he wants to save a corresponding
.prot
for later reuse - make sure that at file can be associated to the application (on windows reproduce what is done in camitk-imp: at first launch, ask the user if s⋅he wants
.prot
to be associated directly to the application). - write a wiki documentation to show how to associate
.prot
files to the action state state machine for Windows, KDE and MacOS X