CBindInfo Class Reference

class CBindInfo : public CBase

Stores details about an individual binding between two modules, including the binding state and any errors associated with it.

Inherits from

Nested Classes and Structures

Constructor & Destructor Documentation

CBindInfo(const TRSBindType, const TCFSubModuleAddress &, const TCFSubModuleAddress &)

CBindInfo ( const TRSBindType aType,
const TCFSubModuleAddress & aSubModule1,
const TCFSubModuleAddress & aSubModule2
) [private]

Parameters

const TRSBindType aType
const TCFSubModuleAddress & aSubModule1
const TCFSubModuleAddress & aSubModule2

~CBindInfo()

~CBindInfo ( )

Destructor for CBindInfo

Member Functions Documentation

BindType()

const TRSBindType & BindType ( ) const

Accessor method for the binding type

Channel1()

const RCFChannel & Channel1 ( ) const

Accessor method for first RCFChannel in binding

Channel2()

const RCFChannel & Channel2 ( ) const

Accessor method for second RCFChannel in binding

ConstructL(TInt, TInt)

void ConstructL ( TInt aChannel1Length,
TInt aChannel2Length
)

Second phase constructor for CBindInfo

leave

Parameters

TInt aChannel1Length
TInt aChannel2Length

Dequeue()

void Dequeue ( )

Remove this from the linked list

NewL(const TRSBindType, const TCFSubModuleAddress &, const TCFSubModuleAddress &, TInt, TInt)

CBindInfo * NewL ( const TRSBindType aType,
const TCFSubModuleAddress & aSubModule1,
const TCFSubModuleAddress & aSubModule2,
TInt aChannel1Length,
TInt aChannel2Length
) [static]

Parameters

const TRSBindType aType
const TCFSubModuleAddress & aSubModule1
const TCFSubModuleAddress & aSubModule2
TInt aChannel1Length
TInt aChannel2Length

Result1()

TInt Result1 ( ) const

Accessor method for result code of first submodule in the binding

Result2()

TInt Result2 ( ) const

Accessor method for result code of second submodule in the binding

SetResult1(const TInt)

void SetResult1 ( const TInt aResult )

Set method for result code of first submodule in the binding

Parameters

const TInt aResult the new result code

SetResult2(const TInt)

void SetResult2 ( const TInt aResult )

Set method for result code of second submodule in the binding

Parameters

const TInt aResult the new result code

SetState1(const CBindManager::TBMBindState)

void SetState1 ( const CBindManager::TBMBindState aState )

Set method for state of first submodule in the binding

Parameters

const CBindManager::TBMBindState aState new state

SetState2(const CBindManager::TBMBindState)

void SetState2 ( const CBindManager::TBMBindState aState )

Set method for state of second submodule in the binding

Parameters

const CBindManager::TBMBindState aState new state

State1()

CBindManager::TBMBindState State1 ( ) const

Accessor method for state of first submodule in the binding

State2()

CBindManager::TBMBindState State2 ( ) const

Accessor method for state of second submodule in the binding

SubModuleAddr1()

const TCFSubModuleAddress & SubModuleAddr1 ( ) const

Accessor method for first submodule address in the binding

SubModuleAddr2()

const TCFSubModuleAddress & SubModuleAddr2 ( ) const

Accessor method for second submodule address in the binding

TaskCompleted(const CTask &, const TInt)

void TaskCompleted ( const CTask & aTask,
const TInt aStatus
)

Method called when a task has completed and therefore the state of the binding may need updating

Parameters

const CTask & aTask the task that has completed
const TInt aStatus the status code the task returned

Member Data Documentation

RCFChannel iChannel1

RCFChannel iChannel1 [private]

RCFChannel iChannel2

RCFChannel iChannel2 [private]

TDblQueLink iLink

TDblQueLink iLink

TSubModuleDetails iSubModule1

TSubModuleDetails iSubModule1 [private]

TSubModuleDetails iSubModule2

TSubModuleDetails iSubModule2 [private]

TRSBindType iType

TRSBindType iType [private]