Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 11 BrowserDef : BrowserDef Operations : tibasBrowserDef_SetTimeScope()

tibasBrowserDef_SetTimeScope()
Function
Declaration
tibas_status tibasBrowserDef_SetTimeScope
(tibasBrowserDef browserDef,
int_timescope     timescope)
Purpose
Sets the time scope associated with a specified browserDef (browser).
Parameters
 
TIBAS_TIME_SCOPE_SNAPSHOT (the default value)
Remarks
Use the tibasBrowserDef_SetTimeScope() function to set the time scope associated with a specified browserDef and its associated browser.
The timescope parameter specifies the time scope for the browser, and can have one of one of the following values:
TIBAS_TIME_SCOPE_ALL Start the browser with all the tuples currently in the space and update it continuously updated when tuples are added.
TIBAS_TIME_SCOPE_SNAPSHOT Start the browser with all the tuples in the space at the time the browser is created (or initial values), but do not update it when new tuples are added. This is the default value.
TIBAS_TIME_SCOPE_NEW Start the browser with no tuples, but update it with new tuples that are created in the space.
TIBAS_TIME_SCOPE_NEW_EVENTS This value is only used with event browsers. The browser starts empty and is updated when new events occur.
See Also
tibasBrowserDef_Create(), tibasBrowserDef_CreateEx(), tibasBrowserDef_GetTimeScope()

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved