Classes | Functions | Variables
avonstage.cc File Reference
#include <getopt.h>
#include <avon.h>
#include "stage.hh"
#include "config.h"
Include dependency graph for avonstage.cc:

Go to the source code of this file.

Classes

class  Reg
 

Functions

int FiducialData (Stg::Model *mod, av_msg_t *data)
 
int FiducialGet (Stg::Model *mod, av_msg_t *msg)
 
int FiducialSet (Stg::Model *mod, av_msg_t *data)
 
int GetModelGeom (Stg::Model *mod, av_geom_t *g)
 
int GetModelPVA (Stg::Model *mod, av_pva_t *pva)
 
uint64_t GetTime (Stg::Model *mod)
 
uint64_t GetTimeWorld (Stg::World *world)
 
int main (int argc, char *argv[])
 
int RangerData (Stg::Model *mod, av_msg_t *data)
 
int RangerGet (Stg::Model *mod, av_msg_t *data)
 
int RangerSet (Stg::Model *mod, av_msg_t *data)
 
int RegisterModel (Stg::Model *mod, void *dummy)
 
int SetModelGeom (Stg::Model *mod, av_geom_t *g)
 
int SetModelPVA (Stg::Model *mod, av_pva_t *p)
 

Variables

const char * AVONSTAGE_VERSION = "1.0.0"
 
static struct option longopts []
 
std::pair< std::string, av_interface_t > proto_iface_pair_t
 
const char * USAGE
 

Function Documentation

int FiducialData ( Stg::Model mod,
av_msg_t *  data 
)

Definition at line 276 of file avonstage.cc.

int FiducialGet ( Stg::Model mod,
av_msg_t *  msg 
)

Definition at line 334 of file avonstage.cc.

int FiducialSet ( Stg::Model mod,
av_msg_t *  data 
)

Definition at line 325 of file avonstage.cc.

int GetModelGeom ( Stg::Model mod,
av_geom_t *  g 
)

Definition at line 129 of file avonstage.cc.

int GetModelPVA ( Stg::Model mod,
av_pva_t *  pva 
)

Definition at line 61 of file avonstage.cc.

uint64_t GetTime ( Stg::Model mod)

Definition at line 55 of file avonstage.cc.

uint64_t GetTimeWorld ( Stg::World world)

Definition at line 49 of file avonstage.cc.

int main ( int  argc,
char *  argv[] 
)

Definition at line 438 of file avonstage.cc.

int RangerData ( Stg::Model mod,
av_msg_t *  data 
)

Definition at line 150 of file avonstage.cc.

int RangerGet ( Stg::Model mod,
av_msg_t *  data 
)

Definition at line 192 of file avonstage.cc.

int RangerSet ( Stg::Model mod,
av_msg_t *  data 
)

Definition at line 184 of file avonstage.cc.

int RegisterModel ( Stg::Model mod,
void *  dummy 
)

Definition at line 387 of file avonstage.cc.

int SetModelGeom ( Stg::Model mod,
av_geom_t *  g 
)

Definition at line 110 of file avonstage.cc.

int SetModelPVA ( Stg::Model mod,
av_pva_t *  p 
)

Definition at line 92 of file avonstage.cc.

Variable Documentation

const char* AVONSTAGE_VERSION = "1.0.0"

Definition at line 16 of file avonstage.cc.

struct option longopts[]
static
Initial value:
= {
{ "gui", optional_argument, NULL, 'g' },
{ "clock", optional_argument, NULL, 'c' },
{ "help", optional_argument, NULL, 'h' },
{ "args", required_argument, NULL, 'a' },
{ "verbose", no_argument, NULL, 'v' },
{ "port", required_argument, NULL, 'p' },
{ "host", required_argument, NULL, 'h' },
{ "rootdir", required_argument, NULL, 'r' },
{ NULL, 0, NULL, 0 }
}

Definition at line 35 of file avonstage.cc.

std::pair<std::string,av_interface_t> proto_iface_pair_t

Definition at line 385 of file avonstage.cc.

const char* USAGE
Initial value:
=
"USAGE: stage [options] <worldfile1> [worldfile2 ... worldfileN]\n"
"Available [options] are:\n"
" --clock : print simulation time peridically on standard output\n"
" -c : equivalent to --clock\n"
" --gui : run without a GUI\n"
" -g : equivalent to --gui\n"
" --help : print this message\n"
" --args \"str\" : define an argument string to be passed to all controllers\n"
" -a \"str\" : equivalent to --args \"str\"\n"
" --host \"str\" : set the http server host name (default: \"localhost\")\n"
" --port num : set the http sever port number (default: 8000)\n"
" --verbose : provide lots of informative output\n"
" -v : equivalent to --verbose\n"
" -? : equivalent to --help\n"

Definition at line 18 of file avonstage.cc.



stage
Author(s): Richard Vaughan , Brian Gerkey , Reed Hedges , Andrew Howard , Toby Collett , Pooya Karimian , Jeremy Asher , Alex Couture-Beil , Geoff Biggs , Rich Mattes , Abbas Sadat
autogenerated on Mon Jun 10 2019 15:06:10