CNifAgentFactory Class Reference

class CNifAgentFactory : public CNifFactory

The factory object used to create new instances of a agent. An agent is packaged in a dll - nifman will call this class to create new instances of a agent.

since v9.5. Use MCPRs/CPRs/SCPRs instead of agents.

Inherits from

Member Functions Documentation

Info(TNifAgentInfo &, TInt)

TInt Info ( TNifAgentInfo & aInfo,
TInt aIndex
) const [protected, pure virtual]

Retrieve information about an agent

Parameters

TNifAgentInfo & aInfo On return, contains information about the agent
TInt aIndex An index into CNifAgentBase-derived objects in the agent, starting from 0. It is up to the agent how it assigns indices to objects.

NewAgentL(const TDesC &)

CNifAgentBase * NewAgentL ( const TDesC & aName ) [protected, pure virtual]

Create a new instance of the agent specified by aName

Parameters

const TDesC & aName The name of the agent to be created