SOFA API  ca665544
Open source framework for multi-physics simuation
sofa::helper::system::MonitoredFile Class Reference

Public Attributes

FileEventListenerm_listener {nullptr}
 
string m_filename
 

Public Member Functions

 MonitoredFile (const string &filename, FileEventListener *listener)
 
 ~MonitoredFile ()
 
bool update ()
 
 MonitoredFile (const string &filename, FileEventListener *listener)
 
bool update ()
 

Attribute details

◆ m_filename

string sofa::helper::system::MonitoredFile::m_filename

◆ m_listener

FileEventListener * sofa::helper::system::MonitoredFile::m_listener {nullptr}

Constructor details

◆ MonitoredFile() [1/2]

sofa::helper::system::MonitoredFile::MonitoredFile ( const string &  filename,
FileEventListener listener 
)
inline

◆ ~MonitoredFile()

sofa::helper::system::MonitoredFile::~MonitoredFile ( )
inline

◆ MonitoredFile() [2/2]

sofa::helper::system::MonitoredFile::MonitoredFile ( const string &  filename,
FileEventListener listener 
)
inline

Function details

◆ update() [1/2]

bool sofa::helper::system::MonitoredFile::update ( )
inline

◆ update() [2/2]

bool sofa::helper::system::MonitoredFile::update ( )
inline