This class serves as a factory for creating DtRadioProcessor instances. Subclasses must implement the create() method to provide specific processor implementations.
#include <radioProcessor.h>
◆ DtRadioProcessorCreator()
| makVre::DtRadioProcessorCreator::DtRadioProcessorCreator |
( |
makVrv::DtBaseConnection & | conn | ) |
|
Constructor.
- Parameters
-
| conn | The connection the processor will use |
Creates a radio processor creator associated with the specified connection.
Referenced by instance(), and registerInstance().
◆ instance()
Gets the singleton creator instance for a connection.
- Parameters
-
| conn | The connection to get a creator for |
- Returns
- Reference to the creator instance
Returns the singleton creator instance for the specified connection.
References DtRadioProcessorCreator().
Referenced by registerInstance().
◆ registerInstance()
| static void makVre::DtRadioProcessorCreator::registerInstance |
( |
makVrv::DtBaseConnection & | conn, |
|
|
DtRadioProcessorCreator * | instance ) |
|
static |
Registers a creator instance with a specific connection.
- Parameters
-
| conn | The connection to register with |
| instance | The creator instance to register |
This static method registers a creator instance with a specific connection. The creator must be registered with the same connection it was created with.
References DtRadioProcessorCreator(), and instance().
◆ create()
| virtual DtRadioProcessor * makVre::DtRadioProcessorCreator::create |
( |
DtCommunicationManager * | manager | ) |
|
|
virtual |
Creates a new radio processor instance.
- Parameters
-
| manager | The communication manager to use with the processor |
- Returns
- Pointer to the newly created radio processor
Creates a new radio processor instance using the specified communication manager. This is a virtual method that must be implemented by subclasses.
◆ myVrlConn
| makVrv::DtBaseConnection& makVre::DtRadioProcessorCreator::myVrlConn |
|
protected |
Reference to the connection this creator is associated with.
The documentation for this class was generated from the following file: