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,
TIntaIndex
)const [protected, pure virtual]

Retrieve information about an agent

Parameters

TNifAgentInfo & aInfoOn return, contains information about the agent
TInt aIndexAn 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 & aNameThe name of the agent to be created