| 1 |
{ -*- buffer-read-only: t -*- |
| 2 |
|
| 3 |
Copyright 2015-2024 Michalis Kamburelis. |
| 4 |
|
| 5 |
This file is part of "Castle Game Engine". |
| 6 |
|
| 7 |
"Castle Game Engine" is free software; see the file COPYING.txt, |
| 8 |
included in this distribution, for details about the copyright. |
| 9 |
|
| 10 |
"Castle Game Engine" is distributed in the hope that it will be useful, |
| 11 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 13 |
|
| 14 |
---------------------------------------------------------------------------- |
| 15 |
} |
| 16 |
|
| 17 |
{ Automatically generated node properties. |
| 18 |
|
| 19 |
Do not edit this file manually! |
| 20 |
To add new properties: |
| 21 |
- add them to the text files in tools/internal/x3d-nodes-to-pascal/nodes-specification/ , |
| 22 |
- and regenerate include files by running x3d-nodes-to-pascal } |
| 23 |
|
| 24 |
{$ifdef read_interface} |
| 25 |
|
| 26 |
strict private |
| 27 |
function GetAddress: String; |
| 28 |
procedure SetAddress(const Value: String); |
| 29 |
function GetApplicationID: Integer; |
| 30 |
procedure SetApplicationID(const Value: Integer); |
| 31 |
function GetEntityID: Integer; |
| 32 |
procedure SetEntityID(const Value: Integer); |
| 33 |
function GetMulticastRelayHost: String; |
| 34 |
procedure SetMulticastRelayHost(const Value: String); |
| 35 |
function GetMulticastRelayPort: Integer; |
| 36 |
procedure SetMulticastRelayPort(const Value: Integer); |
| 37 |
function GetNetworkMode: TDISNetworkMode; |
| 38 |
procedure SetNetworkMode(const Value: TDISNetworkMode); |
| 39 |
function GetPort: Integer; |
| 40 |
procedure SetPort(const Value: Integer); |
| 41 |
function GetRadioID: Integer; |
| 42 |
procedure SetRadioID(const Value: Integer); |
| 43 |
function GetReadInterval: Single; |
| 44 |
procedure SetReadInterval(const Value: Single); |
| 45 |
function GetReceivedPower: Single; |
| 46 |
procedure SetReceivedPower(const Value: Single); |
| 47 |
function GetReceiverState: Integer; |
| 48 |
procedure SetReceiverState(const Value: Integer); |
| 49 |
function GetRtpHeaderExpected: Boolean; |
| 50 |
procedure SetRtpHeaderExpected(const Value: Boolean); |
| 51 |
function GetSiteID: Integer; |
| 52 |
procedure SetSiteID(const Value: Integer); |
| 53 |
function GetTransmitterApplicationID: Integer; |
| 54 |
procedure SetTransmitterApplicationID(const Value: Integer); |
| 55 |
function GetTransmitterEntityID: Integer; |
| 56 |
procedure SetTransmitterEntityID(const Value: Integer); |
| 57 |
function GetTransmitterRadioID: Integer; |
| 58 |
procedure SetTransmitterRadioID(const Value: Integer); |
| 59 |
function GetTransmitterSiteID: Integer; |
| 60 |
procedure SetTransmitterSiteID(const Value: Integer); |
| 61 |
function GetWhichGeometry: Integer; |
| 62 |
procedure SetWhichGeometry(const Value: Integer); |
| 63 |
function GetWriteInterval: Single; |
| 64 |
procedure SetWriteInterval(const Value: Single); |
| 65 |
function GetBBox: TBox3D; |
| 66 |
procedure SetBBox(const Value: TBox3D); |
| 67 |
public |
| 68 |
{ Create node fields and events. } |
| 69 |
procedure CreateNode; override; |
| 70 |
class function ClassX3DType: String; override; |
| 71 |
|
| 72 |
strict private FFdAddress: TSFString; |
| 73 |
{ Internal wrapper for property @code(Address). This wrapper API may change, we advise to access simpler @code(Address) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). } |
| 74 |
public property FdAddress: TSFString read FFdAddress; |
| 75 |
{ } |
| 76 |
property Address: String read GetAddress write SetAddress; |
| 77 |
|
| 78 |
strict private FFdApplicationID: TSFInt32; |
| 79 |
{ Internal wrapper for property @code(ApplicationID). This wrapper API may change, we advise to access simpler @code(ApplicationID) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). } |
| 80 |
public property FdApplicationID: TSFInt32 read FFdApplicationID; |
| 81 |
{ } |
| 82 |
property ApplicationID: Integer read GetApplicationID write SetApplicationID; |
| 83 |
|
| 84 |
strict private FFdEntityID: TSFInt32; |
| 85 |
{ Internal wrapper for property @code(EntityID). This wrapper API may change, we advise to access simpler @code(EntityID) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). } |
| 86 |
public property FdEntityID: TSFInt32 read FFdEntityID; |
| 87 |
{ } |
| 88 |
property EntityID: Integer read GetEntityID write SetEntityID; |
| 89 |
|
| 90 |
strict private FFdMulticastRelayHost: TSFString; |
| 91 |
{ Internal wrapper for property @code(MulticastRelayHost). This wrapper API may change, we advise to access simpler @code(MulticastRelayHost) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). } |
| 92 |
public property FdMulticastRelayHost: TSFString read FFdMulticastRelayHost; |
| 93 |
{ } |
| 94 |
property MulticastRelayHost: String read GetMulticastRelayHost write SetMulticastRelayHost; |
| 95 |
|
| 96 |
strict private FFdMulticastRelayPort: TSFInt32; |
| 97 |
{ Internal wrapper for property @code(MulticastRelayPort). This wrapper API may change, we advise to access simpler @code(MulticastRelayPort) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). } |
| 98 |
public property FdMulticastRelayPort: TSFInt32 read FFdMulticastRelayPort; |
| 99 |
{ } |
| 100 |
property MulticastRelayPort: Integer read GetMulticastRelayPort write SetMulticastRelayPort; |
| 101 |
|
| 102 |
strict private FFdNetworkMode: TSFStringEnum; |
| 103 |
{ Internal wrapper for property @code(NetworkMode). This wrapper API may change, we advise to access simpler @code(NetworkMode) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). } |
| 104 |
public property FdNetworkMode: TSFStringEnum read FFdNetworkMode; |
| 105 |
{ } |
| 106 |
property NetworkMode: TDISNetworkMode read GetNetworkMode write SetNetworkMode; |
| 107 |
|
| 108 |
strict private FFdPort: TSFInt32; |
| 109 |
{ Internal wrapper for property @code(Port). This wrapper API may change, we advise to access simpler @code(Port) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). } |
| 110 |
public property FdPort: TSFInt32 read FFdPort; |
| 111 |
{ } |
| 112 |
property Port: Integer read GetPort write SetPort; |
| 113 |
|
| 114 |
strict private FFdRadioID: TSFInt32; |
| 115 |
{ Internal wrapper for property @code(RadioID). This wrapper API may change, we advise to access simpler @code(RadioID) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). } |
| 116 |
public property FdRadioID: TSFInt32 read FFdRadioID; |
| 117 |
{ } |
| 118 |
property RadioID: Integer read GetRadioID write SetRadioID; |
| 119 |
|
| 120 |
strict private FFdReadInterval: TSFFloat; |
| 121 |
{ Internal wrapper for property @code(ReadInterval). This wrapper API may change, we advise to access simpler @code(ReadInterval) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). } |
| 122 |
public property FdReadInterval: TSFFloat read FFdReadInterval; |
| 123 |
{ } |
| 124 |
property ReadInterval: Single read GetReadInterval write SetReadInterval; |
| 125 |
|
| 126 |
strict private FFdReceivedPower: TSFFloat; |
| 127 |
{ Internal wrapper for property @code(ReceivedPower). This wrapper API may change, we advise to access simpler @code(ReceivedPower) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). } |
| 128 |
public property FdReceivedPower: TSFFloat read FFdReceivedPower; |
| 129 |
{ } |
| 130 |
property ReceivedPower: Single read GetReceivedPower write SetReceivedPower; |
| 131 |
|
| 132 |
strict private FFdReceiverState: TSFInt32; |
| 133 |
{ Internal wrapper for property @code(ReceiverState). This wrapper API may change, we advise to access simpler @code(ReceiverState) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). } |
| 134 |
public property FdReceiverState: TSFInt32 read FFdReceiverState; |
| 135 |
{ } |
| 136 |
property ReceiverState: Integer read GetReceiverState write SetReceiverState; |
| 137 |
|
| 138 |
strict private FFdRtpHeaderExpected: TSFBool; |
| 139 |
{ Internal wrapper for property @code(RtpHeaderExpected). This wrapper API may change, we advise to access simpler @code(RtpHeaderExpected) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). } |
| 140 |
public property FdRtpHeaderExpected: TSFBool read FFdRtpHeaderExpected; |
| 141 |
{ } |
| 142 |
property RtpHeaderExpected: Boolean read GetRtpHeaderExpected write SetRtpHeaderExpected; |
| 143 |
|
| 144 |
strict private FFdSiteID: TSFInt32; |
| 145 |
{ Internal wrapper for property @code(SiteID). This wrapper API may change, we advise to access simpler @code(SiteID) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). } |
| 146 |
public property FdSiteID: TSFInt32 read FFdSiteID; |
| 147 |
{ } |
| 148 |
property SiteID: Integer read GetSiteID write SetSiteID; |
| 149 |
|
| 150 |
strict private FFdTransmitterApplicationID: TSFInt32; |
| 151 |
{ Internal wrapper for property @code(TransmitterApplicationID). This wrapper API may change, we advise to access simpler @code(TransmitterApplicationID) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). } |
| 152 |
public property FdTransmitterApplicationID: TSFInt32 read FFdTransmitterApplicationID; |
| 153 |
{ } |
| 154 |
property TransmitterApplicationID: Integer read GetTransmitterApplicationID write SetTransmitterApplicationID; |
| 155 |
|
| 156 |
strict private FFdTransmitterEntityID: TSFInt32; |
| 157 |
{ Internal wrapper for property @code(TransmitterEntityID). This wrapper API may change, we advise to access simpler @code(TransmitterEntityID) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). } |
| 158 |
public property FdTransmitterEntityID: TSFInt32 read FFdTransmitterEntityID; |
| 159 |
{ } |
| 160 |
property TransmitterEntityID: Integer read GetTransmitterEntityID write SetTransmitterEntityID; |
| 161 |
|
| 162 |
strict private FFdTransmitterRadioID: TSFInt32; |
| 163 |
{ Internal wrapper for property @code(TransmitterRadioID). This wrapper API may change, we advise to access simpler @code(TransmitterRadioID) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). } |
| 164 |
public property FdTransmitterRadioID: TSFInt32 read FFdTransmitterRadioID; |
| 165 |
{ } |
| 166 |
property TransmitterRadioID: Integer read GetTransmitterRadioID write SetTransmitterRadioID; |
| 167 |
|
| 168 |
strict private FFdTransmitterSiteID: TSFInt32; |
| 169 |
{ Internal wrapper for property @code(TransmitterSiteID). This wrapper API may change, we advise to access simpler @code(TransmitterSiteID) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). } |
| 170 |
public property FdTransmitterSiteID: TSFInt32 read FFdTransmitterSiteID; |
| 171 |
{ } |
| 172 |
property TransmitterSiteID: Integer read GetTransmitterSiteID write SetTransmitterSiteID; |
| 173 |
|
| 174 |
strict private FFdWhichGeometry: TSFInt32; |
| 175 |
{ Internal wrapper for property @code(WhichGeometry). This wrapper API may change, we advise to access simpler @code(WhichGeometry) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). } |
| 176 |
public property FdWhichGeometry: TSFInt32 read FFdWhichGeometry; |
| 177 |
{ } |
| 178 |
property WhichGeometry: Integer read GetWhichGeometry write SetWhichGeometry; |
| 179 |
|
| 180 |
strict private FFdWriteInterval: TSFFloat; |
| 181 |
{ Internal wrapper for property @code(WriteInterval). This wrapper API may change, we advise to access simpler @code(WriteInterval) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). } |
| 182 |
public property FdWriteInterval: TSFFloat read FFdWriteInterval; |
| 183 |
{ } |
| 184 |
property WriteInterval: Single read GetWriteInterval write SetWriteInterval; |
| 185 |
|
| 186 |
strict private FEventIsNetworkReader: TSFBoolEvent; |
| 187 |
{ } |
| 188 |
public property EventIsNetworkReader: TSFBoolEvent read FEventIsNetworkReader; |
| 189 |
|
| 190 |
strict private FEventIsNetworkWriter: TSFBoolEvent; |
| 191 |
{ } |
| 192 |
public property EventIsNetworkWriter: TSFBoolEvent read FEventIsNetworkWriter; |
| 193 |
|
| 194 |
strict private FEventIsRtpHeaderHeard: TSFBoolEvent; |
| 195 |
{ } |
| 196 |
public property EventIsRtpHeaderHeard: TSFBoolEvent read FEventIsRtpHeaderHeard; |
| 197 |
|
| 198 |
strict private FEventIsStandAlone: TSFBoolEvent; |
| 199 |
{ } |
| 200 |
public property EventIsStandAlone: TSFBoolEvent read FEventIsStandAlone; |
| 201 |
|
| 202 |
strict private FEventTimestamp: TSFTimeEvent; |
| 203 |
{ } |
| 204 |
public property EventTimestamp: TSFTimeEvent read FEventTimestamp; |
| 205 |
|
| 206 |
strict private FFdBboxCenter: TSFVec3f; |
| 207 |
{ Internal wrapper for property @code(BboxCenter). This wrapper API may change, we advise to access simpler @code(BboxCenter) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). } |
| 208 |
public property FdBboxCenter: TSFVec3f read FFdBboxCenter; |
| 209 |
{ } |
| 210 |
property BBox: TBox3D read GetBBox write SetBBox; |
| 211 |
|
| 212 |
strict private FFdBboxSize: TSFVec3f; |
| 213 |
{ Internal wrapper for property @code(BboxSize). This wrapper API may change, we advise to access simpler @code(BboxSize) instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart). } |
| 214 |
public property FdBboxSize: TSFVec3f read FFdBboxSize; |
| 215 |
|
| 216 |
{$endif read_interface} |
| 217 |
|
| 218 |
{$ifdef read_implementation} |
| 219 |
|
| 220 |
{ TReceiverPduNode ----------------------------------------------- } |
| 221 |
|
| 222 |
function TReceiverPduNode.GetAddress: String; |
| 223 |
begin |
| 224 |
Result := FdAddress.Value; |
| 225 |
end; |
| 226 |
|
| 227 |
procedure TReceiverPduNode.SetAddress(const Value: String); |
| 228 |
begin |
| 229 |
FdAddress.Send(Value); |
| 230 |
end; |
| 231 |
|
| 232 |
function TReceiverPduNode.GetApplicationID: Integer; |
| 233 |
begin |
| 234 |
Result := FdApplicationID.Value; |
| 235 |
end; |
| 236 |
|
| 237 |
procedure TReceiverPduNode.SetApplicationID(const Value: Integer); |
| 238 |
begin |
| 239 |
FdApplicationID.Send(Value); |
| 240 |
end; |
| 241 |
|
| 242 |
function TReceiverPduNode.GetEntityID: Integer; |
| 243 |
begin |
| 244 |
Result := FdEntityID.Value; |
| 245 |
end; |
| 246 |
|
| 247 |
procedure TReceiverPduNode.SetEntityID(const Value: Integer); |
| 248 |
begin |
| 249 |
FdEntityID.Send(Value); |
| 250 |
end; |
| 251 |
|
| 252 |
function TReceiverPduNode.GetMulticastRelayHost: String; |
| 253 |
begin |
| 254 |
Result := FdMulticastRelayHost.Value; |
| 255 |
end; |
| 256 |
|
| 257 |
procedure TReceiverPduNode.SetMulticastRelayHost(const Value: String); |
| 258 |
begin |
| 259 |
FdMulticastRelayHost.Send(Value); |
| 260 |
end; |
| 261 |
|
| 262 |
function TReceiverPduNode.GetMulticastRelayPort: Integer; |
| 263 |
begin |
| 264 |
Result := FdMulticastRelayPort.Value; |
| 265 |
end; |
| 266 |
|
| 267 |
procedure TReceiverPduNode.SetMulticastRelayPort(const Value: Integer); |
| 268 |
begin |
| 269 |
FdMulticastRelayPort.Send(Value); |
| 270 |
end; |
| 271 |
|
| 272 |
function TReceiverPduNode.GetNetworkMode: TDISNetworkMode; |
| 273 |
begin |
| 274 |
Result := TDISNetworkMode(FdNetworkMode.EnumValue); |
| 275 |
end; |
| 276 |
|
| 277 |
procedure TReceiverPduNode.SetNetworkMode(const Value: TDISNetworkMode); |
| 278 |
begin |
| 279 |
FdNetworkMode.SendEnumValue(Ord(Value)); |
| 280 |
end; |
| 281 |
|
| 282 |
function TReceiverPduNode.GetPort: Integer; |
| 283 |
begin |
| 284 |
Result := FdPort.Value; |
| 285 |
end; |
| 286 |
|
| 287 |
procedure TReceiverPduNode.SetPort(const Value: Integer); |
| 288 |
begin |
| 289 |
FdPort.Send(Value); |
| 290 |
end; |
| 291 |
|
| 292 |
function TReceiverPduNode.GetRadioID: Integer; |
| 293 |
begin |
| 294 |
Result := FdRadioID.Value; |
| 295 |
end; |
| 296 |
|
| 297 |
procedure TReceiverPduNode.SetRadioID(const Value: Integer); |
| 298 |
begin |
| 299 |
FdRadioID.Send(Value); |
| 300 |
end; |
| 301 |
|
| 302 |
function TReceiverPduNode.GetReadInterval: Single; |
| 303 |
begin |
| 304 |
Result := FdReadInterval.Value; |
| 305 |
end; |
| 306 |
|
| 307 |
procedure TReceiverPduNode.SetReadInterval(const Value: Single); |
| 308 |
begin |
| 309 |
FdReadInterval.Send(Value); |
| 310 |
end; |
| 311 |
|
| 312 |
function TReceiverPduNode.GetReceivedPower: Single; |
| 313 |
begin |
| 314 |
Result := FdReceivedPower.Value; |
| 315 |
end; |
| 316 |
|
| 317 |
procedure TReceiverPduNode.SetReceivedPower(const Value: Single); |
| 318 |
begin |
| 319 |
FdReceivedPower.Send(Value); |
| 320 |
end; |
| 321 |
|
| 322 |
function TReceiverPduNode.GetReceiverState: Integer; |
| 323 |
begin |
| 324 |
Result := FdReceiverState.Value; |
| 325 |
end; |
| 326 |
|
| 327 |
procedure TReceiverPduNode.SetReceiverState(const Value: Integer); |
| 328 |
begin |
| 329 |
FdReceiverState.Send(Value); |
| 330 |
end; |
| 331 |
|
| 332 |
function TReceiverPduNode.GetRtpHeaderExpected: Boolean; |
| 333 |
begin |
| 334 |
Result := FdRtpHeaderExpected.Value; |
| 335 |
end; |
| 336 |
|
| 337 |
procedure TReceiverPduNode.SetRtpHeaderExpected(const Value: Boolean); |
| 338 |
begin |
| 339 |
FdRtpHeaderExpected.Send(Value); |
| 340 |
end; |
| 341 |
|
| 342 |
function TReceiverPduNode.GetSiteID: Integer; |
| 343 |
begin |
| 344 |
Result := FdSiteID.Value; |
| 345 |
end; |
| 346 |
|
| 347 |
procedure TReceiverPduNode.SetSiteID(const Value: Integer); |
| 348 |
begin |
| 349 |
FdSiteID.Send(Value); |
| 350 |
end; |
| 351 |
|
| 352 |
function TReceiverPduNode.GetTransmitterApplicationID: Integer; |
| 353 |
begin |
| 354 |
Result := FdTransmitterApplicationID.Value; |
| 355 |
end; |
| 356 |
|
| 357 |
procedure TReceiverPduNode.SetTransmitterApplicationID(const Value: Integer); |
| 358 |
begin |
| 359 |
FdTransmitterApplicationID.Send(Value); |
| 360 |
end; |
| 361 |
|
| 362 |
function TReceiverPduNode.GetTransmitterEntityID: Integer; |
| 363 |
begin |
| 364 |
Result := FdTransmitterEntityID.Value; |
| 365 |
end; |
| 366 |
|
| 367 |
procedure TReceiverPduNode.SetTransmitterEntityID(const Value: Integer); |
| 368 |
begin |
| 369 |
FdTransmitterEntityID.Send(Value); |
| 370 |
end; |
| 371 |
|
| 372 |
function TReceiverPduNode.GetTransmitterRadioID: Integer; |
| 373 |
begin |
| 374 |
Result := FdTransmitterRadioID.Value; |
| 375 |
end; |
| 376 |
|
| 377 |
procedure TReceiverPduNode.SetTransmitterRadioID(const Value: Integer); |
| 378 |
begin |
| 379 |
FdTransmitterRadioID.Send(Value); |
| 380 |
end; |
| 381 |
|
| 382 |
function TReceiverPduNode.GetTransmitterSiteID: Integer; |
| 383 |
begin |
| 384 |
Result := FdTransmitterSiteID.Value; |
| 385 |
end; |
| 386 |
|
| 387 |
procedure TReceiverPduNode.SetTransmitterSiteID(const Value: Integer); |
| 388 |
begin |
| 389 |
FdTransmitterSiteID.Send(Value); |
| 390 |
end; |
| 391 |
|
| 392 |
function TReceiverPduNode.GetWhichGeometry: Integer; |
| 393 |
begin |
| 394 |
Result := FdWhichGeometry.Value; |
| 395 |
end; |
| 396 |
|
| 397 |
procedure TReceiverPduNode.SetWhichGeometry(const Value: Integer); |
| 398 |
begin |
| 399 |
FdWhichGeometry.Send(Value); |
| 400 |
end; |
| 401 |
|
| 402 |
function TReceiverPduNode.GetWriteInterval: Single; |
| 403 |
begin |
| 404 |
Result := FdWriteInterval.Value; |
| 405 |
end; |
| 406 |
|
| 407 |
procedure TReceiverPduNode.SetWriteInterval(const Value: Single); |
| 408 |
begin |
| 409 |
FdWriteInterval.Send(Value); |
| 410 |
end; |
| 411 |
|
| 412 |
function TReceiverPduNode.GetBBox: TBox3D; |
| 413 |
begin |
| 414 |
Result := TBox3D.FromCenterSize(FdBBoxCenter.Value, FdBBoxSize.Value); |
| 415 |
end; |
| 416 |
|
| 417 |
procedure TReceiverPduNode.SetBBox(const Value: TBox3D); |
| 418 |
var |
| 419 |
ValueCenter, ValueSize: TVector3; |
| 420 |
begin |
| 421 |
Value.ToCenterSize(ValueCenter, ValueSize); |
| 422 |
FdBBoxCenter.Send(ValueCenter); |
| 423 |
FdBBoxSize.Send(ValueSize); |
| 424 |
end; |
| 425 |
|
| 426 |
class function TReceiverPduNode.ClassX3DType: String; |
| 427 |
begin |
| 428 |
Result := 'ReceiverPdu'; |
| 429 |
end; |
| 430 |
|
| 431 |
procedure TReceiverPduNode.CreateNode; |
| 432 |
begin |
| 433 |
inherited; |
| 434 |
|
| 435 |
FFdAddress := TSFString.Create(Self, True, 'address', 'localhost'); |
| 436 |
FdAddress.ChangeAlways := chVisibleNonGeometry; |
| 437 |
AddField(FFdAddress); |
| 438 |
|
| 439 |
FFdApplicationID := TSFInt32.Create(Self, True, 'applicationID', 1); |
| 440 |
FdApplicationID.ChangeAlways := chVisibleNonGeometry; |
| 441 |
AddField(FFdApplicationID); |
| 442 |
|
| 443 |
FFdEntityID := TSFInt32.Create(Self, True, 'entityID', 0); |
| 444 |
FdEntityID.ChangeAlways := chVisibleNonGeometry; |
| 445 |
AddField(FFdEntityID); |
| 446 |
|
| 447 |
FFdMulticastRelayHost := TSFString.Create(Self, True, 'multicastRelayHost', ''); |
| 448 |
FdMulticastRelayHost.ChangeAlways := chVisibleNonGeometry; |
| 449 |
AddField(FFdMulticastRelayHost); |
| 450 |
|
| 451 |
FFdMulticastRelayPort := TSFInt32.Create(Self, True, 'multicastRelayPort', 0); |
| 452 |
FdMulticastRelayPort.ChangeAlways := chVisibleNonGeometry; |
| 453 |
AddField(FFdMulticastRelayPort); |
| 454 |
|
| 455 |
FFdNetworkMode := TSFStringEnum.Create(Self, True, 'networkMode', @DISNetworkModeNames, Ord(High(DISNetworkModeNames)) + 1, Ord(nmStandAlone)); |
| 456 |
FdNetworkMode.ChangeAlways := chVisibleNonGeometry; |
| 457 |
AddField(FFdNetworkMode); |
| 458 |
|
| 459 |
FFdPort := TSFInt32.Create(Self, True, 'port', 0); |
| 460 |
FdPort.ChangeAlways := chVisibleNonGeometry; |
| 461 |
AddField(FFdPort); |
| 462 |
|
| 463 |
FFdRadioID := TSFInt32.Create(Self, True, 'radioID', 0); |
| 464 |
FdRadioID.ChangeAlways := chVisibleNonGeometry; |
| 465 |
AddField(FFdRadioID); |
| 466 |
|
| 467 |
FFdReadInterval := TSFFloat.Create(Self, True, 'readInterval', 0.1); |
| 468 |
FdReadInterval.ChangeAlways := chVisibleNonGeometry; |
| 469 |
FdReadInterval.MustBeNonnegative := true; |
| 470 |
AddField(FFdReadInterval); |
| 471 |
|
| 472 |
FFdReceivedPower := TSFFloat.Create(Self, True, 'receivedPower', 0.0); |
| 473 |
FdReceivedPower.ChangeAlways := chVisibleNonGeometry; |
| 474 |
FdReceivedPower.MustBeNonnegative := true; |
| 475 |
AddField(FFdReceivedPower); |
| 476 |
|
| 477 |
FFdReceiverState := TSFInt32.Create(Self, True, 'receiverState', 0); |
| 478 |
FdReceiverState.ChangeAlways := chVisibleNonGeometry; |
| 479 |
AddField(FFdReceiverState); |
| 480 |
|
| 481 |
FFdRtpHeaderExpected := TSFBool.Create(Self, True, 'rtpHeaderExpected', false); |
| 482 |
FdRtpHeaderExpected.ChangeAlways := chVisibleNonGeometry; |
| 483 |
AddField(FFdRtpHeaderExpected); |
| 484 |
|
| 485 |
FFdSiteID := TSFInt32.Create(Self, True, 'siteID', 0); |
| 486 |
FdSiteID.ChangeAlways := chVisibleNonGeometry; |
| 487 |
AddField(FFdSiteID); |
| 488 |
|
| 489 |
FFdTransmitterApplicationID := TSFInt32.Create(Self, True, 'transmitterApplicationID', 1); |
| 490 |
FdTransmitterApplicationID.ChangeAlways := chVisibleNonGeometry; |
| 491 |
AddField(FFdTransmitterApplicationID); |
| 492 |
|
| 493 |
FFdTransmitterEntityID := TSFInt32.Create(Self, True, 'transmitterEntityID', 0); |
| 494 |
FdTransmitterEntityID.ChangeAlways := chVisibleNonGeometry; |
| 495 |
AddField(FFdTransmitterEntityID); |
| 496 |
|
| 497 |
FFdTransmitterRadioID := TSFInt32.Create(Self, True, 'transmitterRadioID', 0); |
| 498 |
FdTransmitterRadioID.ChangeAlways := chVisibleNonGeometry; |
| 499 |
AddField(FFdTransmitterRadioID); |
| 500 |
|
| 501 |
FFdTransmitterSiteID := TSFInt32.Create(Self, True, 'transmitterSiteID', 0); |
| 502 |
FdTransmitterSiteID.ChangeAlways := chVisibleNonGeometry; |
| 503 |
AddField(FFdTransmitterSiteID); |
| 504 |
|
| 505 |
FFdWhichGeometry := TSFInt32.Create(Self, True, 'whichGeometry', 1); |
| 506 |
FdWhichGeometry.ChangeAlways := chVisibleNonGeometry; |
| 507 |
AddField(FFdWhichGeometry); |
| 508 |
|
| 509 |
FFdWriteInterval := TSFFloat.Create(Self, True, 'writeInterval', 1.0); |
| 510 |
FdWriteInterval.ChangeAlways := chVisibleNonGeometry; |
| 511 |
FdWriteInterval.MustBeNonnegative := true; |
| 512 |
AddField(FFdWriteInterval); |
| 513 |
|
| 514 |
FEventIsNetworkReader := TSFBoolEvent.Create(Self, 'isNetworkReader', false); |
| 515 |
AddEvent(FEventIsNetworkReader); |
| 516 |
|
| 517 |
FEventIsNetworkWriter := TSFBoolEvent.Create(Self, 'isNetworkWriter', false); |
| 518 |
AddEvent(FEventIsNetworkWriter); |
| 519 |
|
| 520 |
FEventIsRtpHeaderHeard := TSFBoolEvent.Create(Self, 'isRtpHeaderHeard', false); |
| 521 |
AddEvent(FEventIsRtpHeaderHeard); |
| 522 |
|
| 523 |
FEventIsStandAlone := TSFBoolEvent.Create(Self, 'isStandAlone', false); |
| 524 |
AddEvent(FEventIsStandAlone); |
| 525 |
|
| 526 |
FEventTimestamp := TSFTimeEvent.Create(Self, 'timestamp', false); |
| 527 |
AddEvent(FEventTimestamp); |
| 528 |
|
| 529 |
FFdBboxCenter := TSFVec3f.Create(Self, False, 'bboxCenter', Vector3(0, 0, 0)); |
| 530 |
FdBboxCenter.ChangeAlways := chVisibleNonGeometry; |
| 531 |
AddField(FFdBboxCenter); |
| 532 |
|
| 533 |
FFdBboxSize := TSFVec3f.Create(Self, False, 'bboxSize', Vector3(-1, -1, -1)); |
| 534 |
FdBboxSize.ChangeAlways := chVisibleNonGeometry; |
| 535 |
AddField(FFdBboxSize); |
| 536 |
end; |
| 537 |
|
| 538 |
{$endif read_implementation} |