#include <cmdprotonative.h>

Public Member Functions | |
| CmdProtoNative (const char *_proto_def, fourcc_t _id, void(*)(void *, Cmd *)) | |
| Constructor. | |
| CmdProtoNative (const CmdProtoNative &rhs) | |
| bool | Dispatch (void *, Cmd *) |
Private Attributes | |
| void(* | cmd_proc )(void *, Cmd *) |
| Pointer to C style command handler. | |
| CmdProtoNative::CmdProtoNative | ( | const char * | _proto_def, | |
| fourcc_t | _id, | |||
| void(*)(void *, Cmd *) | _cmd_proc | |||
| ) |
Constructor.
| _proto_def | [in] Blue print string. | |
| _id | [in] 4cc code | |
| _cmd_proc | [in] Pointer to C style command handler. |
| CmdProtoNative::CmdProtoNative | ( | const CmdProtoNative & | rhs | ) |
Copy constructor.
| bool CmdProtoNative::Dispatch | ( | void * | obj, | |
| Cmd * | cmd | |||
| ) | [virtual] |
Executes a command on the provided object.
Implements CmdProto.
void(* CmdProtoNative::cmd_proc)(void *, Cmd *) [private] |
Pointer to C style command handler.
1.5.3