FBs ¶ PaintCmdAndEventListener (FunctionBlock) FB_Exit (Method) IVisuEventListener HandleEvent (Method) IVisuPaintCommandListener AfterPaint (Method) BeforePaint (Method) CyclicPaint (Method) Reset (Method) TicketsSafe (FunctionBlock) AddTicket (Method) CheckForExpired (Method) CreateTicket (Method) FB_Exit (Method) FB_Init (Method) GetFirstItem (Method) GetNextItem (Method) Init (Method) Private prvGetIterateItem (Method) RefreshForExpired (Method) RemoveTicket (Method) RemoveTicketAll (Method) UseTicket (Method) Verifier (FunctionBlock) CertNotAfter (Property) CertNotBefore (Property) CertRenew (Property) SetThumb (Method) VerCount (Property) VerifyCertificate (Method)
PaintCmdAndEventListener (FB) ¶ FUNCTION_BLOCK PaintCmdAndEventListener IMPLEMENTS IVisuPaintCommandListener, IVisuEventListener It implements the two interfaces to handle paint commands and event handling It’s used to handle all the ticket activities in redundancy In the event a request for a ID linked to a ticket is done, it the paint the answer is sent Methods: FB_Exit Reset AfterPaint BeforePaint CyclicPaint HandleEvent Structure: FB_Exit (Method) IVisuEventListener HandleEvent (Method) IVisuPaintCommandListener AfterPaint (Method) BeforePaint (Method) CyclicPaint (Method) Reset (Method)
PaintCmdAndEventListener.FB_Exit (METH) ¶ METHOD FB_Exit : BOOL FB_Exit must be implemented explicitly. If there is an implementation, then the method is called before the controller removes the code of the function block instance (implicit call). The return value is not evaluated. InOut: Scope Name Type Comment Return FB_Exit BOOL Input bInCopyCode BOOL TRUE: the exit method is called in order to leave the instance which will be copied afterwards (online change).
IVisuEventListener ¶ HandleEvent (Method)
PaintCmdAndEventListener.HandleEvent (METH) ¶ METHOD HandleEvent : BOOL It returns true if the even has been handled InOut: Scope Name Type Comment Return HandleEvent BOOL Input pClientData POINTER TO VisuStructClientData A pointer to a VisuStructClientData structure identifying the client used pEvent POINTER TO VisuStructEvent A pointer to a VisuStructEvent structure identifying the event iftSequentialMemReader ISequentialMemReader The interface to use to read the event data
IVisuPaintCommandListener ¶ AfterPaint (Method) BeforePaint (Method) CyclicPaint (Method)
TicketsSafe.AddTicket (METH) ¶ METHOD AddTicket Adds an existing ticket InOut: Scope Name Type Comment Input dwExternId DWORD External ID to link to the ticket sTicket TicketType Ticket
TicketsSafe.CheckForExpired (METH) ¶ METHOD CheckForExpired Check if for some tickets the use time is elapsed
TicketsSafe.CreateTicket (METH) ¶ METHOD CreateTicket : TicketType Creates and insert a new ticket InOut: Scope Name Type Comment Return CreateTicket TicketType Input dwExternId DWORD External ID to link to the ticket
TicketsSafe.FB_Exit (METH) ¶ METHOD FB_Exit : BOOL FB_Exit must be implemented explicitly. If there is an implementation, then the method is called before the controller removes the code of the function block instance (implicit call). The return value is not evaluated. InOut: Scope Name Type Comment Return FB_Exit BOOL Input bInCopyCode BOOL TRUE: the exit method is called in order to leave the instance which will be copied afterwards (online change).