Monitor(
std::string shmId,
bool selfDestruct,
bool interactive,
bool viewOnly,
unsigned int timeoutInMS,
unsigned int intervalInMS,
bool runAsDaemon,
bool cleanOnExit
)No comment in the header yet.
API · fair::mq::shmem
No comment in the header yet.
DaemonPresentstructMonitorErrorstructMonitor(
std::string shmId,
bool selfDestruct,
bool interactive,
bool viewOnly,
unsigned int timeoutInMS,
unsigned int intervalInMS,
bool runAsDaemon,
bool cleanOnExit
)No comment in the header yet.
Monitor(const Monitor&) = deleteNo comment in the header yet.
Monitor(Monitor&&) = deleteNo comment in the header yet.
Monitor& operator=(const Monitor&) = deleteNo comment in the header yet.
Monitor& operator=(Monitor&&) = deleteNo comment in the header yet.
virtual ~Monitor()No comment in the header yet.
void CatchSignals()No comment in the header yet.
void Run()No comment in the header yet.
static std::vector<std::pair<std::string, bool>> Cleanup(
const ShmId& shmId,
bool verbose = true
)Cleanup all shared memory artifacts created by devices.
shmIdverbosestatic std::vector<std::pair<std::string, bool>> Cleanup(
const SessionId& sessionId,
bool verbose = true
)Cleanup all shared memory artifacts created by devices.
sessionIdverbosestatic std::vector<std::pair<std::string, bool>> CleanupFull(
const ShmId& shmId,
bool verbose = true
)Cleanup all shared memory artifacts created by devices and monitors.
shmIdverbosestatic std::vector<std::pair<std::string, bool>> CleanupFull(
const SessionId& sessionId,
bool verbose = true
)Cleanup all shared memory artifacts created by devices and monitors.
sessionIdverbosestatic void ResetContent(const ShmId& shmId, bool verbose = true)[EXPERIMENTAL] cleanup the content of the shem segment, without recreating it
shmIdstatic void ResetContent(const SessionId& sessionId, bool verbose = true)[EXPERIMENTAL] cleanup the content of the shem segment, without recreating it
sessionIdstatic void ResetContent(
const ShmId& shmId,
const std::vector<SegmentConfig>& segmentCfgs,
const std::vector<RegionConfig>& regionCfgs,
bool verbose = true
)[EXPERIMENTAL] cleanup the content of the shem segment, without recreating it
shmIdstatic void ResetContent(
const SessionId& sessionId,
const std::vector<SegmentConfig>& segmentCfgs,
const std::vector<RegionConfig>& regionCfgs,
bool verbose = true
)[EXPERIMENTAL] cleanup the content of the shem segment, without recreating it
sessionIdstatic void PrintDebugInfo(const ShmId& shmId)Outputs list of messages in shmem (if compiled with FAIRMQ_DEBUG_MODE=ON)
shmIdstatic void PrintDebugInfo(const SessionId& sessionId)Outputs list of messages in shmem (if compiled with FAIRMQ_DEBUG_MODE=ON)
sessionIdstatic std::unordered_map<uint16_t, std::vector<BufferDebugInfo>> GetDebugInfo(const ShmId& shmId)Returns a list of messages in shmem (if compiled with FAIRMQ_DEBUG_MODE=ON)
shmIdstatic std::unordered_map<uint16_t, std::vector<BufferDebugInfo>> GetDebugInfo(const SessionId& sessionId)Returns a list of messages in shmem (if compiled with FAIRMQ_DEBUG_MODE=ON)
sessionIdstatic unsigned long GetFreeMemory(const ShmId& shmId, uint16_t segmentId)Returns the amount of free memory in the specified segment.
shmIdsegmentIdMonitorError throwsstatic unsigned long GetFreeMemory(
const SessionId& sessionId,
uint16_t segmentId
)Returns the amount of free memory in the specified segment.
sessionIdsegmentIdMonitorError throwsstatic bool SegmentIsPresent(const ShmId& shmId, uint16_t segmentId)Checks if a given segment can be opened.
shmIdsegmentIdstatic bool SegmentIsPresent(const SessionId& sessionId, uint16_t segmentId)Checks if a given segment can be opened.
sessionIdsegmentIdstatic bool RegionIsPresent(const ShmId& shmId, uint16_t regionId)Checks if a given region can be opened.
shmIdregionIdstatic bool RegionIsPresent(const SessionId& sessionId, uint16_t regionId)Checks if a given region can be opened.
sessionIdregionIdstatic bool PrintShm(const ShmId& shmId)No comment in the header yet.
static void ListAll(const std::string& path)No comment in the header yet.
static bool RemoveObject(const std::string& name)No comment in the header yet.
static bool RemoveFileMapping(const std::string& name)No comment in the header yet.
static bool RemoveQueue(const std::string& name)No comment in the header yet.
static bool RemoveMutex(const std::string& name)No comment in the header yet.
static bool RemoveCondition(const std::string& name)No comment in the header yet.