Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F28205801
SystemStateDetector.hpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
SystemStateDetector.hpp
View Options
//===-- rosa/agent/SystemStateDetector.hpp ----------------------*- C++ -*-===//
//
// The RoSA Framework
//
//===----------------------------------------------------------------------===//
///
/// \file rosa/agent/SystemStateDetector.hpp
///
/// \author Maximilian Götzinger (maximilian.goetzinger@tuwien.ac.at)
///
/// \date 2019
///
/// \brief Definition of *system state detector* *functionality*.
///
//===----------------------------------------------------------------------===//
#ifndef ROSA_AGENT_SYSTEMSTATEDETECTOR_HPP
#define ROSA_AGENT_SYSTEMSTATEDETECTOR_HPP
#include
"rosa/agent/Functionality.h"
#include
"rosa/agent/History.hpp"
#include
<type_traits>
namespace
rosa
{
namespace
agent
{
/// TODO TEXT
template
<
typename
CONFDATATYPE
,
HistoryPolicy
HP
>
class
SystemStateDetector
:
public
Functionality
{
/* //TODO: STATIC_ASSERT
// Make sure the actual type arguments are matching our expectations.
STATIC_ASSERT(std::is_arithmetic<CONFDATATYPE>::value,
"confidence abstraction type is not to arithmetic");
*/
private
:
unsigned
int
NextSignalStateID
;
bool
SystemStateHasChanged
;
// DynamicLengthHistory<SignalStatePtr, HP> DetectedSignalStates;
public
:
SystemStateDetector
()
:
NextSignalStateID
(
1
)
{}
};
}
// End namespace agent
}
// End namespace rosa
#endif
// ROSA_AGENT_SYSTEMSTATEDETECTOR_HPP
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Fri, Nov 20, 11:19 PM (8 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
412775
Default Alt Text
SystemStateDetector.hpp (1 KB)
Attached To
Mode
R20 SoC_Rosa_repo
Attached
Detach File
Event Timeline