VR-Forces 4.10 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvLocalMS
DtPlatformFuelElement.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2012 VT-MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrvLocalMS/vrvLocalMS.h
>
13
#include <
vrvVideoStream/DtMetadataElement.h
>
14
15
#include <vlutil/vlNetTypes.h>
16
17
namespace
makVrv
18
{
19
class
DtPlatformFuelElement
:
public
DtMetadataElement
20
{
21
public
:
22
DtPlatformFuelElement
();
23
virtual
~DtPlatformFuelElement
();
24
25
virtual
unsigned
int
encodedLength
();
26
virtual
unsigned
char
*
encode
(
unsigned
char
* buffer);
27
28
virtual
void
decode
(
unsigned
char
* buffer,
unsigned
int
length);
29
30
double
fuelRemaining
();
31
void
setFuelRemaining
(
double
val);
32
33
protected
:
34
virtual
void
update
();
35
36
DtNetU16
myFuelRemaining
;
37
};
38
}
makVrv::DtPlatformFuelElement::encodedLength
virtual unsigned int encodedLength()
Get the encoded length of this metadata element.
makVrv::DtPlatformFuelElement
Definition:
DtPlatformFuelElement.h:19
vrvLocalMS.h
Contains DLL export macros.
makVrv::DtPlatformFuelElement::decode
virtual void decode(unsigned char *buffer, unsigned int length)
Decode the metadata element; not curently implemented in VR-Vantage.
makVrv::DtPlatformFuelElement::DtPlatformFuelElement
DtPlatformFuelElement()
makVrv::DtPlatformFuelElement::setFuelRemaining
void setFuelRemaining(double val)
makVrv::DtMetadataElement
DtMetadataElement is an abstract class that defines the interface common to all metadata elements...
Definition:
DtMetadataElement.h:22
makVrv::DtPlatformFuelElement::fuelRemaining
double fuelRemaining()
makVrv::DtPlatformFuelElement::myFuelRemaining
DtNetU16 myFuelRemaining
Definition:
DtPlatformFuelElement.h:36
makVrv::DtPlatformFuelElement::update
virtual void update()
Update the metadata element.
makVrv::DtPlatformFuelElement::~DtPlatformFuelElement
virtual ~DtPlatformFuelElement()
makVrv::DtPlatformFuelElement::encode
virtual unsigned char * encode(unsigned char *buffer)
Encode the metadata element.
DtMetadataElement.h
Contains the DtMetadataElement class declaration.
Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (
www.mak.com
)