#include <videoservice.h>
Public Member Functions | |
VideoService (ServiceConfiguration *configuration) | |
![]() | |
UNPREFIXED_MODULE_NAME_INPUTCASE | Service (ServiceConfiguration *configuration) |
virtual void | shutdown () override |
Service (ServiceConfiguration *configuration) | |
virtual | ~Service () |
Core & | getCore () |
const Core & | getCore () const |
std::string | getTypeName () const |
const Module & | getModule () const |
Service (Service &)=delete | |
Service & | operator= (const Service &)=delete |
Service (Service &&)=delete | |
Service & | operator= (Service &&)=delete |
Protected Member Functions | |
virtual void | getDependentServices (std::vector< rtti::TypeInfo > &dependencies) override |
virtual bool | init (nap::utility::ErrorState &errorState) override |
virtual void | update (double deltaTime) override |
virtual void | registerObjectCreators (rtti::Factory &factory) override |
![]() | |
virtual void | created () |
virtual void | preUpdate (double deltaTime) |
virtual void | postUpdate (double deltaTime) |
virtual void | preShutdown () |
virtual void | shutdown () |
virtual void | preResourcesLoaded () |
virtual void | postResourcesLoaded () |
template<typename SERVICE_CONFIG > | |
SERVICE_CONFIG * | getConfiguration () |
template<typename SERVICE_CONFIG > | |
const SERVICE_CONFIG * | getConfiguration () const |
std::string | getIniFilePath () const |
std::string | getIniFilePath (const std::string &appendix) const |
Initializes the FFMPEG library (libavformat etc.) and registers all the codecs. This service also updates all system wide available video players
VideoService | ( | ServiceConfiguration * | configuration | ) |
|
overrideprotectedvirtual |
Use this call to register service dependencies A service that depends on another service is initialized after all it's associated dependencies This will ensure correct order of initialization, update calls and shutdown of all services
dependencies | rtti information of the services this service depends on |
Reimplemented from Service.
|
overrideprotectedvirtual |
Initializes the video service
errorState | contains the error message on failure |
Reimplemented from Service.
|
overrideprotectedvirtual |
Object creators associated with video module
Reimplemented from Service.
|
overrideprotectedvirtual |
Updates all registered video resources
Reimplemented from Service.