VR-Vantage
Loading...
Searching...
No Matches
rfxBaseProcess.h
Go to the documentation of this file.
1// ******************************************************************************
2// ** Copyright (c) 2024 MAK Technologies, Inc.
3// ** All rights reserved.
4// ******************************************************************************
5
10
11#pragma once
12
14
15namespace makVrv
16{
17 class DtDe;
19}
20
21namespace makRadarFx
22{
23 class DtBaseMessage;
24
28 {
29 public:
32
33 virtual ~DtBaseProcess();
34
36 virtual void tick() = 0;
37
39 virtual bool isReadyToProcess();
40
41 virtual bool isDone() = 0;
42
45
47 virtual void clearResponse();
48
50 virtual std::string requestorId();
51
53 virtual int requestId();
54
56 virtual void endRequest();
57
58 protected:
59
62
63 std::string myRequestorId;
65 };
66
79
80}
81
82
DtBaseMessage is the base class for all messages that can be sent between the server and the client.
Definition rfxMessage.h:26
virtual DtBaseProcess * create(DtBaseMessage *message)=0
abstract function that all concrete derived classes must implement
DtBaseProcess is the base class for all messages processes that can be sent between the server and th...
Definition rfxBaseProcess.h:28
int myRequestId
Definition rfxBaseProcess.h:64
virtual bool isDone()=0
makVrv::DtDe & myDe
Definition rfxBaseProcess.h:60
virtual void endRequest()
End the request, if applicable.
virtual bool isReadyToProcess()
is the capture process ready to capture the image
virtual void tick()=0
Tick needs to be called every frame to advance the capture process.
virtual void clearResponse()
clear the response (usually used after the response has been sent)
virtual DtBaseMessage * response()
return the response for the process
std::string myRequestorId
Definition rfxBaseProcess.h:63
DtBaseProcess(makVrv::DtDe &de)
CTOR/DTOR.
virtual int requestId()
The request id of this process.
virtual std::string requestorId()
The requestor name of this process.
DtBaseMessage * myResponse
Definition rfxBaseProcess.h:61
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer,...
Definition DtDe.h:77
Definition DtVideoFrameBuffer.h:21
#define DT_DLL_RFXSERVER
Definition include/radarFxServer/export.h:15
Definition radarFxConnector.h:28
Contains DtCreateSensorFieldOfViewCommand and DtCreateSensorFieldOfViewCommandCreator class declarati...
Definition DtGridLinesSettingsRecord.h:16