Debian Codegraph @

src/core/util_serial.h

raw symbols SCIP
1 /*----------------------------------------------------------------------------
2 ChucK Strongly-timed Audio Programming Language
3 Compiler, Virtual Machine, and Synthesis Engine
4
5 Copyright (c) 2003 Ge Wang and Perry R. Cook. All rights reserved.
6 http://chuck.stanford.edu/
7 http://chuck.cs.princeton.edu/
8
9 This program is free software; you can redistribute it and/or modify
10 it under the dual-license terms of EITHER the MIT License OR the GNU
11 General Public License (the latter as published by the Free Software
12 Foundation; either version 2 of the License or, at your option, any
13 later version).
14
15 This program is distributed in the hope that it will be useful and/or
16 interesting, but WITHOUT ANY WARRANTY; without even the implied warranty
17 of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 MIT Licence and/or the GNU General Public License for details.
19
20 You should have received a copy of the MIT License and the GNU General
21 Public License (GPL) along with this program; a copy of the GPL can also
22 be obtained by writing to the Free Software Foundation, Inc., 59 Temple
23 Place, Suite 330, Boston, MA 02111-1307 U.S.A.
24 -----------------------------------------------------------------------------*/
25
26 //-----------------------------------------------------------------------------
27 // file: util_serial.h
28 // desc: utility for serial I/O
29 //
30 // author: Spencer Salazar ([email protected])
31 // date: Summer 2012
32 //-----------------------------------------------------------------------------
33 #ifndef __UTIL_SERIAL_H__
34 #define __UTIL_SERIAL_H__
35
36 #include "chuck_def.h"
37
38 #include <vector>
39 #include <string>
40
41
42
43
44 //-----------------------------------------------------------------------------
45 // name: class SerialIOManager
46 // desc: serial I/O manager
47 //-----------------------------------------------------------------------------
48 class SerialIOManager
49 {
50 public:
51 static std::vector<std::string> availableSerialDevices();
52
53 private:
54 static std::vector<std::string> s_availableSerialDevices;
55 };
56
57
58
59
60 #endif /* __UTIL_SERIAL_H__ */