NDEVR
API Documentation
NDVSetupCallback

A callback service used to modify Model objects when they are imported using the NDVFactory. More...

Inheritance diagram for NDVSetupCallback:
[legend]
Collaboration diagram for NDVSetupCallback:
[legend]

Public Member Functions

 NDVSetupCallback (std::function< void(Model &)> callback)
 Constructs an NDVSetupCallback with the given callback function.

Public Attributes

std::function< void(Model &)> callback
 The function invoked on each Model during NDV import.

Detailed Description

A callback service used to modify Model objects when they are imported using the NDVFactory.


Registered callbacks are invoked on each Model as it is read from an NDV file, allowing post-import customization or fixup of the model hierarchy.

Definition at line 51 of file NDVFactory.h.

Constructor & Destructor Documentation

◆ NDVSetupCallback()

NDVSetupCallback::NDVSetupCallback ( std::function< void(Model &)> callback)
inline

Constructs an NDVSetupCallback with the given callback function.


Parameters
[in]callbackThe function to invoke on each imported Model.

Definition at line 58 of file NDVFactory.h.

References callback.


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