sbMediacoreVotingChain Class Reference

#include <sbMediacoreVotingChain.h>

Inheritance diagram for sbMediacoreVotingChain:
Collaboration diagram for sbMediacoreVotingChain:

Public Member Functions

sbMediacoreVotingChain ()
nsresult Init ()
nsresult AddVoteResult (PRUint32 aVoteResult, sbIMediacore *aMediacore)
- Public Member Functions inherited from sbIMediacoreVotingChain
unsigned long getVote (in sbIMediacore aMediacore)

Protected Types

typedef std::map< PRUint32,
nsCOMPtr< sbIMediacore > > 

Protected Member Functions

virtual ~sbMediacoreVotingChain ()

Protected Attributes

PRLock * mLock
votingmap_t mResults

Additional Inherited Members

- Public Attributes inherited from sbIMediacoreVotingChain
readonly attribute boolean valid
 Indicates whether the mediacoreChain has any cores. More...
readonly attribute nsIArray mediacoreChain
 The chain of mediacores that believe they can perform the operation. More...

Detailed Description

Definition at line 48 of file sbMediacoreVotingChain.h.

Member Typedef Documentation

typedef std::map<PRUint32, nsCOMPtr<sbIMediacore> > sbMediacoreVotingChain::votingmap_t

Definition at line 66 of file sbMediacoreVotingChain.h.

Constructor & Destructor Documentation

NS_DECL_ISUPPORTS NS_DECL_SBIMEDIACOREVOTINGCHAIN sbMediacoreVotingChain::sbMediacoreVotingChain ( )
sbMediacoreVotingChain::~sbMediacoreVotingChain ( )

Definition at line 66 of file sbMediacoreVotingChain.cpp.

Member Function Documentation

nsresult sbMediacoreVotingChain::AddVoteResult ( PRUint32  aVoteResult,
sbIMediacore aMediacore 

Definition at line 90 of file sbMediacoreVotingChain.cpp.

nsresult sbMediacoreVotingChain::Init ( )

Definition at line 79 of file sbMediacoreVotingChain.cpp.

Member Data Documentation

PRLock* sbMediacoreVotingChain::mLock

Definition at line 64 of file sbMediacoreVotingChain.h.

votingmap_t sbMediacoreVotingChain::mResults

Definition at line 67 of file sbMediacoreVotingChain.h.

The documentation for this class was generated from the following files: