From RTSC-Pedia

Jump to: navigation, search
revision tip
—— LANDSCAPE orientation
[printable version]  [offline version]offline version generated on 04-Aug-2010 21:08 UTC

C - Object count

Get the number of statically created instances

Contents

Synopsis

 
 
 
#include <«pkg»/«Mod».h>
 
Int «Mod»_Object_count(void);

Description

This function is automatically defined for all target modules, where «Mod» is the name of some module, and returns the number of instance objects created during configuration. This function is typically used in conjunction with «Mod»_Object_get to perform some operation at runtime on all instances created during configuration; e.g., initialization of these instances within a module's runtime startup function.

See also

C - Object_get Get the instance handle of a statically created instance
C - Object_first Get the handle of the first dynamically created instance
C - Object_next Get the handle of the next dynamically created instance

[printable version]  [offline version]offline version generated on 04-Aug-2010 21:08 UTC
Copyright © 2008 The Eclipse Foundation. All Rights Reserved


Views
Personal tools
package reference