#include <MamaSymbolListFile.h>
Inherits from Wombat::MamaSymbolList
Name | |
---|---|
MamaSymbolListFile() | |
~MamaSymbolListFile() | |
void | setFileName(const char * fileName) |
void | setBridge(const mamaBridge bridge) |
void | readFile() |
void | writeFile() |
void | setFileMonitor(double checkSeconds, MamaQueue * queue) |
Public Functions inherited from Wombat::MamaSymbolList
Name | |
---|---|
MamaSymbolList() | |
virtual | ~MamaSymbolList() |
void | addMembershipHandler(MamaSymbolListMembershipHandler * handler) |
void | addMember(MamaSymbolListMember * member) |
MamaSymbolListMember * | findMember(const char * symbol, const char * source, mamaTransport transport) |
MamaSymbolListMember * | removeMember(const char * symbol, const char * source, mamaTransport transport) |
void | removeMember(MamaSymbolListMember & member) |
void | removeMemberAll(void ) |
void | clear() |
void | dump() |
bool | empty() const |
mama_size_t | size() const |
void | setClosure(void * closure) |
void * | getClosure() const |
void | iterate(MamaSymbolListIteratorHandler & handler, void * iterateClosure =NULL) |
mamaSymbolList | getCValue() |
const mamaSymbolList | getCValue() const |
Protected Attributes inherited from Wombat::MamaSymbolList
Name | |
---|---|
mamaSymbolList | myList |
class Wombat::MamaSymbolListFile;
MamaSymbolListFile is a file based symbol list with the ability to detect external changes to the file. The file’s structure is as follows:
MamaSymbolListFile()
~MamaSymbolListFile()
void setFileName(
const char * fileName
)
Set the file name.
void setBridge(
const mamaBridge bridge
)
Set the bridge to use for creating transports
void readFile()
Read the contents of the file into the symbol list.
void writeFile()
Write the symbol list to the file.
void setFileMonitor(
double checkSeconds,
MamaQueue * queue
)
Set a timer to check whether the file has changed its contents. If the contents have changed, various add/remove membership events may be applied to the MamaSymbolList.
Updated on 2023-03-31 at 15:29:25 +0100