#include <udpservice.h>
Public Member Functions | |
| UDPService (ServiceConfiguration *configuration) | |
Public Member Functions inherited from Service | |
| UNPREFIXED_MODULE_NAME_INPUTCASE | Service (ServiceConfiguration *configuration) |
| virtual void | getDependentServices (std::vector< rtti::TypeInfo > &dependencies) 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 | registerObjectCreators (rtti::Factory &factory) override |
| virtual bool | init (utility::ErrorState &error) override |
| virtual void | shutdown () override |
| virtual void | update (double deltaTime) override |
Protected Member Functions inherited from Service | |
| virtual void | getDependentServices (std::vector< rtti::TypeInfo > &dependencies) |
| virtual void | created () |
| virtual void | preUpdate (double deltaTime) |
| virtual void | postUpdate (double deltaTime) |
| virtual void | preShutdown () |
| 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 |
The UDPService is responsible for processing any UDPThreads that have registered themselves to receive an update call by the service. The Update Method of the UDPThread is set to "Main Thread" in that case
| UDPService | ( | ServiceConfiguration * | configuration | ) |
Default constructor
|
overrideprotectedvirtual |
initialization
| error | contains error information |
Reimplemented from Service.
|
overrideprotectedvirtual |
Registers all objects that need a specific way of construction
| factory | the factory to register the object creators with |
Reimplemented from Service.
|
overrideprotectedvirtual |
shuts down the service
Reimplemented from Service.
|
overrideprotectedvirtual |
update call wil call process on any registered UDPThreads
| deltaTime | time since last udpate |
Reimplemented from Service.