IlsMvEndPointFactory is a factory of IlsMvComponent
and IlsMvComponentItf
instances. This is the default factory of Server, set with IlsMvEndPointFactory::SetSingleton()
in the constructor of IlsMvServer.
More...
#include <ilserver/mvcpitf.h>
Public Member Functions | |
virtual IlsMvEndPoint * | newComponentItf () |
Called by the IlsMvEndPointFactory::NewComponentItf() static function to create a new instance of an IlsMvComponentItf class or subclass. More... | |
Public Member Functions inherited from IlsMvEndPointFactory | |
IlsMvEndPointFactory () | |
Constructor. More... | |
virtual | ~IlsMvEndPointFactory () |
Destructor. More... | |
virtual IlsMvEndPoint * | newComponent () |
Called by the NewComponent() static function to create a new instance of an IlsMvComponent class or subclass. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from IlsMvEndPointFactory | |
static IlsMvEndPointFactory & | GetSingleton () |
Returns a reference to the component factory. More... | |
static IlsMvEndPointFactory * | GetSingletonPtr () |
Returns a pointer to the component factory. More... | |
static IlsMvEndPoint * | NewComponent () |
Called by Server to create a new instance of the IlsMvComponent class. More... | |
static IlsMvEndPoint * | NewComponentItf () |
Called by Server to create a new instance of the IlsMvComponentItf class. More... | |
static IlsMvEndPointFactory * | SetSingleton (IlsMvEndPointFactory *componentFactory) |
Declares the object pointed by componentFactory as the component factory singleton. More... | |
IlsMvEndPointFactory is a factory of IlsMvComponent
and IlsMvComponentItf
instances. This is the default factory of Server, set with IlsMvEndPointFactory::SetSingleton()
in the constructor of IlsMvServer.
Library: mvserver
By subclassing IlsSrvEndPointFactory
and overriding the newInstance()
and newComponentItf()
functions, you can create your own subtypes of IlsMvComponent
and IlsMvComponentItf
.
|
virtual |
Called by the IlsMvEndPointFactory::NewComponentItf()
static function to create a new instance of an IlsMvComponentItf
class or subclass.
You must override it if you want Server to create instances of a specific derived class.
Reimplemented from IlsMvEndPointFactory.