This reference page is linked to from the following overview topics: Your First Python Program.
Definition of the class FBPlug and related enums and utility functions. More...
#include
<kaydaradef.h>#include <object/i/icallback.h>#include <fbsdk/fbdefines.h>#include <fbsdk/fbscriptwrapper.h>Go to the source code of this file.
Definition of the class FBPlug and related enums and utility functions.
All the Open Reality objects that expose application objects will inherit from FBPlug.
Definition in file fbplug.h.
| #define FBSDK_DLL K_DLLIMPORT |
Be sure that FBSDK_DLL is defined only once...
| enum FBConnectionAction |
Possible actions when a notify plug event occurs.
Definition at line 70 of file fbplug.h.
{
// Connection notify actions
kFBRequestConnectSrc,
kFBRequestConnectDst,
kFBConnectSrc,
kFBConnectDst,
kFBConnectedSrc,
kFBConnectedDst,
kFBDisconnectSrc,
kFBDisconnectDst,
kFBDisconnectedSrc,
kFBDisconnectedDst,
kFBBeginReplaceSrc,
kFBEndReplaceSrc,
kFBBeginReplaceDst,
kFBEndReplaceDst,
kFBReorderSrc,
kFBReorderedSrc,
kFBBeginChange,
kFBEndChange,
kFBConnectedOwner,
kFBDisconnectOwner,
// Data notify actions
kFBCandidate,
kFBCandidated,
kFBCandidateGlobal,
// State notify actions
kFBDetached,
kFBDestroy,
kFBSelect,
kFBUnselect,
kFBReselect,
kFBRename,
kFBRenamed,
kFBPrefixRename,
kFBPrefixRenamed,
kFBDescription,
// for backward compatibility
kFBConnect = kFBConnectSrc,
kFBConnected = kFBConnectedSrc,
kFBDisconnect = kFBDisconnectSrc,
kFBDisconnected = kFBDisconnectedSrc
};
| enum FBConnectionType |
| FB_FORWARD | ( | FBPlug | ) |
| FBSDK_DLL bool FBConnect | ( | HFBPlug | pSrc, |
| HFBPlug | pDst, | ||
| FBConnectionType | pConnectionType =
kFBConnectionTypeNone |
||
| ) |
Request the connection two FBPlug objects.
| pSrc | Source plug. |
| pDst | Destination plug. |
| pConnectionType | Type of connection, taken from FBConnectionType. |
| FBSDK_DLL bool FBDisconnect | ( | HFBPlug | pSrc, |
| HFBPlug | pDst | ||
| ) |
Connect two FBPlug objects.
| pSrc | Source plug. |
| pDst | Destination plug. |