QServiceLocator Class | Qt 3D 5.6

Qt 5.6 | Qt 3D | C++ Classes | QServiceLocator

Qt 5.6.2 Reference Documentation

# QServiceLocator Class

(Qt3DCore::QServiceLocator)

- List of all members, including inherited members

## Public Types

enum | ServiceType { SystemInformation, OpenGLInformation, CollisionService, FrameAdvanceService, EventFilterService, UserService }

## Public Functions

| QServiceLocator()
| ~QServiceLocator()
QEventFilterService * | eventFilterService()
QAbstractFrameAdvanceService * | frameAdvanceService()
QOpenGLInformationService * | openGLInformation()
void | registerServiceProvider(int serviceType, QAbstractServiceProvider *provider)
T * | service(int serviceType)
int | serviceCount() const
QSystemInformationService * | systemInformation()
void | unregisterServiceProvider(int serviceType)

## Member Type Documentation

### enum QServiceLocator::ServiceType

## Member Function Documentation

### QServiceLocator::QServiceLocator()

Default constructs an instance of QServiceLocator.

### QServiceLocator::~QServiceLocator()

Destroys the instance of QServiceLocator.

### QEventFilterService *QServiceLocator::eventFilterService()

### QAbstractFrameAdvanceService *QServiceLocator::frameAdvanceService()

### QOpenGLInformationService *QServiceLocator::openGLInformation()

### void QServiceLocator::registerServiceProvider(int serviceType, QAbstractServiceProvider *provider)

### T *QServiceLocator::service(int serviceType)

### int QServiceLocator::serviceCount() const

### QSystemInformationService *QServiceLocator::systemInformation()

### void QServiceLocator::unregisterServiceProvider(int serviceType)