Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F28203400
SlaveAgentHandlerOfAgent.h
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
SlaveAgentHandlerOfAgent.h
View Options
#ifndef SLAVEAGENTHANDLEROFAGENT_HEADERFILE
#define SLAVEAGENTHANDLEROFAGENT_HEADERFILE
#include
"SlaveAgentSlotOfAgent.h"
#include
"Unit.h"
#include
<vector>
using
namespace
std
;
class
SlaveAgentHandlerOfAgent
:
public
Unit
{
private
:
//TODO: set- and get function for maxNumOf_mountedSlaveAgents;
vector
<
SlaveAgentSlotOfAgent
*>
vMountedSlaveAgents
;
unsigned
int
maxNumOfMountedSlaveAgents
;
void
initSlaveAgentHandler
();
public
:
SlaveAgentHandlerOfAgent
();
bool
mount_slaveAgentIntoSlaveAgentSlot
(
Channel
*
inputPort
);
SlaveAgentSlotOfAgent
*
get_slaveAgentSlotAddress
(
Channel
*
inputPort
);
unsigned
int
get_slaveAgentSlotNumber
(
Channel
*
inputPort
);
SlaveAgentSlotOfAgent
*
get_slaveAgentSlotAddress
(
HistoryModule
*
history
);
SlaveAgentSlotOfAgent
*
get_slaveAgentSlotAddress
(
ConfidenceModule
*
confidenceModule
);
bool
demount_slaveAgentIntoSlaveAgentSlot
(
Channel
*
inputPort
);
bool
read_slaveAgentValue
(
SlaveAgentSlotOfAgent
*
slaveAgentSlot
);
bool
read_allSlaveAgentValues
();
bool
attach_historyModule
(
Channel
*
inputPort
,
HistoryModule
*
historyModule
);
bool
detach_historyModule
(
SlaveAgentSlotOfAgent
*
slaveAgentSlotOfAgent
);
bool
detach_historyModule
(
Channel
*
inputPort
);
bool
detach_historyModule
(
HistoryModule
*
historyModule
);
HistoryModule
*
get_historyModuleOfSlaveAgentSlot
(
Channel
*
inputPort
);
bool
attach_confidenceModule
(
Channel
*
inputPort
,
ConfidenceModule
*
confidenceModule
);
bool
detach_confidenceModule
(
SlaveAgentSlotOfAgent
*
slaveAgentSlotOfAgent
);
bool
detach_confidenceModule
(
Channel
*
inputPort
);
bool
detach_confidenceModule
(
ConfidenceModule
*
confidenceModule
);
ConfidenceModule
*
get_confidenceModuleOfSlaveAgentSlot
(
Channel
*
inputPort
);
vector
<
SlaveAgentSlotOfAgent
*>*
get_vMountedSlaveAgents
();
bool
saveValueInHistory
(
SlaveAgentSlotOfAgent
*
slaveAgentSlotOfAgent
);
bool
saveAllValuesInHistory
();
};
#endif
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Fri, Nov 20, 10:08 PM (1 d, 4 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
421569
Default Alt Text
SlaveAgentHandlerOfAgent.h (1 KB)
Attached To
Mode
R20 SoC_Rosa_repo
Attached
Detach File
Event Timeline