8 #if !defined (__MASTERPORT_H__) 9 #define __MASTERPORT_H__ 13 #include <IOKit/IOKitLib.h> 27 static IONotificationPortRef
Get (
void);
35 virtual inline IONotificationPortRef
GetPortRef (
void)
const {
return mpMasterPort;}
36 virtual inline operator IONotificationPortRef ()
const {
return GetPortRef ();}
42 inline MasterPort & operator = (
const MasterPort & inRHS) {
if (&inRHS !=
this) assert (
false);
return *
this;}
46 IONotificationPortRef mpMasterPort;
50 #endif // __MASTERPORT_H__ static IONotificationPortRef Get(void)
AJARefPtr< MasterPort > MasterPortPtr
I am a reference-counted pointer template class. I am intended to be a proxy for an underlying object...
Defines the AJARefPtr template class.
static MasterPortPtr GetInstance(void)
virtual bool IsOkay(void) const
virtual IONotificationPortRef GetPortRef(void) const