A B C D E F G I J L M N O P R S T U W Y

A

activeCount() - Method in class se.lth.cs.realtime.RTThreadGroup
Returns an estimate of the number of active threads in this thread group.
activeGroupCount() - Method in class se.lth.cs.realtime.RTThreadGroup
Returns an estimate of the number of active groups in this thread group.
add(Class, EventListener, int) - Method in class se.lth.cs.realtime.event.RTEventListenerList
Add the listener as a listener of the specified type, with the specified priority.
awaitEmpty() - Method in class se.lth.cs.realtime.event.RTEventBuffer
Waits for buffer to become empty.
awaitFull() - Method in class se.lth.cs.realtime.event.RTEventBuffer
Waits for buffer to become full.

B

baseTime - Variable in class se.lth.cs.realtime.PeriodicThread
The absolute time (calculated in ms since midnight, January 1, 1970 UTC) used to compute the time of the next call to perform.
BinarySem - class se.lth.cs.realtime.semaphore.BinarySem.
A Semaphore containing a boolean flag instead of a counter, to support signaling in cases when waiting threads should not catch up with successive missed calls of give.
BinarySem() - Constructor for class se.lth.cs.realtime.semaphore.BinarySem
Creates a new BinarySem with the internal (boolean) flag set to false.
BinarySem(boolean) - Constructor for class se.lth.cs.realtime.semaphore.BinarySem
Creates a new BinarySem with the internal (boolean) flag set to the specified value.
BinarySem(int) - Constructor for class se.lth.cs.realtime.semaphore.BinarySem
Creates a new BinarySem with the boolean initialized in a way compatible with the constructors of CountingSem.

C

CountingSem - class se.lth.cs.realtime.semaphore.CountingSem.
Basic type of semaphore containing a counter which is incremented by one fore each call to give, and decremented by one for each returning call of take.
CountingSem() - Constructor for class se.lth.cs.realtime.semaphore.CountingSem
Creates a new CountingSem with the internal counter initialized to 0.
CountingSem(int) - Constructor for class se.lth.cs.realtime.semaphore.CountingSem
Creates a new CountingSem, initializing it to the specified (possibly negative) number.
currentRTThread() - Static method in class se.lth.cs.realtime.RTThread
Returns a reference to the currently executing RTThread object.
currentSize() - Method in class se.lth.cs.realtime.event.RTEventBuffer
The current size of the buffer.
currSize - Variable in class se.lth.cs.realtime.event.RTEventBuffer
Current queue size.
CyclicThread - class se.lth.cs.realtime.CyclicThread.
This class models a real-time thread with cyclic behaviour.
CyclicThread() - Constructor for class se.lth.cs.realtime.CyclicThread
Allocates a new CyclicThread.
CyclicThread(RTThreadGroup) - Constructor for class se.lth.cs.realtime.CyclicThread
Allocates a new CyclicThread.
CyclicThread(RTThreadGroup, String) - Constructor for class se.lth.cs.realtime.CyclicThread
Allocates a new CyclicThread.
CyclicThread(RTThreadGroup, String, boolean) - Constructor for class se.lth.cs.realtime.CyclicThread
Allocates a new CyclicThread.
CyclicThread(String) - Constructor for class se.lth.cs.realtime.CyclicThread
Allocates a new CyclicThread.

D

defaultEventBufferSize - Variable in class se.lth.cs.realtime.RTThread
Default size of the event buffer, used by constructor possibly after being changed by some subclass constructor.
destroy() - Method in class se.lth.cs.realtime.RTThreadGroup
Destroys this thread group and all of its subgroups.
doFetch() - Method in class se.lth.cs.realtime.event.RTEventBuffer
Returns the next RTEvent in the queue, blocks if none available.
doPost(RTEvent) - Method in class se.lth.cs.realtime.event.RTEventBuffer
Adds an RTEvent to the queue, blocks caller if the queue is full.
dumpStack() - Static method in class se.lth.cs.realtime.RTThread
Prints a stack trace of the current thread.

