root/vtcross/trunk/src/shell/shell_demo.cpp @ 214

Revision 214, 0.6 KB (checked in by bhilburn, 15 years ago)

Removed a file header that got copied over from PolicyEngine?.

Line 
1/* Virginia Tech Cognitive Radio Open Source Systems
2 * Virginia Tech, 2009
3 *
4 * TODO LICENSE INFORMATION GOES HERE
5 */
6
7/* TODO DESCRIPTION OF FILE.
8 */
9
10
11#include <cstdlib>
12#include <stdint.h>
13
14#include "vtcross/common.h"
15#include "vtcross/components.h"
16#include "vtcross/error.h"
17
18
19int32_t
20main(int32_t argc, char *argv[])
21{
22    if(argc < 3)
23       ERROR(1, "Usage: %s config_file primary_port policy_port command_port\n", argv[0]);
24   
25    CognitiveRadioShell cognitiveRadioShell(argv[1], atoi(argv[2]), atoi(argv[3]), atoi(argv[4]));
26
27    cognitiveRadioShell.StartShellServer();
28
29    return 0;
30}
31
Note: See TracBrowser for help on using the browser.