Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F25858598
LinearFunctionBlock.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Size
826 B
Referenced Files
None
Subscribers
None
LinearFunctionBlock.h
View Options
#ifndef LINEARFUNCTIONBLOCK_HEADERFILE
#define LINEARFUNCTIONBLOCK_HEADERFILE
#include
<vector>
#include
<string>
#include
"LinearFunction.h"
#include
"Module.h"
#include
"stdio.h"
using
namespace
std
;
class
LinearFunctionBlock
:
public
Module
{
private
:
//CHECK: list, vector or other container?
vector
<
LinearFunction
*>
vLinearFunctions
;
public
:
LinearFunctionBlock
();
LinearFunctionBlock
(
std
::
string
name
);
~
LinearFunctionBlock
();
bool
addLinearFunction
(
LinearFunction
*
linearFunction
);
//NOTE: Specific Function for CAH Project (DATE18)
void
changeFunctionBlockIncr
(
float
newBoundary
);
void
changeFunctionBlockDecr
(
float
newBoundary
);
vector
<
LinearFunction
*>&
get_all_LinearFunctions
();
float
getY
(
float
x
);
void
printFunctionBlock
(
std
::
string
name
);
};
#endif
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sat, Aug 29, 3:44 PM (1 d, 12 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
374982
Default Alt Text
LinearFunctionBlock.h (826 B)
Attached To
Mode
R20 SoC_Rosa_repo
Attached
Detach File
Event Timeline
Log In to Comment