Home
Roadside
Carputer
geoHist
software
FRC
Blog
Now you can download a copy of these docs so you can use them offline!
Download now
Main Page
Related Pages
Classes
Files
File List
Vision
IntCameraParameter.h
1
/*----------------------------------------------------------------------------*/
2
/* Copyright (c) FIRST 2008. All Rights Reserved. */
3
/* Open Source Software - may be modified and shared by FRC teams. The code */
4
/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
5
/*----------------------------------------------------------------------------*/
6
7
#ifndef __INT_CAMERA_PARAMETER_H__
8
#define __INT_CAMERA_PARAMETER_H__
9
10
#include <vxWorks.h>
11
16
class
IntCameraParameter
17
{
18
protected
:
19
const
char
*m_setString;
20
const
char
*m_getString;
21
bool
m_changed;
22
bool
m_requiresRestart;
23
int
m_value;
// parameter value
24
25
int
SearchForParam
(
const
char
*pattern,
const
char
*searchString,
int
searchStringLen,
char
*result);
26
27
public
:
28
IntCameraParameter
(
const
char
*setString,
const
char
*getString,
bool
requiresRestart);
29
virtual
~
IntCameraParameter
(){}
30
int
GetValue
();
31
void
SetValue
(
int
value);
32
virtual
bool
CheckChanged
(
bool
&changed,
char
*param);
33
virtual
void
GetParamFromString
(
const
char
*
string
,
int
stringLength);
34
};
35
36
#endif
IntCameraParameter
Definition:
IntCameraParameter.h:16
IntCameraParameter::GetValue
int GetValue()
Definition:
IntCameraParameter.cpp:30
IntCameraParameter::SearchForParam
int SearchForParam(const char *pattern, const char *searchString, int searchStringLen, char *result)
Definition:
IntCameraParameter.cpp:85
IntCameraParameter::SetValue
void SetValue(int value)
Definition:
IntCameraParameter.cpp:40
IntCameraParameter::IntCameraParameter
IntCameraParameter(const char *setString, const char *getString, bool requiresRestart)
Definition:
IntCameraParameter.cpp:17
IntCameraParameter::GetParamFromString
virtual void GetParamFromString(const char *string, int stringLength)
Definition:
IntCameraParameter.cpp:70
IntCameraParameter::CheckChanged
virtual bool CheckChanged(bool &changed, char *param)
Definition:
IntCameraParameter.cpp:52
Generated on Sat Apr 26 2014 12:26:45 for WPILibC++ by
1.8.6
© 2006-2009 Dustin Spicuzza. All rights reserved.
Powered by Onnac
I do not condone or encourage graffiti. Please paint responsibly.