Classes Files

Wombat::MamaTransportMap

Public Functions

  Name
MamaTransport * findOrCreate(const char * transportName, const mamaBridge bridge)
MamaTransport * find(const char * transportName, const mamaBridge bridge)

Public Functions Documentation

function findOrCreate

static MamaTransport * findOrCreate(
    const char * transportName,
    const mamaBridge bridge
)

Find the transport by name. If no transport by the given name has been requested before, a new instance of a MamaTransport is created using the bridge specified. This method will create exactly one MamaTransport object instance for each name passed.

function find

static MamaTransport * find(
    const char * transportName,
    const mamaBridge bridge
)

Find the transport by name. If no transport by the given name exists, the default transport is returned.


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