Service Struct Reference
[Core Engine Services]

Inherited by ActionMapper, BoundingShape, CollisionContext, CollisionService, ContactList, ContactPhysics, CoreFileServer, CoreService, Directory, DirectoryIterator, Entity, Event, EventListener, EventLoop, Font, FontFactory, Geometry, InputStream, MassHelper, OutputStream, PhysicsObject, PhysicsService, RawStream, ReaderWriter, Register, RenderContext, ServiceImpl, Shader, SystemService, Texture, UpdateContext, and Visual.

List of all members.

Public Methods

void reference ()
void release ()
int countReferences ()
const ChargetTypeName ()
virtual ServiceInfogetTypeInfo () const=0
virtual bool isA (const Char *service)
void setScriptData (void *data)
void * getScriptData () const


Detailed Description

The base class for all engine services. Provides reference counting and placeholders for the scripting environment.


Member Function Documentation

int Service::countReferences   [inline]
 

Return the number of references held against this object.

void* Service::getScriptData   const [inline]
 

Retrieve the script environment data associated with this object.

virtual ServiceInfo* Service::getTypeInfo   const [pure virtual]
 

Retrieve some information about this service type.

const Char* Service::getTypeName   [inline]
 

Retrieve the name of the service type.

virtual bool Service::isA const Char   service [inline, virtual]
 

Determine if this service implements a particular interface.

void Service::reference   [inline]
 

Hold a reference against an instance of this service.

void Service::release   [inline]
 

Release a reference held against an instance of the component.

void Service::setScriptData void *    data [inline]
 

Attach script environment data to this service.


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


Flat Four Engine
Copyright (C) 2001 by 379, Inc.
This page generated by Doxygen