Classes Files

Wombat::MamaSourceManager

A MamaSourceManager maintains information about a set of data sources, including the quality of the data coming from those sources.

Inherits from Wombat.MamaWrapper, Wombat.ISourceManager, IDisposable

Public Functions

  Name
  MamaSourceManager()
Constructs and creates a new MamaSourceManager object. M:Wombat.MamaWrapper.::ctor
void destroy()
Destroy the source manager. A synonym to the MamaWrapper.Dispose method.
MamaSource create(string name)
Implements ISourceManager.create
MamaSource findOrCreate(string name)
Implements ISourceManager.findOrCreate
MamaSource find(string name)
Implements ISourceManager.find
void add(MamaSource source)
Implements ISourceManager.add(MamaSource)
void add(string name, MamaSource source)
Implements [ISourceManager.add(System.String, MamaSource)]

Protected Functions

  Name
virtual override MamaStatus.mamaStatus DestroyNativePeer()
Implements the destruction of the underlying peer object. MamaWrapper.DestroyNativePeer

Additional inherited members

Public Functions inherited from Wombat.MamaWrapper

  Name
void Dispose()
Destroys the underlying peer object and unbinds the wrapper from it.
void setNativeHandle(IntPtr nHandle)
Sets the native handle of the native peer object. Should only be used by subclasses and in the same assembly.

Protected Functions inherited from Wombat.MamaWrapper

  Name
  MamaWrapper()
Constructs a new wrapper object but doesn’t create it. If the object is not explicitly disposed it will remain registered for finalization and will attempt the destroy the native peer object when finalized.
  MamaWrapper(IntPtr nativeHandle)
Constructs a managed wrapper from an existing native peer. The peer object will not be automatically finalized
virtual void Dispose(bool disposing, bool destroyNativeHandle =true)
The actual implementation of Dispose - called by both the Dispose method and the finalizer.
virtual void OnDispose()

Protected Attributes inherited from Wombat.MamaWrapper

  Name
IntPtr nativeHandle
the handle to the native peer object

Public Functions Documentation

function MamaSourceManager

MamaSourceManager()

Constructs and creates a new MamaSourceManager object. M:Wombat.MamaWrapper.::ctor

function destroy

void destroy()

Destroy the source manager. A synonym to the MamaWrapper.Dispose method.

function create

MamaSource create(
    string name
)

Implements ISourceManager.create

Reimplements: Wombat::ISourceManager::create

function findOrCreate

MamaSource findOrCreate(
    string name
)

Implements ISourceManager.findOrCreate

Reimplements: Wombat::ISourceManager::findOrCreate

function find

MamaSource find(
    string name
)

Implements ISourceManager.find

Reimplements: Wombat::ISourceManager::find

function add

void add(
    MamaSource source
)

Implements ISourceManager.add(MamaSource)

Reimplements: Wombat::ISourceManager::add

function add

void add(
    string name,
    MamaSource source
)

Implements [ISourceManager.add(System.String, MamaSource)]

Reimplements: Wombat::ISourceManager::add

Protected Functions Documentation

function DestroyNativePeer

virtual override MamaStatus.mamaStatus DestroyNativePeer()

Implements the destruction of the underlying peer object. MamaWrapper.DestroyNativePeer

Reimplements: Wombat::MamaWrapper::DestroyNativePeer


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