et_station.c File Reference

#include <stdio.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <sched.h>
#include "et_private.h"

Functions

int et_station_create_at (et_sys_id id, et_stat_id *stat_id, const char *stat_name, et_statconfig sconfig, int position, int parallelposition)
 This routine creates a station provided that it does not already exist and the maximum number of stations has not been reached.
int et_station_create (et_sys_id id, et_stat_id *stat_id, const char *stat_name, et_statconfig sconfig)
 This routine creates a station provided that it does not already exist and the maximum number of stations has not been reached.
int et_station_remove (et_sys_id id, et_stat_id stat_id)
 This routine deletes a station provided it is not GRAND_CENTRAL and provided there are no attached processes.
int et_station_attach (et_sys_id id, et_stat_id stat_id, et_att_id *att)
 This routine will attach the user to a station.
int et_station_detach (et_sys_id id, et_att_id att)
 This routine will detach the user from a station.
int et_station_setposition (et_sys_id id, et_stat_id stat_id, int position, int parallelposition)
 This routine sets a station's position in the linked list of active and idle stations and its position within a group of parallel stations if it is one.
int et_station_getposition (et_sys_id id, et_stat_id stat_id, int *position, int *parallelposition)
 This routine gets a station's position in the linked list of active and idle stations and its position within a group of parallel stations if it is one.
int et_station_isattached (et_sys_id id, et_stat_id stat_id, et_att_id att)
 Is an attachment attached to a particular station?
int et_station_exists (et_sys_id id, et_stat_id *stat_id, const char *stat_name)
 This routine tells whether a station exists or not, given the name of a station, If it does, it gives its id.
int et_station_name_to_id (et_sys_id id, et_stat_id *stat_id, const char *stat_name)
 This routine gives a station id, given the name of a station,.
int et_station_getattachments (et_sys_id id, et_stat_id stat_id, int *numatts)
 This routine gets the number of attachments to the given station.
int et_station_getstatus (et_sys_id id, et_stat_id stat_id, int *status)
 This routine gets the status of a station which may be one of the following values.
int et_station_getinputcount (et_sys_id id, et_stat_id stat_id, int *cnt)
 This routine gets the number of events in a station's input list.
int et_station_getoutputcount (et_sys_id id, et_stat_id stat_id, int *cnt)
 This routine gets the number of events in a station's output list.
int et_station_getblock (et_sys_id id, et_stat_id stat_id, int *block)
 This routine gets the block mode of a station which may be ET_STATION_BLOCKING or ET_STATION_NONBLOCKING.
int et_station_setblock (et_sys_id id, et_stat_id stat_id, int block)
 This routine sets a station's block mode.
int et_station_getuser (et_sys_id id, et_stat_id stat_id, int *user)
 This routine gets a station's user mode which is the maximum number of simultaneous attachments allowed with 0 meaning multiple.
int et_station_setuser (et_sys_id id, et_stat_id stat_id, int user)
 This routine sets a station's user mode which is the maximum number of simultaneous attachments allowed to a station.
int et_station_getrestore (et_sys_id id, et_stat_id stat_id, int *restore)
 This routine gets a station's restore mode which determines where events go when the attachment that owns those events detaches from a station.
int et_station_setrestore (et_sys_id id, et_stat_id stat_id, int restore)
 This routine sets a station's restore mode which determines where events go when the attachment that owns those events detaches from a station.
int et_station_getprescale (et_sys_id id, et_stat_id stat_id, int *prescale)
 This routine gets a station's prescale value.
int et_station_setprescale (et_sys_id id, et_stat_id stat_id, int prescale)
 This routine sets a station's prescale value.
int et_station_getcue (et_sys_id id, et_stat_id stat_id, int *cue)
 This routine gets a station's queue size, the size of the input event list for nonblocking stations.
int et_station_setcue (et_sys_id id, et_stat_id stat_id, int cue)
 This routine sets a station's queue size, the size of the input event list for nonblocking stations.
int et_station_getselectwords (et_sys_id id, et_stat_id stat_id, int select[])
 This routine gets a station's array of selection integers used to select events.
int et_station_setselectwords (et_sys_id id, et_stat_id stat_id, int select[])
 This routine sets a station's array of selection integers used to select events.
int et_station_getselect (et_sys_id id, et_stat_id stat_id, int *select)
 This routine gets a station's select mode which determines the algorithm this station uses to decide which events to let into its input list.
int et_station_getlib (et_sys_id id, et_stat_id stat_id, char *lib)
 This routine gets the name of the shared library containing an event selection function provided by the user.
int et_station_getclass (et_sys_id id, et_stat_id stat_id, char *classs)
 This routine gets the Java class defining an event selection method provided by the user for Java-based ET systems.
int et_station_getfunction (et_sys_id id, et_stat_id stat_id, char *function)
 This routine gets the name of the selection function in the shared library provided by the user.

Generated on 30 Jul 2015 for ET System by  doxygen 1.6.1