ACE  6.3.3
Classes | Macros
Framework_Component_T.h File Reference
#include "ace/Framework_Component.h"
#include "ace/Framework_Component_T.cpp"

Classes

class  ACE_Framework_Component_T< Concrete >
 This class inherits the interface of the abstract ACE_Framework_Component class and is instantiated with the implementation of the concrete component class class Concrete. More...
 

Macros

#define ACE_REGISTER_FRAMEWORK_COMPONENT(CLASS, INSTANCE)
 

Detailed Description

Author
Don Hinton dhint.nosp@m.on@i.nosp@m.eee.o.nosp@m.rg

Macro Definition Documentation

#define ACE_REGISTER_FRAMEWORK_COMPONENT (   CLASS,
  INSTANCE 
)
Value:
This class inherits the interface of the abstract ACE_Framework_Component class and is instantiated w...
Definition: Framework_Component_T.h:36
static ACE_Framework_Repository * instance(int size=ACE_Framework_Repository::DEFAULT_SIZE)
Get pointer to a process-wide ACE_Framework_Repository.
Definition: Framework_Component.cpp:86
int register_component(ACE_Framework_Component *fc)
Definition: Framework_Component.cpp:123

This macro should be called in the instance() method of the Concrete class that will be managed. Along with the appropriate template instantiation.