E

enumerate(RTThreadGroup[]) - Method in class se.lth.cs.realtime.RTThreadGroup
Copies into the specified array references to every active subgroup in this thread group.
enumerate(RTThreadGroup[], boolean) - Method in class se.lth.cs.realtime.RTThreadGroup
Copies into the specified array references to every active subgroup in this thread group.
enumerate(Thread[]) - Method in class se.lth.cs.realtime.RTThreadGroup
Copies into the specified array every active thread in this thread group and its subgroups.
enumerate(Thread[], boolean) - Method in class se.lth.cs.realtime.RTThreadGroup
Copies into the specified array every active thread in this thread group.
envTimebase - Variable in class se.lth.cs.realtime.Timebase
The time base of the surrounding system, such as the real world.
error(String) - Method in class se.lth.cs.realtime.event.RTEventBuffer
Takes care of InterruptedException.
events - Variable in class se.lth.cs.realtime.event.RTEventBuffer
The actual buffer.

F

fetchAt - Variable in class se.lth.cs.realtime.event.RTEventBuffer
Position of first element to fetch, if any.
FixedPeriod - interface se.lth.cs.realtime.FixedPeriod.
 
FixedPeriodException - exception se.lth.cs.realtime.FixedPeriodException.
 
FixedPeriodException() - Constructor for class se.lth.cs.realtime.FixedPeriodException
 
FixedPriority - interface se.lth.cs.realtime.FixedPriority.
 
FixedPriorityException - exception se.lth.cs.realtime.FixedPriorityException.
 
FixedPriorityException() - Constructor for class se.lth.cs.realtime.FixedPriorityException
 
flush() - Method in class se.lth.cs.realtime.event.RTEventBuffer
Removes all buffered events.
FrequencyExcessException - exception se.lth.cs.realtime.FrequencyExcessException.
 
FrequencyExcessException() - Constructor for class se.lth.cs.realtime.FrequencyExcessException
 

G

