Cmd Class Reference
[Kernel Module]

#include <cmd.h>

List of all members.

Detailed Description

Encapsulates a function call into a C++ object.

Public Member Functions

 Cmd (CmdProto *proto)
 Cmd (const Cmd &rhs)
CmdProtoGetProto () const
fourcc_t GetId () const
int GetInArgsCount () const
int GetOutArgsCount () const
ArgIn ()
ArgOut ()
void Rewind ()
void CopyInArgsFrom (va_list marker)
void CopyInArgsFrom (Cmd *cmd)

Private Types

enum  { MAX_AGRS_COUNT = 16 }

Private Attributes

int out_arg_index
int in_arg_index

Member Enumeration Documentation

anonymous enum [private]


Constructor & Destructor Documentation

Cmd::Cmd ( CmdProto proto  )  [inline]


Cmd::Cmd ( const Cmd rhs  )  [inline]

Copy constructor.

Member Function Documentation

CmdProto * Cmd::GetProto (  )  const [inline]

Gets the cmd's prototype object.

fourcc_t Cmd::GetId (  )  const [inline]

Gets the cmd's fourcc code.

int Cmd::GetInArgsCount (  )  const [inline]

Get number of input args.

int Cmd::GetOutArgsCount (  )  const [inline]

Get number of output args.

Arg * Cmd::In (  )  [inline]

Gets next input argument.

Arg * Cmd::Out (  )  [inline]

Gets next output argument.

void Cmd::Rewind (  )  [inline]

Rewind internal next args.

void Cmd::CopyInArgsFrom ( va_list  marker  )  [inline]

Set input arguments in Cmd from a C variable argument list.

void Cmd::CopyInArgsFrom ( Cmd cmd  )  [inline]

Copy input arguments from another Cmd.

Member Data Documentation

CmdProto* Cmd::cmd_proto [private]

int Cmd::out_arg_index [private]

int Cmd::in_arg_index [private]

Arg Cmd::args[MAX_AGRS_COUNT] [private]

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