Programming Guide : 12. Inter-Frame Communication Techniques : How You Can Communicate Between OpenROAD Applications Using Database Events : DBEventObject
 
Share this page                  
DBEventObject
When an application receives a database event from the DBMS and places it on the native event queue, it also initializes a DBEventObject for each frame that is registered to receive the database event. The attributes of the DBEventObject contain the following information:
CurFrame.DBEvent.DBEventName
Contains the event's name
CurFrame.DBEvent.DBEventOwner
Contains the name of the event's owner
CurFrame.DBEvent.DBEventDatabase
Contains the database in which the event is stored
CurFrame.DBEvent.DBEventTime
Contains the date and time when the event was raised
CurFrame.DBEvent.DBEventText
Contains the text specified when the event was raised, if any
In the frame that receives the event, the values in the DBEventObject are only accessible in the event block that the frame executes for the event. In this block, you use the CurFrame variable to reference the event's DBEventObject.