Simplygon C++ API  8.3.35800.0
SimplygonSDK::robserver Class Referenceabstract

#include <SimplygonSDK.h>

Public Member Functions

virtual void Execute (IObject *subject, rid EventId, void *EventParameterBlock, unsigned int EventParameterBlockSize)=0
 

Detailed Description

The robserver class is used to receive events from an interface, by creating a class that implements the Execute method. By adding an object of the class into an interface using the AddObserver method, the Execute method will receive all events of the specified EventId

Definition at line 181 of file SimplygonSDK.h.

Member Function Documentation

◆ Execute()

virtual void SimplygonSDK::robserver::Execute ( IObject subject,
rid  EventId,
void *  EventParameterBlock,
unsigned int  EventParameterBlockSize 
)
pure virtual

The Execute method will receive all events that the robserver is registered to receive.

Parameters
subjectis the object that is sending the event
EventIdis the id of the sent event
EventParameterBlockpoints at a event-specific parameter data block
EventParameterBlockSizeis the size of the event-specific data block, which is useful if the Execute method passes the information on to another handler. Please note that if the block data is copied to another handler, the data may have to be copied back into the original block to be able to pass data back to the API class. This is however event-specific.

The documentation for this class was generated from the following file: