Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
Session::resetEventCollector Method
Syntax
C++
void resetEventCollector(const EventCollectorPtr& eventCollector = EventCollectorPtr());

Sets an event collector object to handle error events in the runtime.

Parameters
Description
eventCollector
[out] A smart pointer to the custom event collector object.

When a custom event collector object was set, the default event collector become inactive, therefore the recording of error events is not working. To restore the default event collector and resume events recording, call this method without a parameter.

Copyright © 2002-2022. Open Design Alliance All rights reserved.