30 #ifndef AVT_VMBAPI_SHAREDPOINTERDEFINES_H 31 #define AVT_VMBAPI_SHAREDPOINTERDEFINES_H 38 #ifndef USER_SHARED_POINTER 45 #define SP_DECL( T ) AVT::VmbAPI::shared_ptr<T> 46 #define SP_SET( sp, rawPtr ) (sp).reset( (rawPtr) ) 47 #define SP_RESET( sp ) (sp).reset() 48 #define SP_ISEQUAL( sp1, sp2 ) ( (sp1) == (sp2) ) 49 #define SP_ISNULL( sp ) ( NULL == (sp) ) 50 #define SP_ACCESS( sp ) (sp).get() 51 #define SP_DYN_CAST( sp, T ) AVT::VmbAPI::dynamic_pointer_cast<T>(sp) 63 class FeatureContainer;
64 typedef
SP_DECL( FeatureContainer ) FeatureContainerPtr;
66 class IFeatureObserver;
67 typedef
SP_DECL( IFeatureObserver ) IFeatureObserverPtr;
73 typedef
SP_DECL( FrameHandler ) FrameHandlerPtr;
76 typedef
SP_DECL( IFrameObserver ) IFrameObserverPtr;
83 typedef
SP_DECL( ICameraFactory ) ICameraFactoryPtr;
85 class ICameraListObserver;
86 typedef
SP_DECL( ICameraListObserver ) ICameraListObserverPtr;
88 class IInterfaceListObserver;
89 typedef
SP_DECL( IInterfaceListObserver ) IInterfaceListObserverPtr;
92 typedef
SP_DECL( Mutex ) MutexPtr;
95 typedef
SP_DECL( BasicLockable ) BasicLockablePtr;
104 #endif // AVT_VMBAPI_SHAREDPOINTERDEFINES_H NetPointer< Frame, AVT::VmbAPINET::Frame > FramePtr
typedef SP_DECL(Interface) InterfacePtr
NetPointer< AncillaryData, AVT::VmbAPINET::AncillaryData > AncillaryDataPtr
NetPointer< Feature, AVT::VmbAPINET::Feature > FeaturePtr
NetPointer< Camera, AVT::VmbAPINET::Camera > CameraPtr
NetPointer< Interface, AVT::VmbAPINET::Interface > InterfacePtr
NetPointer< AncillaryData, AVT::VmbAPINET::AncillaryData > ConstAncillaryDataPtr