getListenerCount() - Method in class se.lth.cs.realtime.event.RTEventListenerList
Return the total number of listeners for this listenerList
getListenerList() - Method in class se.lth.cs.realtime.event.RTEventListenerList
Passes back the event listener list as an array of TaggedListeners.
getMaxPriority() - Method in class se.lth.cs.realtime.RTThreadGroup
Returns the maximum priority of this thread group.
getMaxSize() - Method in class se.lth.cs.realtime.event.RTEventBuffer
Gets the maximum size of the buffer.
getMillis() - Method in class se.lth.cs.realtime.event.RTEvent
Returns the event's time stamp in number of milli-seconds.
getMinPriority() - Method in class se.lth.cs.realtime.RTThreadGroup
Returns the minimum priority of this thread group.
getName() - Method in class se.lth.cs.realtime.RTThread
Returns this thread's name.
getName() - Method in class se.lth.cs.realtime.RTThreadGroup
Returns the name of this thread group.
getNanos() - Method in class se.lth.cs.realtime.event.RTEvent
Return the sub-milli part of the time-stamp, if any.
getParent() - Method in class se.lth.cs.realtime.RTThreadGroup
Returns the parent of this thread group.
getPeriod() - Method in class se.lth.cs.realtime.PeriodicThread
Returns the period of this thread, in milliseconds.
getPriority() - Method in class se.lth.cs.realtime.RTThread
Returns this thread's priority.
getRTThreadGroup() - Method in class se.lth.cs.realtime.RTThread
Returns this thread's RTThreadGroup.
getSeconds() - Method in class se.lth.cs.realtime.event.RTEvent
Returns the creation-time (or supplied time-stamp= of this event.
getShortestPeriod() - Method in class se.lth.cs.realtime.SporadicThread
Returns the shortest period of this thread, in milliseconds.
getTicks() - Method in class se.lth.cs.realtime.event.RTEvent
Returns the event's time stamp.
getTimebase() - Method in class se.lth.cs.realtime.event.RTEvent
Obtains the time-base relating (possibly locally counted) ticks or seconds to real time.
give() - Method in class se.lth.cs.realtime.semaphore.MutexSem
Sets the mutex to its unoccupied state and releases the first-in-queue blocked thread, if any.
give() - Method in class se.lth.cs.realtime.semaphore.MultistepSem
The same as give(1).
give() - Method in interface se.lth.cs.realtime.semaphore.Semaphore
Increments by 1 the counter represented by this semaphore, and notify at least one, if any, of the waiting threads.
give() - Method in class se.lth.cs.realtime.semaphore.CountingSem
Increments the internal counter by one and releases the first-in-queue blocked thread, if any.
give() - Method in class se.lth.cs.realtime.semaphore.BinarySem
Sets the internal flag to true and releases the first-in-queue blocked thread, if any.
give(int) - Method in class se.lth.cs.realtime.semaphore.MultistepSem
Increments the internal counter by the supplied number of steps and releases that many blocked thread, if any.
giveAll() - Method in class se.lth.cs.realtime.semaphore.MultistepSem
Increments the internal counter by the number of steps needed to release all blocked threads, if any.

I

interrupt() - Method in class se.lth.cs.realtime.RTThread
Interrupts this thread.
interrupt() - Method in class se.lth.cs.realtime.RTThreadGroup
Interrupts all threads in this thread group.
interrupted() - Static method in class se.lth.cs.realtime.RTThread
Tests if the current thread has been interrupted.
isAlive() - Method in class se.lth.cs.realtime.RTThread
Tests if this thread is alive.
isDaemon() - Method in class se.lth.cs.realtime.RTThread
Tests if this thread is a daemon thread.
isDaemon() - Method in class se.lth.cs.realtime.RTThreadGroup
Tests if this thread group is a daemon thread group.
isDestroyed() - Method in class se.lth.cs.realtime.RTThreadGroup
Tests if this thread group has been destroyed.
isEmpty() - Method in class se.lth.cs.realtime.event.RTEventBuffer
Checks if buffer is empty.
isFull() - Method in class se.lth.cs.realtime.event.RTEventBuffer
Checks if buffer is full.
isInterrupted() - Method in class se.lth.cs.realtime.RTThread
Tests if this thread has been interrupted.
isSuspended() - Method in class se.lth.cs.realtime.CyclicThread
Checks whether this thread is suspended.

J

join() - Method in class se.lth.cs.realtime.RTThread
Waits for this thread to die.
join(long) - Method in class se.lth.cs.realtime.RTThread
Waits at most millis milliseconds for this thread to die.
join(long, int) - Method in class se.lth.cs.realtime.RTThread
Waits at most millis milliseconds plus nanos nanoseconds for this thread to die.

L

list() - Method in class se.lth.cs.realtime.RTThreadGroup
Prints information about this thread group to the standard output.
listener - Variable in class se.lth.cs.realtime.event.RTEventListenerList.TaggedListener
The listener object.
listenerList - Variable in class se.lth.cs.realtime.RTThread
The list of the listeners of this thread.

M

mailbox - Variable in class se.lth.cs.realtime.RTThread
The event inbut buffer.
MAX_PRIORITY - Static variable in class se.lth.cs.realtime.RTThread
The maximum priority that a thread can have.
maxSizeR - Variable in class se.lth.cs.realtime.event.RTEventBuffer
Maximal queue size for Reading events.
maxSizeW - Variable in class se.lth.cs.realtime.event.RTEventBuffer
Maximal queue size, which is also the size for Writing/posting.
milliRate - Variable in class se.lth.cs.realtime.Timebase
Ticks per milli-second.
millis(long) - Method in class se.lth.cs.realtime.Timebase
Express the timestamp (number of ticks) in milli-seconds.
MIN_PRIORITY - Static variable in class se.lth.cs.realtime.RTThread
The minimum priority that a thread can have.
MultistepSem - class se.lth.cs.realtime.semaphore.MultistepSem.
Counting semaphore permitting increments and decrements that are greater than one.
MultistepSem() - Constructor for class se.lth.cs.realtime.semaphore.MultistepSem
Creates a new MultistepSem with the internal counter initialized to 0.
MultistepSem(int) - Constructor for class se.lth.cs.realtime.semaphore.MultistepSem
Creates a new MultistepSem, initializing it to the specified (possibly negative) number.
MutexSem - class se.lth.cs.realtime.semaphore.MutexSem.
A Semaphore with special support for MUTual EXclusion.
MutexSem() - Constructor for class se.lth.cs.realtime.semaphore.MutexSem
Creates a new MutexSem with the internal (boolean) access flag set to true.

N

nanoRate - Variable in class se.lth.cs.realtime.Timebase
Ticks per nano-seconds.
nanos(long) - Method in class se.lth.cs.realtime.Timebase
Express the timestamp in nano-seconds.

O

OngoingThread - class se.lth.cs.realtime.OngoingThread.
 
OngoingThread() - Constructor for class se.lth.cs.realtime.OngoingThread
Allocates a new OngoingThread.
OngoingThread(RTThreadGroup, Runnable) - Constructor for class se.lth.cs.realtime.OngoingThread
Allocates a new OngoingThread.
OngoingThread(RTThreadGroup, Runnable, String) - Constructor for class se.lth.cs.realtime.OngoingThread
Allocates a new OngoingThread.
OngoingThread(RTThreadGroup, String) - Constructor for class se.lth.cs.realtime.OngoingThread
Allocates a new OngoingThread.
OngoingThread(Runnable) - Constructor for class se.lth.cs.realtime.OngoingThread
Allocates a new OngoingThread.
OngoingThread(String) - Constructor for class se.lth.cs.realtime.OngoingThread
Allocates a new OngoingThread.
onResuming() - Method in class se.lth.cs.realtime.CyclicThread
Perform any adjustments required when resuming a thread.

P

pace() - Method in class se.lth.cs.realtime.Timebase
Rate of clock ticks per second.
paramString() - Method in class se.lth.cs.realtime.event.RTEvent
Return a string representation of the attributes/state of this object.
parentOf(RTThreadGroup) - Method in class se.lth.cs.realtime.RTThreadGroup
Tests if this thread group is either the thread group argument or one of its ancestor thread groups.
pendingTriggers - Variable in class se.lth.cs.realtime.SporadicThread
Checked in waitToPerform to let this thread stop waiting.
perform() - Method in class se.lth.cs.realtime.CyclicThread
Defines the action performed by this thread.
perform() - Method in class se.lth.cs.realtime.PeriodicThread
Does nothing.
perform() - Method in class se.lth.cs.realtime.SporadicThread
Does nothing.
PeriodicEvent - class se.lth.cs.realtime.event.PeriodicEvent.
Generic event used to trigger periodic activities in an event-driven fashion, as an alternative to using PeriodicThread which is time driven.
PeriodicEvent() - Constructor for class se.lth.cs.realtime.event.PeriodicEvent
Constructs an PeriodicEvent object with the current thread as source and a timestamp from the current system time.
PeriodicEvent(long) - Constructor for class se.lth.cs.realtime.event.PeriodicEvent
Constructs an PeriodicEvent object with the current thread as source and with the specified time stamp.
PeriodicEvent(Object) - Constructor for class se.lth.cs.realtime.event.PeriodicEvent
Constructs an PeriodicEvent object with the specified source object and a timestamp from the current system time.
PeriodicEvent(Object, long) - Constructor for class se.lth.cs.realtime.event.PeriodicEvent
Constructs an PeriodicEvent object with the specified source object and time stamp.
PeriodicEvent(Object, long, Timebase) - Constructor for class se.lth.cs.realtime.event.PeriodicEvent
Constructs an PeriodicEvent object with the specified source object and time-stamp with respect to the specified time-base.
PeriodicThread - class se.lth.cs.realtime.PeriodicThread.
This class models a real-time thread with periodic behaviour.
PeriodicThread(long) - Constructor for class se.lth.cs.realtime.PeriodicThread
Allocates a new PeriodicThread object.
PeriodicThread(RTThreadGroup, long) - Constructor for class se.lth.cs.realtime.PeriodicThread
Allocates a new PeriodicThread object.
PeriodicThread(RTThreadGroup, String, boolean, long) - Constructor for class se.lth.cs.realtime.PeriodicThread
Allocates a new PeriodicThread object.
PeriodicThread(RTThreadGroup, String, long) - Constructor for class se.lth.cs.realtime.PeriodicThread
Allocates a new PeriodicThread object.
PeriodicThread(String, long) - Constructor for class se.lth.cs.realtime.PeriodicThread
Allocates a new PeriodicThread object.
physicalSeconds(long) - Method in class se.lth.cs.realtime.Timebase
Obtain physical real-world time.
postAt - Variable in class se.lth.cs.realtime.event.RTEventBuffer
 
priority - Variable in class se.lth.cs.realtime.event.RTEventListenerList.TaggedListener
The priority of the listener.
putEvent(RTEvent) - Method in class se.lth.cs.realtime.RTThread
Put the time-stamped event in the input buffer of this thread.
putEvent(RTEvent) - Method in interface se.lth.cs.realtime.event.RTEventListener
The typical implementation of this method inserts the event into some kind of queue.

R

rate - Variable in class se.lth.cs.realtime.Timebase
Ticks per second.
remove(Class, EventListener) - Method in class se.lth.cs.realtime.event.RTEventListenerList
Remove the listener as a listener of the specified type.
resizing - Variable in class se.lth.cs.realtime.event.RTEventBuffer
Marks that setMaxSize is being evaluated.
resume() - Method in class se.lth.cs.realtime.CyclicThread
Asks a suspended thread to resume execution.
RTError - error se.lth.cs.realtime.RTError.
Unchecked exception to be thrown when handling time, concurrency, or resourses are interrupted or vilated in such a way that there is normally nothing better to do than closing down the application.
RTError(String) - Constructor for class se.lth.cs.realtime.RTError
 
RTEvent - class se.lth.cs.realtime.event.RTEvent.
The base class of real-time, i.e.
RTEvent() - Constructor for class se.lth.cs.realtime.event.RTEvent
Constructs an RTEvent object with the current thread as source and a timestamp from the current system time.
RTEvent(long) - Constructor for class se.lth.cs.realtime.event.RTEvent
Constructs an RTEvent object with the current thread as source and with the specified time stamp.
RTEvent(Object) - Constructor for class se.lth.cs.realtime.event.RTEvent
Constructs an RTEvent object with the specified source object and a timestamp from the current system time.
RTEvent(Object, long) - Constructor for class se.lth.cs.realtime.event.RTEvent
Constructs an RTEvent object with the specified source object and time stamp.
RTEvent(Object, long, Timebase) - Constructor for class se.lth.cs.realtime.event.RTEvent
Constructs an RTEvent object with the specified source object and time-stamp with respect to the specified time-base.
RTEventBuffer - class se.lth.cs.realtime.event.RTEventBuffer.
A basic queue/buffer for RTEvent objects.
RTEventBuffer(int) - Constructor for class se.lth.cs.realtime.event.RTEventBuffer
Initalizes the queue with a given maximal size.
RTEventListener - interface se.lth.cs.realtime.event.RTEventListener.
Interface for threads who can handle RTEvents.
RTEventListenerList - class se.lth.cs.realtime.event.RTEventListenerList.
A class which holds a list of RTEventListeners.
RTEventListenerList.TaggedListener - class se.lth.cs.realtime.event.RTEventListenerList.TaggedListener.
The element actually stored in the list of listeners.
RTEventListenerList.TaggedListener(RTEventListenerList, Class, EventListener, int) - Constructor for class se.lth.cs.realtime.event.RTEventListenerList.TaggedListener
Instantiates a TaggedListener.
RTEventListenerList() - Constructor for class se.lth.cs.realtime.event.RTEventListenerList
Instantiates a new RTEventListenerList.
RTInterrupted - error se.lth.cs.realtime.RTInterrupted.
Unchecked exception to be thrown instead of InterruptedException.
RTInterrupted(String) - Constructor for class se.lth.cs.realtime.RTInterrupted
 
RTThread - class se.lth.cs.realtime.RTThread.
This class defines a thread of execution in a real-time environment.
RTThread() - Constructor for class se.lth.cs.realtime.RTThread
Allocates a new RTThread object with a newly generated name in its father's RTThreadGroup.
RTThread(RTThreadGroup) - Constructor for class se.lth.cs.realtime.RTThread
Allocates a new RTThread object with a newly generated name.
RTThread(RTThreadGroup, String) - Constructor for class se.lth.cs.realtime.RTThread
Allocates a new RTThread object with the specified name in the specified RTThreadGroup.
RTThread(String) - Constructor for class se.lth.cs.realtime.RTThread
Allocates a new RTThread object with the specified name in its father's RTThreadGroup.
RTThreadEvent - class se.lth.cs.realtime.event.RTThreadEvent.
The class of a generic event originated in a RTThread.
RTThreadEvent(RTThread) - Constructor for class se.lth.cs.realtime.event.RTThreadEvent
Constructs a RTThreadEvent object with the specified source thread and identifier.
RTThreadGroup - class se.lth.cs.realtime.RTThreadGroup.
A thread group represents a set of threads.
RTThreadGroup(RTThreadGroup, String) - Constructor for class se.lth.cs.realtime.RTThreadGroup
Creates a new thread group.
RTThreadGroup(String) - Constructor for class se.lth.cs.realtime.RTThreadGroup
Constructs a new thread group.
RTThreadListener - interface se.lth.cs.realtime.event.RTThreadListener.
 
run() - Method in class se.lth.cs.realtime.RTThread
Corresponds to java.lang.Thread.run and has the same semantics.
run() - Method in class se.lth.cs.realtime.CyclicThread
Defines the behaviour of a cyclic thread.
run() - Method in class se.lth.cs.realtime.OngoingThread
 

S

scale - Variable in class se.lth.cs.realtime.Timebase
Seconds per tick.
se.lth.cs.realtime - package se.lth.cs.realtime
 
se.lth.cs.realtime.event - package se.lth.cs.realtime.event
 
se.lth.cs.realtime.semaphore - package se.lth.cs.realtime.semaphore
 
seconds(long) - Method in class se.lth.cs.realtime.Timebase
Express the timestamp (that is, number of clock ticks) in seconds.
Semaphore - interface se.lth.cs.realtime.semaphore.Semaphore.
Common methods of all types of semaphores, which implements the well-known basic primitive for synchronization and mutual exclusion within the field of concurrent and real-time programming.
SemInterrupted - error se.lth.cs.realtime.semaphore.SemInterrupted.
 
SemInterrupted(String) - Constructor for class se.lth.cs.realtime.semaphore.SemInterrupted
 
SemViolation - error se.lth.cs.realtime.semaphore.SemViolation.
 
SemViolation(String) - Constructor for class se.lth.cs.realtime.semaphore.SemViolation
 
setDaemon(boolean) - Method in class se.lth.cs.realtime.RTThread
Marks this thread as either a daemon thread or a user thread.
setDaemon(boolean) - Method in class se.lth.cs.realtime.RTThreadGroup
Changes the daemon status of this thread group.
setMaxPriority(int) - Method in class se.lth.cs.realtime.RTThreadGroup
Sets the maximum priority of the group.
setMaxSize(int) - Method in class se.lth.cs.realtime.event.RTEventBuffer
Changes size of buffer.
setMinPriority(int) - Method in class se.lth.cs.realtime.RTThreadGroup
Sets the minimum priority of the group.
setName(String) - Method in class se.lth.cs.realtime.RTThread
Changes the name of this thread to be equal to the argument name.
setPeriod(long) - Method in class se.lth.cs.realtime.PeriodicThread
Sets the period, in milliseconds, of this thread.
setPriority(int) - Method in class se.lth.cs.realtime.RTThread
Changes the priority of this thread.
setShortestPeriod(long) - Method in class se.lth.cs.realtime.SporadicThread
Sets the shortest period of this thread, in milliseconds.
sleep(long) - Static method in class se.lth.cs.realtime.RTThread
Causes the currently executing thread to sleep (temporarily cease execution) for the specified number of milliseconds.
sleep(long, int) - Static method in class se.lth.cs.realtime.RTThread
Causes the currently executing thread to sleep (cease execution) for the specified number of milliseconds plus the specified number of nanoseconds.
sleepUntil(long) - Static method in class se.lth.cs.realtime.RTThread
Causes the currently executing thread to sleep (temporarily cease execution) until the specified moment in time.
SporadicThread - class se.lth.cs.realtime.SporadicThread.
This class models a real-time thread that executes the same function every time it is triggered.
SporadicThread(long) - Constructor for class se.lth.cs.realtime.SporadicThread
Allocates a new SporadicThread object.
SporadicThread(RTThreadGroup, long) - Constructor for class se.lth.cs.realtime.SporadicThread
Allocates a new SporadicThread object.
SporadicThread(RTThreadGroup, String, boolean, long) - Constructor for class se.lth.cs.realtime.SporadicThread
Allocates a new SporadicThread object.
SporadicThread(RTThreadGroup, String, long) - Constructor for class se.lth.cs.realtime.SporadicThread
Allocates a new SporadicThread object.
SporadicThread(String, long) - Constructor for class se.lth.cs.realtime.SporadicThread
Allocates a new SporadicThread object.
start - Variable in class se.lth.cs.realtime.Timebase
The start of time, in milliseconds relative to beginning of 1970.
start() - Method in class se.lth.cs.realtime.RTThread
Causes this thread to begin execution.
start() - Method in class se.lth.cs.realtime.PeriodicThread
Overrides RTThread.start.
stop() - Method in class se.lth.cs.realtime.CyclicThread
Asks this thread to stop its execution.
suspend() - Method in class se.lth.cs.realtime.CyclicThread
Asks the thread to suspend its execution.

T

take() - Method in class se.lth.cs.realtime.semaphore.MutexSem
Causes the calling thread to block until the mutex semaphore can be taken.
take() - Method in class se.lth.cs.realtime.semaphore.MultistepSem
The same as take(1).
take() - Method in interface se.lth.cs.realtime.semaphore.Semaphore
Causes the calling thread to block until the counter that represents this semaphore obtains a positive value.
take() - Method in class se.lth.cs.realtime.semaphore.CountingSem
Causes the calling thread to wait until the counter represented by this semaphore assumes a positive value.
take() - Method in class se.lth.cs.realtime.semaphore.BinarySem
Causes the calling thread to block until the boolean flag represented by this semaphore is set to true.
take(int) - Method in class se.lth.cs.realtime.semaphore.MultistepSem
Causes the calling thread to block until the counter represented by this semaphore assumes a value greater than defined by the argument, that is, until that many resources are available.
ticker - Variable in class se.lth.cs.realtime.event.RTEvent
The time-base relating number of ticks to real time.
time0() - Method in class se.lth.cs.realtime.Timebase
The start of this time base, possibly relative to an enclosing time base, and expressed in seconds from beginning 1970.
Timebase - class se.lth.cs.realtime.Timebase.
The time-base class, mapping ticks to time.
Timebase() - Constructor for class se.lth.cs.realtime.Timebase
Constructor for default system time, using ticks for milli-seconds from beginning of 1970 as for System.currentTimeMillis().
Timebase(long, long) - Constructor for class se.lth.cs.realtime.Timebase
Constructor for a time base starting with time zero at origin and with pace system dependent ticks per milliseconds.
timestamp - Variable in class se.lth.cs.realtime.event.RTEvent
The time stamp of this event, in number of (system dependent) ticks.
toString() - Method in class se.lth.cs.realtime.RTThread
Returns a string representation of this thread, including the thread's name and priority.
toString() - Method in class se.lth.cs.realtime.CyclicThread
Returns a string representation of this thread, including the thread's name and priority.
toString() - Method in class se.lth.cs.realtime.PeriodicThread
Returns a string representation of this thread, including the thread's name, priority and period in milliseconds.
toString() - Method in class se.lth.cs.realtime.SporadicThread
Returns a string representation of this thread, including the thread's name, priority and shortest period in milliseconds.
toString() - Method in class se.lth.cs.realtime.RTThreadGroup
Returns a string representation of this Thread group.
toString() - Method in class se.lth.cs.realtime.event.RTEvent
Gives a string representation of the event object.
toString() - Method in class se.lth.cs.realtime.event.RTEventListenerList
Return a string representation of the RTEventListenerList.
trigger() - Method in class se.lth.cs.realtime.SporadicThread
Causes the execution of the perform method.
tryFetch() - Method in class se.lth.cs.realtime.event.RTEventBuffer
Returns the next available RTEvent in the queue, or null if the queue is empty.
tryPost(RTEvent) - Method in class se.lth.cs.realtime.event.RTEventBuffer
Adds an EventObject to the queue, without blocking if the queue is full.
tryTake(long) - Method in class se.lth.cs.realtime.semaphore.MutexSem
Try to take the semaphore but give up after a certain time.
tryTake(long) - Method in class se.lth.cs.realtime.semaphore.MultistepSem
Calling tryTake(maxtime)is the same as calling tryTake(maxtime,1).
tryTake(long) - Method in interface se.lth.cs.realtime.semaphore.Semaphore
Causes the calling thread to block until the counter that represents this semaphore obtains a positive value (just like the ordinary take method) or until the timeout time has passed.
tryTake(long) - Method in class se.lth.cs.realtime.semaphore.CountingSem
Try to take the semaphore but give up waiting after the timeout number of milliseconds.
tryTake(long) - Method in class se.lth.cs.realtime.semaphore.BinarySem
Try to take the semaphore but give up after a certain time.
tryTake(long, int) - Method in class se.lth.cs.realtime.semaphore.MultistepSem
Try to atomically take one or several resources within a certain time.
type - Variable in class se.lth.cs.realtime.event.RTEventListenerList.TaggedListener
The interface implemented by the object.

U

uncaughtException(Thread, Throwable) - Method in class se.lth.cs.realtime.RTThreadGroup
Called by the Java Virtual Machine when a thread in this thread group stops because of an uncaught exception.

W

waitToPerform() - Method in class se.lth.cs.realtime.CyclicThread
Defines the waiting policy of this thread.
waitToPerform() - Method in class se.lth.cs.realtime.PeriodicThread
Wait until the beginning of the next period.
waitToPerform() - Method in class se.lth.cs.realtime.SporadicThread
Lets this thread wait for a call to the function trigger.

Y

yield() - Static method in class se.lth.cs.realtime.RTThread
Causes the currently executing thread object to temporarily pause and allow other threads to execute.

A B C D E F G I J L M N O P R S T U W Y