#include <sbMediacoreVotingChain.h>
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... | |
Definition at line 48 of file sbMediacoreVotingChain.h.
|
protected |
Definition at line 66 of file sbMediacoreVotingChain.h.
NS_DECL_ISUPPORTS NS_DECL_SBIMEDIACOREVOTINGCHAIN sbMediacoreVotingChain::sbMediacoreVotingChain | ( | ) |
|
protectedvirtual |
Definition at line 66 of file sbMediacoreVotingChain.cpp.
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.
|
protected |
Definition at line 64 of file sbMediacoreVotingChain.h.
|
protected |
Definition at line 67 of file sbMediacoreVotingChain.h.