Queries whether a component is ready to have its ComponentEntry.InitInterfaces function called to initialise it's interfaces.

Syntax

bool QueryInitInterfaces(
ComponentEntry* Entry, 
bool bLastChance
);

 

Parameters

Entry

Type: ComponentEntry *

Pointer to the ComponentEntry that is being asked for it's interface initialisation status.

bLastChance

Type: bool

Indicates whether this is the last chance for the component to respond.   

 

Whether the specified component is ready to have its interfaces initialised via a call to InitInterfaces

 

 

Remarks

QueryInitInterfaces may be called numerous times before a component is Started.

Examples

bool QueryInitInterfaces(ComponentEntry* Entry, bool bLastChance)
{
	return (bBoundToDataComponent && bBoundToEventsComponent) || bLastChance;
}

 

Requirements

See Also