Avionics
Dropship Simulator
Command Struct Reference

#include <Command.h>

Collaboration diagram for Command:
[legend]

Public Member Functions

 Command ()
 

Public Attributes

float delay
 wait number of seconds before executing command More...
 
std::string name
 command name More...
 
float timeOnStack
 only increments after the delay left is 0 More...
 
float ttl
 time to live in seconds (default is 10) More...
 
union {
   int   ivalue
 
   float   fvalue
 
   bool   bvalue
 
   char   svalue [64]
 
}; 
 
std::string guid
 

Detailed Description

Definition at line 5 of file Command.h.

Constructor & Destructor Documentation

◆ Command()

Command::Command ( )
inline

Definition at line 29 of file Command.h.

Member Data Documentation

◆ @1

union { ... }

◆ bvalue

bool Command::bvalue

Definition at line 23 of file Command.h.

◆ delay

float Command::delay

wait number of seconds before executing command

Definition at line 8 of file Command.h.

◆ fvalue

float Command::fvalue

Definition at line 22 of file Command.h.

◆ guid

std::string Command::guid

Definition at line 27 of file Command.h.

◆ ivalue

int Command::ivalue

Definition at line 21 of file Command.h.

◆ name

std::string Command::name

command name

Definition at line 11 of file Command.h.

◆ svalue

char Command::svalue[64]

Definition at line 24 of file Command.h.

◆ timeOnStack

float Command::timeOnStack

only increments after the delay left is 0

Definition at line 14 of file Command.h.

◆ ttl

float Command::ttl

time to live in seconds (default is 10)

Definition at line 17 of file Command.h.


The documentation for this struct was generated from the following file: