#include <stdlib.h>#include <assert.h>#include <stdio.h>#include "structs.h"Include dependency graph for Layout.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Functions | |
| Layout * | createLayout () |
| constructor | |
| void | destroyLayout (Layout *l) |
| destroyer | |
| int | addFilterSpec (Layout *l, FilterSpec *f) |
| add filter to the layout, returns 1 on success, 0 otherwise | |
| FilterSpec * | getFilterSpecByName (Layout *l, char *name) |
| returns a pointer to a filter, given its name, NULL if not found | |
| void | getFilterByTid (Layout *layout, int tid, FilterSpec **pFilterAddress, int *instanceAddress) |
| Given a tid, returns a pointer to the filter which is using it. | |
| int | addStreamSpec (Layout *l, StreamSpec *s) |
| adds a given stream to the layout, returns 1 on success, 0 otherwise | |
| StreamSpec * | getStreamSpecByName (Layout *l, char *name) |
| returns a pointer to a stream, given its name, NULL if not found | |
|
||||||||||||
|
add filter to the layout, returns 1 on success, 0 otherwise
Definition at line 53 of file Layout.c. References _layout_::filters, MAXFILTERS, and _layout_::numFilters. Referenced by fechaTag(). |
|
||||||||||||
|
adds a given stream to the layout, returns 1 on success, 0 otherwise
Definition at line 93 of file Layout.c. References MAXSTREAMS, _layout_::numStreams, and _layout_::streams. Referenced by fechaTag(). |
|
|
constructor
Definition at line 14 of file Layout.c. References _layout_::command, _layout_::cwd, hostsCreate(), _layout_::hostsStruct, _layout_::managerState, MAX_CWD_LENGTH, _layout_::numFilters, _layout_::numStreams, _ManagerState::numWorksSent, _ManagerState::oldestWork, and _layout_::xName. Here is the call graph for this function: ![]() |
|
|
destroyer
Definition at line 38 of file Layout.c. References destroyFilterSpec(), destroyStreamSpec(), _layout_::filters, hostsDestroy(), _layout_::hostsStruct, _layout_::numFilters, _layout_::numStreams, and _layout_::streams. Here is the call graph for this function: ![]() |
|
||||||||||||||||||||
|
Given a tid, returns a pointer to the filter which is using it.
Definition at line 72 of file Layout.c. References _filter_spec_::filterPlacement, layout, FilterPlacement::numInstances, and FilterPlacement::tids. |
|
||||||||||||
|
returns a pointer to a filter, given its name, NULL if not found
Definition at line 62 of file Layout.c. References _layout_::filters, _filter_spec_::name, and _layout_::numFilters. Referenced by abreTag(). |
|
||||||||||||
|
returns a pointer to a stream, given its name, NULL if not found
Definition at line 102 of file Layout.c. References _stream_spec_::name, _layout_::numStreams, and _layout_::streams. |
1.4.6