Vault
4.1
|
VMessageFactory is an abstract base class that you must implement for purposes of giving an input thread a way to instantiate the correct concrete type of message. More...
#include <vmessage.h>
Public Member Functions | |
virtual VMessagePtr | instantiateNewMessage (VMessageID messageID=0) const =0 |
Must be implemented by subclass, to simply instantiate a new VMessage object of a concrete VMessage subclass type. |
VMessageFactory is an abstract base class that you must implement for purposes of giving an input thread a way to instantiate the correct concrete type of message.
All you have to do is implement the instantiateNewMessage() function to return a new VMessage of the desired subclass type.
Definition at line 210 of file vmessage.h.
virtual VMessagePtr VMessageFactory::instantiateNewMessage | ( | VMessageID | messageID = 0 | ) | const [pure virtual] |