Classes Files

Wombat::MamaSourceGroup::NativeMethods

Public Functions

  Name
int mamaSourceGroup_create(ref IntPtr sourceGroup, string groupName)
int mamaSourceGroup_getName(IntPtr sourceGroup, ref IntPtr groupName)
int mamaSourceGroup_findSource(IntPtr sourceGroup, string sourceName, ref IntPtr source)
int mamaSourceGroup_addSource(IntPtr sourceGroup, IntPtr source, uint weight)
int mamaSourceGroup_addSourceWithName(IntPtr sourceGroup, IntPtr source, string sourceName, uint weight)
int mamaSourceGroup_setSourceWeight(IntPtr sourceGroup, string sourceName, uint weight)
int mamaSourceGroup_reevaluate(IntPtr sourceGroup, ref byte changedStates)
int mamaSourceGroup_iterateSources(IntPtr sourceGroup, MamaSourceGroupIterateDelegate mCallback, IntPtr closure)
int mamaSourceGroup_getTopWeightSource(IntPtr sourceGroup, ref IntPtr topWeightSource)
int mamaSourceGroup_registerStageChangeCallback(IntPtr sourceGroup, MamaSourceGroupOnStateChangeDelegate mCallback, ref IntPtr registrationCookie, IntPtr closure)
int mamaSourceGroup_unregisterStateChangeCallback(IntPtr sourceGroup, IntPtr registrationCookie)
int mamaSourceGroup_destroy(IntPtr sourceGroup)

Public Functions Documentation

function mamaSourceGroup_create

int mamaSourceGroup_create(
    ref IntPtr sourceGroup,
    string groupName
)

function mamaSourceGroup_getName

int mamaSourceGroup_getName(
    IntPtr sourceGroup,
    ref IntPtr groupName
)

function mamaSourceGroup_findSource

int mamaSourceGroup_findSource(
    IntPtr sourceGroup,
    string sourceName,
    ref IntPtr source
)

function mamaSourceGroup_addSource

int mamaSourceGroup_addSource(
    IntPtr sourceGroup,
    IntPtr source,
    uint weight
)

function mamaSourceGroup_addSourceWithName

int mamaSourceGroup_addSourceWithName(
    IntPtr sourceGroup,
    IntPtr source,
    string sourceName,
    uint weight
)

function mamaSourceGroup_setSourceWeight

int mamaSourceGroup_setSourceWeight(
    IntPtr sourceGroup,
    string sourceName,
    uint weight
)

function mamaSourceGroup_reevaluate

int mamaSourceGroup_reevaluate(
    IntPtr sourceGroup,
    ref byte changedStates
)

function mamaSourceGroup_iterateSources

int mamaSourceGroup_iterateSources(
    IntPtr sourceGroup,
    MamaSourceGroupIterateDelegate mCallback,
    IntPtr closure
)

function mamaSourceGroup_getTopWeightSource

int mamaSourceGroup_getTopWeightSource(
    IntPtr sourceGroup,
    ref IntPtr topWeightSource
)

function mamaSourceGroup_registerStageChangeCallback

int mamaSourceGroup_registerStageChangeCallback(
    IntPtr sourceGroup,
    MamaSourceGroupOnStateChangeDelegate mCallback,
    ref IntPtr registrationCookie,
    IntPtr closure
)

function mamaSourceGroup_unregisterStateChangeCallback

int mamaSourceGroup_unregisterStateChangeCallback(
    IntPtr sourceGroup,
    IntPtr registrationCookie
)

function mamaSourceGroup_destroy

int mamaSourceGroup_destroy(
    IntPtr sourceGroup
)

Updated on 2023-03-31 at 15:29:33 +0100