sbMediacoreVotingChain Class Reference

#include <sbMediacoreVotingChain.h>

Inheritance diagram for sbMediacoreVotingChain:
[legend]
Collaboration diagram for sbMediacoreVotingChain:
[legend]

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_SBIMEDIACOREVOTINGCHAIN 
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 > > 
votingmap_t
 

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
protected

Definition at line 66 of file sbMediacoreVotingChain.h.

Constructor & Destructor Documentation

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

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
protected

Definition at line 64 of file sbMediacoreVotingChain.h.

votingmap_t sbMediacoreVotingChain::mResults
protected

Definition at line 67 of file sbMediacoreVotingChain.h.


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