iComponent Struct Reference (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions
iComponent Struct Reference
Shared Class Facility (SCF)

This interface describes a generic component in Crystal Space. More...

`#include <iutil/comp.h>`

Inheritance diagram for iComponent:

List of all members.

## Public Member Functions
virtual bool | Initialize (iObjectRegistry *)=0
| Initialize the component.

## Detailed Description

This interface describes a generic component in Crystal Space.

Main creators of instances implementing this interface:

- All plugins implement this interface.

Main ways to get pointers to this interface:

- scfQueryInterface() from a plugin instance.

Main users of this interface:

- csPluginManager

Definition at line 44 of file comp.h.

## Member Function Documentation

virtual bool iComponent::Initialize | ( | iObjectRegistry * |  | ) | `[pure virtual]`

Initialize the component.

This is automatically called by system driver at startup so that plugin can do basic initialization stuff, register with the system driver and so on.

Implemented in csMeshType, csGraphics2DGLCommon, csGraphics2D, CS::Animation::AnimNodeManagerCommon< ThisType, ManagerInterface, FactoryType >, csBaseRenderStepLoader, and csBaseRenderStepType.

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

- iutil/comp.h