CmdProtoNative Class Reference
[Kernel Module]

#include <cmdprotonative.h>

Inheritance diagram for CmdProtoNative:

CmdProto HashNode ListNode< HashNode >

List of all members.

Detailed Description

A factory for Cmd objects that correspond to natively implemented script commands.

Public Member Functions

 CmdProtoNative (const char *_proto_def, fourcc_t _id, void(*)(void *, Cmd *))
 CmdProtoNative (const CmdProtoNative &rhs)
bool Dispatch (void *, Cmd *)

Private Attributes

void(* cmd_proc )(void *, Cmd *)
 Pointer to C style command handler.

Constructor & Destructor Documentation

CmdProtoNative::CmdProtoNative ( const char *  _proto_def,
fourcc_t  _id,
void(*)(void *, Cmd *)  _cmd_proc 


_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.

Member Function Documentation

bool CmdProtoNative::Dispatch ( void *  obj,
Cmd cmd 
) [virtual]

Executes a command on the provided object.

Implements CmdProto.

Member Data Documentation

void(* CmdProtoNative::cmd_proc)(void *, Cmd *) [private]

Pointer to C style command handler.

The documentation for this class was generated from the following files:
Generated on Sat Oct 20 14:47:31 2007 for Dark Oberon by  doxygen 1.5.3