CEL

Public API Reference

Protected Member Functions
celPcCommon Class Reference

This is a common implementation for a property class from which all other property classes can inherit. More...

#include <celtool/stdpcimp.h>

Inheritance diagram for celPcCommon:
scfImplementation4< celPcCommon, iCelPropertyClass, iCelTimerListener, iMessageSender, iMessageReceiver > scfImplementation< Class > iBase scfImplementationHelper CS::Memory::CustomAllocated celPcCameraCommon

List of all members.

Protected Member Functions

void AddAction (int idx, const char *id)
 Helper function to setup an action.
void AddProperty (size_t idx, const char *id, celDataType type, bool readonly, const char *desc, void *prop)
 Helper function to setup properties.
void SetActionMask (const char *mask)
 Setup the mask used for receiving action messages.

Detailed Description

This is a common implementation for a property class from which all other property classes can inherit.

This makes it easier to write a property class.

Definition at line 96 of file stdpcimp.h.


Member Function Documentation

void celPcCommon::AddAction ( int  idx,
const char *  id 
) [inline, protected]

Helper function to setup an action.

Definition at line 131 of file stdpcimp.h.

void celPcCommon::AddProperty ( size_t  idx,
const char *  id,
celDataType  type,
bool  readonly,
const char *  desc,
void *  prop 
) [inline, protected]

Helper function to setup properties.

Parameters:
idxis a numerical index for the property starting at 0.
idis the id string ('bla').
typeis the type for the property.
readonly
descis the description.
pointeris the pointer of the field this property corresponds with or 0 if it requires manual intervention.

Definition at line 152 of file stdpcimp.h.

void celPcCommon::SetActionMask ( const char *  mask) [protected]

Setup the mask used for receiving action messages.


The documentation for this class was generated from the following file:

Generated for CEL: Crystal Entity Layer 2.0 by doxygen 1.7.6.1