Operation package - everything you need to register a new type of operation. More...
#include <fst/script/script-impl.h>
Public Types | |
| typedef ArgPack | Args |
| typedef void(* | OpType )(ArgPack *args) |
| typedef GenericOperationRegister < OpType > | Register |
| The register (hash) type. | |
| typedef GenericRegisterer < Register > | Registerer |
| The register-er type. | |
Operation package - everything you need to register a new type of operation.
The ArgPack should be the type that's passed into each wrapped function - for instance, it might be a struct containing all the args. It's always passed by pointer, so const members should be used to enforce constness where it's needed. Return values should be implemented as a member of ArgPack as well.
Definition at line 157 of file script-impl.h.
| typedef ArgPack fst::script::Operation< ArgPack >::Args |
Definition at line 158 of file script-impl.h.
| typedef void(* fst::script::Operation< ArgPack >::OpType)(ArgPack *args) |
Definition at line 159 of file script-impl.h.
| typedef GenericOperationRegister<OpType> fst::script::Operation< ArgPack >::Register |
The register (hash) type.
Definition at line 162 of file script-impl.h.
| typedef GenericRegisterer<Register> fst::script::Operation< ArgPack >::Registerer |
The register-er type.
Definition at line 165 of file script-impl.h.
1.7.1