NTRT Simulator  v1.1
 All Classes Namespaces Files Functions Variables Typedefs Friends Pages
AppTetraSpineCol.cpp File Reference

Contains the definition function main() for the Tetra Spine Static application. More...

#include "TetraSpineCollisions.h"
#include "colSpineSine.h"
#include "Wall.h"
#include "core/tgModel.h"
#include "core/tgSimView.h"
#include "core/tgSimViewGraphics.h"
#include "core/tgSimulation.h"
#include "core/tgWorld.h"
#include "core/terrain/tgHillyGround.h"
#include "examples/learningSpines/tgCPGLogger.h"
#include <iostream>

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 

Detailed Description

Contains the definition function main() for the Tetra Spine Static application.

Author
Brian Mirletz

Definition in file AppTetraSpineCol.cpp.

Function Documentation

int main ( int  argc,
char **  argv 
)

The entry point.

Parameters
[in]argcthe number of command-line arguments
[in]argvargv[0] is the executable name; argv[1], if supplied, is the suffix for the controller
Returns
0
Todo:
Does the model assume ownership of the controller?

No - a single controller could be attached to multiple subjects However, having this here causes a segfault, since there is a call to onTeardown() when the simulation is deleted

Definition at line 50 of file AppTetraSpineCol.cpp.