Connect a callback to this event.
Adds a connection.
- Parameters
-
[in] | _subscriber | Pointer to a callback function. |
- Returns
- A Connection object, which will automatically call Disconnect when it goes out of scope.
- Parameters
-
[in] | _subscriber | the subscriber to connect. |
Referenced by Events::ConnectAddBuildingLevel(), Events::ConnectAddEntity(), Events::ConnectAlignMode(), Events::ConnectBeforePhysicsUpdate(), Events::ConnectBuildingNameChanged(), Events::ConnectChangeBuildingEditorZoom(), Events::ConnectChangeBuildingLevel(), Events::ConnectColorSelected(), Events::ConnectCreateBuildingEditorItem(), Events::ConnectCreateEntity(), Events::ConnectCreateScene(), Events::ConnectCreateSensor(), Events::ConnectDeleteBuildingLevel(), Events::ConnectDeleteEntity(), Events::ConnectDiagTimerStart(), Events::ConnectDiagTimerStop(), Events::ConnectEditModel(), Events::ConnectExitBuildingEditor(), Events::ConnectExitModelEditor(), Events::ConnectFinishBuildingModel(), Events::ConnectFinishModel(), Events::ConnectFollow(), Events::ConnectFPS(), Events::ConnectFullScreen(), Events::ConnectInputStepSize(), Events::ConnectJointChanged(), Events::ConnectJointInserted(), Events::ConnectJointNameChanged(), Events::ConnectJointRemoved(), Joint::ConnectJointUpdate(), Events::ConnectKeyPress(), Events::ConnectLeftPaneVisibility(), Events::ConnectLightUpdate(), Events::ConnectLinkInserted(), Events::ConnectLinkRemoved(), Events::ConnectMainWindowReady(), Events::ConnectManipMode(), Events::ConnectModelChanged(), Events::ConnectModelNameChanged(), Events::ConnectModelPluginInserted(), Events::ConnectModelPluginRemoved(), Events::ConnectModelPropertiesChanged(), Events::ConnectModelUpdate(), Events::ConnectMoveEntity(), Events::ConnectMoveMode(), Events::ConnectNestedModelInserted(), Events::ConnectNestedModelRemoved(), Events::ConnectNewBuildingEditor(), Events::ConnectNewBuildingModel(), MultiRayShape::ConnectNewLaserScans(), Events::ConnectNewLayer(), Events::ConnectNewModel(), Events::ConnectNewModelEditor(), Events::ConnectOpenJointInspector(), Events::ConnectOpenLinkInspector(), Events::ConnectOpenModelPluginInspector(), Events::ConnectOrbit(), Events::ConnectPause(), Events::ConnectPostRender(), Events::ConnectPreRender(), Events::ConnectRemoveScene(), Events::ConnectRemoveSensor(), Events::ConnectRender(), Events::ConnectRequestJointInsertion(), Events::ConnectRequestJointRemoval(), Events::ConnectRequestLinkInsertion(), Events::ConnectRequestLinkMove(), Events::ConnectRequestLinkRemoval(), Events::ConnectRequestLinkScale(), Events::ConnectRequestModelPluginInsertion(), Events::ConnectRequestModelPluginRemoval(), Events::ConnectRequestNestedModelInsertion(), Events::ConnectRequestNestedModelMove(), Events::ConnectRequestNestedModelRemoval(), Events::ConnectSaveAsBuildingEditor(), Events::ConnectSaveAsModelEditor(), Events::ConnectSaveBuildingEditor(), Events::ConnectSaveBuildingModel(), Events::ConnectSaveModel(), Events::ConnectSaveModelEditor(), Events::ConnectScaleEntity(), Events::ConnectSetSelectedEntity(), Events::ConnectSetSelectedJoint(), Events::ConnectSetSelectedModelPlugin(), Events::ConnectShowElements(), Events::ConnectShowFloorplan(), Events::ConnectShowJointContextMenu(), Events::ConnectShowLinkContextMenu(), Events::ConnectShowModelPluginContextMenu(), Events::ConnectShowToolbars(), Events::ConnectSigInt(), SimEventConnector::ConnectSpawnModel(), Events::ConnectStep(), Events::ConnectStop(), Events::ConnectTextureSelected(), Events::ConnectTimeReset(), Events::ConnectToggleEditMode(), Events::ConnectToggleLayer(), Connection::ConnectToShutdown(), Events::ConnectTriggerShowElements(), Events::ConnectTriggerShowFloorplan(), Events::ConnectUpdateLevelWidget(), Events::ConnectWindowMode(), Events::ConnectWorldCreated(), Events::ConnectWorldReset(), Events::ConnectWorldUpdateBegin(), and Events::ConnectWorldUpdateEnd().