CNiIviDriver |
Class |
Declared in: NiIviDriver.h |
Overview
CNiIviDriver is the base class from which all instrument driver classes inherit. CNiIviDriver provides functionality common to all instrument drivers.
Data Items
bool | DestructorClosesSession | Determines if the session associated with the object is closed when the object is destroyed. | |
CNiIviDriverOperation | DriverOperation | Properties that control the behavior of the specific driver. | |
CNiIviSpecificDriverIdentity | SpecificDriverIdentity | Information about the specific driver. | |
CNiIviUtility | Utility | Additional utility settings. |
Functions
inline void | Closes the driver session associated with the object. | ||
inline ViSession | GetSession() const |
Return the session associated with the object. | |
inline bool | SessionIsValid() const |
Indicates if the session associated with the object is valid. | |
inline void | SetSession( const CString& rsrcName, bool reset, bool idQuery, const CString& options = "", bool destructorClosesSession = true ) |
Constructor that creates a new session from the resource descriptor provided and assigns it to the object. | |
inline void | SetSession( ViSession vi, bool destructorClosesSession = false ) |
Sets the object session to the value provided. |